Relay Access denied
Hello, i just setted up a new linux (ubuntu debian) box and i am able to download my emails from the servers, but i am not able to send email from the server(using outlook)... Whenever i send something it returns with this message:
Your message did not reach some or all of the intended recipients.
Sent: 18/09/2007 18:12
The following recipient(s) cannot be reached:
'firstname.lastname@example.org' on 18/09/2007 18:12
554 <email@example.com>: Relay access denied
I am running Dovecot and postfix.... i dont know what i missed out
Can you send an email to yourself?
I just had this same problem and my postfix server would only allow my to send emails to my own domain.
To allow the smtp (postfix) server to relay messages to other domains I had to add these lines to my /etc/postfix/main.cf
smtpd_sasl_auth_enable = yes
smtpd_client_restrictions = permit_mynetworks, permit_sasl_authenticated
smtpd_sender_restrictions = permit_mynetworks, permit_sasl_authenticated
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
This will require you to authenticate yourself when you send mail. Once authenticated you can relay (send) to any domain.
Hope this helps. I spent a while pulling my hair out!!