Re: Spam filter

Morten Nilsen <[email protected]>
Newsgroups gmane.linux.trustix.general
Message-ID <[email protected]>
Ariën Huisken wrote:
> I just put in my main.cf:

With these rules, I get next to no spam..

smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
smtpd_sasl_tls_security_options = $smtpd_sasl_security_options
smtpd_tls_auth_only = no
smtpd_sasl_local_domain =

smtpd_delay_reject = yes
smtpd_helo_required = yes
smtpd_helo_restrictions =
  reject_non_fqdn_hostname,
  reject_invalid_hostname,
  permit

smtpd_sender_restrictions =
  permit_sasl_authenticated,
  reject_non_fqdn_sender,
  reject_unknown_sender_domain,
  permit

smtpd_recipient_restrictions =
  reject_unauth_pipelining,
  reject_non_fqdn_recipient,
  reject_unknown_recipient_domain,
  permit_mynetworks,
  permit_sasl_authenticated,
  reject_unauth_destination,
  check_recipient_access hash:/etc/postfix/recipient_access,
  check_helo_access hash:/etc/postfix/secondary_mx_access,
  reject_rbl_client sbl-xbl.spamhaus.org,
  reject_rbl_client dnsbl.njabl.org,
  reject_rbl_client relays.ordb.org,
  reject_rbl_client cn.rbl.cluecentral.net,
  check_policy_service inet:127.0.0.1:2501
  warn_if_reject,
  check_policy_service unix:private/policy
  permit


content_filter=smtp-amavis:[127.0.0.1]:10024


I use amavis primarily to get rid of virii, but it does catch a few of
the spams that get through the mine field..

-- 
Cheers,
Morten
:wq
_______________________________________________
tsl-discuss mailing list
[email protected]
http://lists.trustix.org/mailman/listinfo/tsl-discuss
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.