Answer the question
In order to leave comments, you need to log in
Why doesn't the filter work in Exim?
Wrote such a filter, connected.
It searches for all letters that came to the mailbox matching the value in the subject, if it is not found, it copies the letters to the second mailbox.
If I set $header_subject: does not contains to 1, then it works.
If I put the enumeration of topics, it does not work and copies the weight of the letter.
Filter:
if $recipients: contains "[email protected]" and
$header_subject: does not contains "failed"
or
$header_subject: does not contains "delivery"
or
$header_subject: does not contains "WARNING"
or
$header_subject: does not contains "Notification"
or
$header_subject: does not contains "Failure"
or
$header_subject: does not contains "Undeliverable"
or
$header_subject: does not contains "recipients"
or
$header_subject: does not contains "Rejected"
or
$header_subject: does not contains "Sender"
then
unseen deliver [email protected]
endif
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question