External Quarantine

pi0trek75@o2.pl pi0trek75 at o2.pl
Mon Nov 25 11:05:04 CET 2019


Hello.  He is trying to implement a solution based on 3 mail servers. The first one - MX - receives mail, scans it with amavis, then passes it to another server on which amavis also works, but its only task is to place e-mails with the appropriate header in quarantine. If there is no such header, it sends the e-mail to the target server. Everything is based on postfix and amavis. Mail forwarding is based on transport method.  And here's the problem: I'm turning off the quarantine on the first server, I've raised it to a high level of $sa_kill_level_deflt and $sa_dsn_cutoff_level so that amavis won't stop this email, but only mark it in the header.  Unfortunately, despite the fact that the mail was detected as spam, the mail sent to the next server does not have spamassin headers, which are the basis of the filter for sending e-mails to the quarantine. As I read in the documentation amavis:  "If spam score is at or above tag2 level, spam-related header fields (X-Spam-Status, X-Spam-Level, X-Spam-Flag and X-Spam-Report) are inserted for local recipients". - so I added it to my configuration:  @local_domains_acl = ( "." );  But it didn't help.  How can I "force" amavis to attach spamassassin headers to emails that are later forwarded by transport to another server?   BTW: $sa_tag_level_deflt   is set to: -9999;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.amavis.org/pipermail/amavis-users/attachments/20191125/16452a5a/attachment.html>


More information about the amavis-users mailing list