How to reject emoji in subject line?
-
- Posts: 11
- Joined: 31 May 2017 13:39
How to reject emoji in subject line?
Is there a Postfix header check that can reject an email if it contains any emoji in the subject line? I've been getting a bunch of email with green hearts or smileys etc. in the subject line - all spam - but I can't figure out the regex for it to reject it at the Postfix level rather than waiting for Spamassassin to pick it up. thanks.
Re: How to reject emoji in subject line?
Work off of this:
https://gist.github.com/adamlwatson/9623703
Or maybe a milter that runs it through this:
https://github.com/guanting112/remove_emoji
https://gist.github.com/adamlwatson/9623703
Or maybe a milter that runs it through this:
https://github.com/guanting112/remove_emoji
- shawniverson
- Posts: 3649
- Joined: 13 Jan 2014 23:30
- Location: Indianapolis, Indiana USA
- Contact:
Re: How to reject emoji in subject line?
Following...
Re: How to reject emoji in subject line?
This would be a good filter to add to spamassassin.
100% of mail I get with emoji's in the subject are spam.
I'm almost as certain that this applies to bodies of messages as well.
100% of mail I get with emoji's in the subject are spam.
I'm almost as certain that this applies to bodies of messages as well.