On Thu, 30 Jan 2014, Patrick Ben Koetter wrote:
I suggest you do not use the envelope-sender address, because it can be forged
easily. Instead I'd use valid DKIM signatures as trigger to bypass certain
checks:
@author_to_policy_bank_maps = ( {
'sys4.de' => 'WHITELIST,NOBANNEDCHECK,NOVIRUSCHECK',
'.paypal.com' => 'WHITELIST',
'amazon.de' => 'WHITELIST',
'hotmail.com' => 'WHITELIST',
'gmail.com' => 'WHITELIST',
} );
#############################################################################
## POLICY BANKS: WHITELIST
#
$policy_bank{'WHITELIST'} = {
bypass_spam_checks_maps => [1],
spam_lovers_maps => [1],
};
Thanks Patrick,
This is an outbound mail relay only, it doesn't serve incoming mail, so it
only needs to act on RCPT TO domain information? Unless I'm
mis-understanding the config. I'll have a look on the amavisd-new mailing
list archives for more information!
Cheers,
Duncan