regex to block emails while having word bounce before @ sign.

Indunil Jayasooriya indunil75 at
Fri Mar 11 08:03:47 CET 2016

I use The Regex Coach ( 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, is okay for me.

I think below regex matches everything up to *@ sign.*


it does NOT check anything* after @ sign. This is WHAT I NEED*

something like these.


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   -  Download Sinhala
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the amavis-users mailing list