Amavis not getting original recipient address

Danilo Godec danilo.godec at agenda.si
Tue Oct 27 12:57:37 CET 2020


Hello,


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).

Is there a way to have Postfix do content filtering before it resolves
the recipient address to local maibox?


    Regards,

   Danilo


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.amavis.org/pipermail/amavis-users/attachments/20201027/85a6bf8d/attachment.htm>


More information about the amavis-users mailing list