I’m trying to redirect the message after passing the spam filter.
There is a rule on SpamAssassin, if the letter contains a certain word, a tag with the name of my rule is hung on it.
body ADM_RULE_1 /mymessagetag/
score ADM_RULE_1 8
X-Spam-Status: Yes, score=7.401 required=4 tests=[ADM_RULE_1=8, ALL_TRUSTED=-1, BAYES_20=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, KAM_NUMSUBJECT=0.5]
(spam filter works correctly)
Then I tried to redirect that email to another address using postfix_header_checks, but something go wrong.
I check postfix header checks with that rule. And its worked.
/^From:(.*)firstname.lastname@example.org/ REDIRECT email@example.com
But when I tried catch my custom tag ADM_RULE_1 is not worked.
/^X-Spam-Status:(.*)ADM_RULE_1/ REDIRECT firstname.lastname@example.org
Maybe someone know, how can I redirect email, that already passed spam filters ?
- Zimbra Collaboration 8.6 Patch 9 now available (includes fix for CVE-2017-8802). Read the announcement.
- Zimbra Collaboration 8.8.7 + Zimbra Connector for Outlook 8.8.7 are available.. Read the announcement.
- Are you a Zimbra Developer? You can find some interesting stuff in our Official GitHub: https://github.com/Zimbra and check the Community Projects too: https://github.com/Zimbra-Community/
Discuss your pilot or production implementation with other Zimbra admins or our engineers.
1 post • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 8 guests