Struggling with Postfix as Relay host

I’m struggling to get the Postfix setup as relay host to route all local emails via my mail server. As far as I understand I’ve done everything as per the book & checked everything twice over.

Latest FreePBX distro Install.

I’m using “mail [email protected]” command to send test email which throws the following output.

output of maillog

[root@ast4 postfix]# tail -f /var/log/maillog
Aug 2 22:01:45 ast4 postfix/pickup[15287]: DB9FB9064: uid=0 from=
Aug 2 22:01:45 ast4 postfix/cleanup[15310]: DB9FB9064: message-id=[email protected]
Aug 2 22:01:45 ast4 postfix/qmgr[15288]: DB9FB9064: from=[email protected], size=436, nrcpt=1 (queue active)
Aug 2 22:01:48 ast4 postfix/smtp[15312]: DB9FB9064: to=[email protected], relay=mail.mydomainxxx.net[44.44.444.444]:25, delay=2.4, delays=0.01/0.02/2/0.41, dsn=5.0.0, status=bounced (host mail.mydomainxxx.net[44.xx.xxx.xx] said: 550-Please turn on SMTP Authentication in your mail client. 550-li2028-12.members.linode.com (ast4.mydomainxxx.net) [172.xxx.xx.xx]:34866 is not 550 permitted to relay through this server without authentication. (in reply to RCPT TO command))
Aug 2 22:01:48 ast4 postfix/cleanup[15310]: 81E5F9066: message-id=[email protected]
Aug 2 22:01:48 ast4 postfix/bounce[15314]: DB9FB9064: sender non-delivery notification: 81E5F9066
Aug 2 22:01:48 ast4 postfix/qmgr[15288]: 81E5F9066: from=<>, size=2655, nrcpt=1 (queue active)
Aug 2 22:01:48 ast4 postfix/qmgr[15288]: DB9FB9064: removed
Aug 2 22:01:48 ast4 postfix/local[15315]: 81E5F9066: to=[email protected], relay=local, delay=0.01, delays=0/0.01/0/0, dsn=2.0.0, status=sent (delivered to mailbox)
Aug 2 22:01:48 ast4 postfix/qmgr[15288]: 81E5F9066: removed
^C

main.cf has the follow:

smtp_generic_maps = hash:/etc/postfix/generic
smtp_tls_security_level = may
meta_directory = /etc/postfix
shlib_directory = /usr/lib64/postfix
sender_dependent_relayhost_maps = hash:/etc/postfix/sender_dependent_relayhost
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/smtp_auth
smtp_sasl_security_options = noanonymous
smtp_sender_dependent_authentication = yes
sender_bcc_maps = hash:/etc/postfix/sender_bcc

generic has this

[email protected] [email protected]
root [email protected]
root@localhost [email protected]
[email protected] [email protected]
root@freepbx [email protected]
[email protected] [email protected]
asterisk [email protected]
asterisk@localhost [email protected]
[email protected] [email protected]
asterisk@freepbx [email protected]
[email protected] [email protected]
vm@asterisk [email protected]
asterisk@ [email protected]

Any help is greatly appreciated.
Thanks

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.