regex to block emails while having word bounce before @ sign.
Indunil Jayasooriya
indunil75 at gmail.com
Fri Mar 11 08:03:47 CET 2016
I use The Regex Coach (http://weitz.de/files/regex-coach.exe) for that
> matter, it works well under Windows or under wine, you can do step by
> step on your regex.
>
>
Thanks. Downloaded. I loaded the pkg on Ubuntu with wine.
But, I find it difficult to use it.
any way, https://regex101.com/ is okay for me.
I think below regex matches everything up to *@ sign.*
*/(bounce.*@)/i*
it does NOT check anything* after @ sign. This is WHAT I NEED*
something like these.
noreply@*bounce*.domain.com
noreply@*bounce*.com
Now, my file looks like this.
header FROM_BOUNCE From:addr =~ */(bounce.*@)/i*
describe FROM_BOUNCE From address contain the word bounce
score FROM_BOUNCE 3.1
Can anyone out there agree with this?
--
cat /etc/motd
Thank you
Indunil Jayasooriya
http://www.theravadanet.net/
http://www.siyabas.lk/sinhala_how_to_install.html - Download Sinhala
Fonts
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.amavis.org/pipermail/amavis-users/attachments/20160311/daf63d03/attachment.html>
More information about the amavis-users
mailing list