Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 4th January 2013, 16:31
webguyz webguyz is offline
Senior Member
Join Date: Oct 2012
Location: Earth
Posts: 144
Thanks: 38
Thanked 18 Times in 15 Posts

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?
Reply With Quote
Sponsored Links


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix/courier/Centos 6 cant send email to external email servers maxtorzito Installation/Configuration 14 7th October 2011 11:56
Sending email issue lezelf Installation/Configuration 15 9th August 2011 12:20
Can't receive mails baicunko Server Operation 12 3rd August 2011 23:02
ERROR: Connection dropped by IMAP server. [Centos 5.4, courier imap,squirrel, etc] darevil HOWTO-Related Questions 7 9th June 2010 15:49
amavis & ispconfig 3 yalex2000 Installation/Configuration 20 18th February 2010 18:02

All times are GMT +2. The time now is 20:59.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.