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:(.*)email@example.com/ REDIRECT firstname.lastname@example.org
But when I tried catch my custom tag ADM_RULE_1 is not worked.
/^X-Spam-Status:(.*)ADM_RULE_1/ REDIRECT email@example.com
Maybe someone know, how can I redirect email, that already passed spam filters ?
- Zimbra Collaboration 9.0.0 now available. Read the release notes.
- Zimbra Collaboration 8.8.15 LTS now available. Read the release notes.
- Are you a Zimbra Developer? You can find some interesting stuff in our Official GitHub, Blog and the Community Github.
- Zimbra is Open Source! Read the FAQ. You can also contribute and build binary from source!
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 12 guests