greenovni
14th July 2009, 20:20
I am running ISPConfig2 on Centos 5.3 & everything is working great so far. I used the perfect server set up.
I have searched the forum for a way to stop spam from coming into my inboxes and can't find one.
Anyone know how I can stop spam? I am not sure if spamassasin is working correctly.
Any help would be greatly appreciated.
I have running ispconfig 2.2.32
commentator
14th July 2009, 21:34
Hi,
read this howto's :):
http://www.howtoforge.com/block_spam_at_mta_level_postfix
http://www.howtoforge.com/adding-and-updating-spamassassin-rulesets-with-rulesdujour
http://www.howtoforge.com/learning-spam-with-spamassassin-and-all-of-your-ispconfig-clients-ispconfig2
abix_adamj
15th July 2009, 01:17
And change your /etc/postfix/main.cf:
smtpd_sender_restrictions =
permit_sasl_authenticated,
reject_unknown_sender_domain
reject_invalid_hostname,
reject_non_fqdn_sender,
reject_non_fqdn_recipient,
reject_unknown_sender_domain,
reject_unknown_recipient_domain,
reject_rbl_client b.barracudacentral.org,
reject_rbl_client bl.spamcop.net,
reject_rbl_client sbl-xbl.spamhaus.org,
reject_rbl_client zen.spamhaus.org,
permit_mynetworks,reject_unauth_destination
smtpd_recipient_restrictions =
permit_sasl_authenticated,
reject_invalid_hostname,
reject_non_fqdn_sender,
reject_non_fqdn_recipient,
reject_unknown_sender_domain,
reject_unknown_recipient_domain,
reject_rbl_client b.barracudacentral.org,
reject_rbl_client bl.spamcop.net,
reject_rbl_client sbl-xbl.spamhaus.org,
reject_rbl_client zen.spamhaus.org,
permit_mynetworks,reject_unauth_destination
For my site, reject of SPAM is about 99,95% ;-)
Adam
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.