View Single Post
Old 3rd January 2013, 23:29
mylifenp mylifenp is offline
Junior Member
Join Date: Jan 2013
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default You need to set relay host

You need to relay the mails you are sending using your ISPs smtp. Add these two lines in your in /etc/postfix

broken_sasl_auth_clients = yes
smtp_sasl_security_options =
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd <------
smtp_always_send_ehlo = yes
relayhost = smtp.yourisp.tld
smtpd_sasl_authenticated_header = yes
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, check_recipient_access mysql:/etc/postfix/, reject_unauth_destination

Then 'create /etc/postfix/sasl_passwd' and add these lines
smtp.yourisp.tld user@yourisp.tld:Password

If your ISPs SMTP server doesn't require authentification than you won't need to add 'smtp_sasl_password_maps .....' line and won't have to create 'sasl_passwd' file.

Hope this helps you.
Reply With Quote