View Single Post
  #11  
Old 4th January 2013, 15:31
webguyz webguyz is offline
Member
 
Join Date: Oct 2012
Location: Earth
Posts: 76
Thanks: 26
Thanked 5 Times in 5 Posts
Default

Quote:
Originally Posted by mylifenp View Post
You need to relay the mails you are sending using your ISPs smtp. Add these two lines in your main.cf 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/mysql-virtual_recipient.cf, 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.
The only problem is if you do this then your ISP will get totally ticked off at you when his IP's get blacklisted and then you really have a problem.

Is there any mechanism in ispConfig mail system that can activiated if its sees more then x emails per minute it then shoots an email to admin to warm them to take a closer look?
__________________
= WebGuyz.Net =
VPS and Web Hosting
Reply With Quote
Sponsored Links