Amavis not getting original recipient address

Danilo Godec <[email protected]>
Newsgroups gmane.mail.virus.amavis.user
Organization Agenda d.o.o.
Message-ID <[email protected]>
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.
[email protected]).

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


    Regards,

   Danilo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.