Basic spam filtering in postfix
- From: Mauricio Tavares <uce@xxxxxxx>
- Date: Thu, 21 Jul 2005 11:30:22 -0400
I was starting to set some basic spam control in our mail server (postifx in RHEL 3). So, based on http://www.unixwiz.net/techtips/postfix-HELO.html and http://www.freesoftwaremagazine.com/free_issues/issue_02/focus_spam_postfix/, I added to main.cf:
smtpd_delay_reject = yes
smtpd_helo_required = yes
smtpd_helo_restrictions =
permit_mynetworks,
warn_if_reject,
reject_non_fqdn_hostname,
reject_invalid_hostname,
check_helo_access
hash:/etc/postfix/helo_access,
permitWhere helo_access looks like this:
domain.com REJECT You do not belong to our domain
But, the last spam message I got claims to have a return path of info@xxxxxxxxxx and is addressed to sales@xxxxxxxxxx, a non-existent account. Why wasn't it dropped?
-- Mauricio raub-kudria-com (if you need to email me, use this address =) .
- Prev by Date: Re: mail client eating =23 characters, solaris/linux
- Next by Date: client that can run perl or php on message body?
- Previous by thread: mail client eating =23 characters, solaris/linux
- Next by thread: client that can run perl or php on message body?
- Index(es):