postfix and header_checks

Charlie Farinella cfarinella at appropriatesolutions.com
Thu Sep 27 09:51:21 EDT 2007


On Wednesday 26 September 2007, Paul Lussier wrote:
> Paul Lussier <p.lussier at comcast.net> writes:
> 
> > Hi all,
> >
> > Does anyone here use postfix's header_checks or body_checks maps as 
a
> > spam-prevention mechanism?
> 
> Actually, it strikes me that I don't necessarilly want header_checks,
> but rather to reject on empty and forged From addresses.  Sigh.  Guess
> I'll have to actually go dig out my postfix book from under all the
> clutter :)

Does this help?



########### Postfix Reject Rules!!! #############
strict_rfc821_envelopes = yes
smtpd_delay_reject = yes
smtpd_helo_required = yes
smtpd_helo_restrictions =
        permit_mynetworks,
        check_helo_access
                hash:/etc/postfix/helo_access,
        reject_non_fqdn_hostname,
        reject_invalid_hostname,
        permit


--charlie

-- 
------------------------------------------------------------------------
Charles Farinella 
Appropriate Solutions, Inc. (www.AppropriateSolutions.com)
cfarinella at AppropriateSolutions.com
voice: 603.924.6079   fax: 603.924.8668



More information about the gnhlug-discuss mailing list