Hello,
I created a rule for incoming mail that add a suffix to the mail subject. This usually work fine but I found that some mails are not being tagged. I found that theses mails have something in common. The "subject" field contain a line return so the subject is displaying on two or more lines when I look at the mail headers.
A sample mail that expose the problem (message is not tagged):
The problem seem to be related with the folllowing "what" exclusion rule, because the message is tagged correctly if I don't set this condition in my mail rule:
So this rule should not execute only mail when subject already contain my "[EXTERNE]" tag.
Is there something I can do to avoid this issue?
Thanks!
pmg-api/5.2-7/9943bd5d (running kernel: 4.15.18-25-pve)
I created a rule for incoming mail that add a suffix to the mail subject. This usually work fine but I found that some mails are not being tagged. I found that theses mails have something in common. The "subject" field contain a line return so the subject is displaying on two or more lines when I look at the mail headers.
A sample mail that expose the problem (message is not tagged):
Code:
telnet mail.myorg.tld 25
EHLO mail.example.com
MAIL FROM:<me@gmail.com>
RCPT TO:<me@myorg.tld>
DATA
Subject: testing123
b
asdf
.
The problem seem to be related with the folllowing "what" exclusion rule, because the message is tagged correctly if I don't set this condition in my mail rule:

So this rule should not execute only mail when subject already contain my "[EXTERNE]" tag.
Is there something I can do to avoid this issue?
Thanks!
pmg-api/5.2-7/9943bd5d (running kernel: 4.15.18-25-pve)
Last edited: