It will match any of those keywords whether its’ part of the email, subject, body etc..
Take a look here: https://regex101.com/r/bQ1xB0/3 Try any of the possibilities you listed and you will get a match. From: amavis-users [mailto:[email protected]] On Behalf Of Indunil Jayasooriya Sent: Thursday, March 03, 2016 12:16 AM To: [email protected] Subject: help on bulkmail , offers - amavisd.conf file Hi, I want to study below lines in amavisd.conf file. new_RE( # regexp-type lookup table, just happens to be all soft-blacklist [qr'^(bulkmail|offers|cheapbenefits|earnmoney|foryou)@'i => 5.0], [qr'^(greatcasino|investments|lose_weight_today|market\.alert)@'i=> 5.0], [qr'^(money2you|MyGreenCard|new\.tld\.registry|opt-out|opt-in)@'i=> 5.0], [qr'^(optin|saveonlsmoking2002k|specialoffer|specialoffers)@'i => 5.0], [qr'^(stockalert|stopsnoring|wantsome|workathome|yesitsfree)@'i => 5.0], [qr'^(your_friend|greatoffers)@'i => 5.0], [qr'^(inkjetplanet|marketopt|MakeMoney)\d*@'i => 5.0], ), What does it exactly say? Let's talk about the first line [qr'^(bulkmail|offers|cheapbenefits|earnmoney|foryou)@'i => 5.0], what are these bulkmail|offers|cheapbenefits|earnmoney|foryou are these user names of any domain such as [email protected]<mailto:[email protected]> [email protected]<mailto:[email protected]> [email protected]<mailto:[email protected]> [email protected]<mailto:[email protected]> or or any username having word bulkmail , offers *bulkmail*@anydomain1.com<http://anydomain1.com> *bulkmail*@anydomain1.com<http://anydomain1.com> *offers*@anydomain1.com<http://anydomain1.com> *offers*@anydomain2.com<http://anydomain2.com> they get Positive 5. (Also case insensitive due to "@i " ) or Subject or body containing words such as bulkmail , offers and so on listed there? Hope to hear from you. -- cat /etc/motd Thank you Indunil Jayasooriya http://www.theravadanet.net/ http://www.siyabas.lk/sinhala_how_to_install.html - Download Sinhala Fonts
