Friday, August 29, 2008

Spam Protection Setting For Postfix

Spam Protection Setting For Postfix

edit or update in Postfix main.cf. For Centos, Redhat and Fedora it's will be in /etc/postfix

#-- start of setting

smtpd_recipient_restrictions =
reject_unauth_destination,
reject_invalid_hostname,
reject_non_fqdn_hostname,
reject_non_fqdn_sender,
reject_non_fqdn_recipient,
reject_unknown_sender_domain,
reject_unknown_recipient_domain,
reject_unknown_recipient_domain,
reject_unauth_pipelining,
reject_non_fqdn_recipient,
check_policy_service inet:127.0.0.1:2501

smtpd_helo_required = yes

#--- end of setting

The setting for check_policy_service inet:127.0.0.1:2501 is for Sqlgrey that can be refer here.

http://sqlgrey.sourceforge.net/
Post a Comment

Today Notes Blog About Linux Open Source Computer Internet

comments powered by Disqus

Popular Posts