On 27.10.20 12:57, Danilo Godec wrote:
I have one Amavis server, that is used by two SMTP servers - one is only a relay and after Amavis is done, it relays it to the final internal server. This one seems to work OK.The other, however, is also a mailbox server, so it's a final destination for some domains (using postfix with virtual maps). This worked for years, but recently, I wanted to apply different thresholds for one domain: @spam_kill_level_maps = ({ 'example.com' => 12.0, }, \$sa_kill_level_deflt ); However, that didn't work because Amavis doesn't see the original recipient address, instead it sees the local mailbox (i.e. [email protected]).
I believe that amavisd-milter would do what you want.
Is there a way to have Postfix do content filtering before it resolves the recipient address to local maibox?
-- Matus UHLAR - fantomas, [email protected] ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this address. Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu. There's a long-standing bug relating to the x86 architecture that allows you to install Windows. -- Matthew D. Fuller
