Community Discussions and Support
Help with filter rule

Thank you - at least I can stop looking.

<p>Thank you - at least I can stop looking. </p>

I've managed to get my spam load down to managable proportions but there is one more check that could help.

I notice that on some of the spam that gets through both the From and the To addresses are the same (both are valid).

Can I filter out or reject all mail where the From and To addresses are exactly the same?

<p>I've managed to get my spam load down to managable proportions but there is one more check that could help.</p><p>I notice that on some of the spam that gets through both the From and the To addresses are the same (both are valid).</p><p>Can I filter out or reject all mail where the From and To addresses are exactly the same? </p>

It can't be done with a global rule. With some programming you could do it using a policy or a daemon. Notice that From and To in the SMTP transaction (Mail from / Rcpt) isn't necessarily the same as in the mail headers.

/Rolf
 

<p>It can't be done with a global rule. With some programming you could do it using a policy or a daemon. Notice that From and To in the SMTP transaction (Mail from / Rcpt) isn't necessarily the same as in the mail headers.</p><p>/Rolf  </p>
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft