NXLog and local mail server (postfix) issues


#1 Konstantinos12 (Last updated )

Hello everyone,

New to NXlog, doing the trial now and on setup I have encountered an issue with setting up the mail server and stuck there… 

It is a ubuntu server (AWS EC2) with postfix installed that relays to google.

Postfix works as when trying: echo "This is the body of the email" | mail -s "This is the subject line" user@ourdomain.com -r nxlog@ourdomain.com - I get the email, not an issue.

When I go to the mail server config of the web UI I always get “Failed to send email”, also the same when I try to change the email or password. I see nothing in the mail log so it seems it is not even trying to send the email?

The settings I try are:

  • Host: 127.0.0.1
  • Port: 25
  • Sender: nxlog@ourdomain.com
  • Username/Password: (empty) - as we don't auth for the local interface, this is just a local relay 

Any advice on how to proceed since I'm stuck on this step… :( 

Thank you!