amavis whitelist rescipient address match
Gary V
mr88talent at gmail.com
Mon May 30 23:44:22 CEST 2011
On 5/30/11, Mark Martinec wrote:
>> 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
>
Note: If using Postfix you might consider bypassing amavisd-new for
local system generated messages by overriding the content_filter for
the pickup service in master.cf:
pickup fifo n - - 60 1 pickup
-o content_filter=
-o receive_override_options=no_header_body_checks
as an alternative to whitelisting mail from root (for example).
--
Gary V
More information about the amavis-users
mailing list