Amavis not getting original recipient address

Matus UHLAR - fantomas uhlar at fantomas.sk
Tue Oct 27 13:41:14 CET 2020


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.
>user at myserver.example.com).

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, uhlar at fantomas.sk ; 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


More information about the amavis-users mailing list