amavis whitelist rescipient address match

Mark Martinec Mark.Martinec+amavis at ijs.si
Mon May 30 20:13:35 CEST 2011


> What address does amavis use for whitelisting? To field or envelope?

Both since 2.6.0.  Before that only the envelope sender address was used.


amavisd-new-2.6.0 release notes:

- white and blacklisting now takes into account both the SMTP envelope
  sender address, as well as the author address from a header section
  (address(es) in a 'From:' header field). Note that whitelisting
  based only on a sender-specified address is mostly useless nowadays.
  For a reliable whitelisting see @author_to_policy_bank_maps below,
  as well as a set of whitelisting possibilities in SpamAssassin (based
  on DKIM, SPF, or on Received header fields);


> For Instance, given this email, what address would match a whitelist when
> luigirosa.com MTA receives this message?
> 
> 
> Return-Path: <root at acme.com>
> X-Original-To: lrosa at luigirosa.com
> Delivered-To: lrosa at luigirosa.com
> {various Received headers omitted}
> To: logwatch at acme.com
> Subject: Postfix log summary
> Message-Id: <20110529020209.06CFA1D08507 at acme.com>
> From: root at acme.com (root)

root at acme.com and root at acme.com
(actually just one in this case, as they are the same and duplicates
are eliminated).

  Mark


More information about the amavis-users mailing list