<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">It will match any of those keywords whether its’ part of the email, subject, body etc..<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Take a look here:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><a href="https://regex101.com/r/bQ1xB0/3">https://regex101.com/r/bQ1xB0/3</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Try any of the possibilities you listed and you will get a match.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt">
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> amavis-users [mailto:amavis-users-bounces+dino.edwards=mydirectmail.net@amavis.org]
<b>On Behalf Of </b>Indunil Jayasooriya<br>
<b>Sent:</b> Thursday, March 03, 2016 12:16 AM<br>
<b>To:</b> amavis-users@amavis.org<br>
<b>Subject:</b> help on bulkmail , offers - amavisd.conf file<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Hi,<br>
<br>
<o:p></o:p></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">I want to study below lines in amavisd.conf file.<o:p></o:p></p>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
new_RE( # regexp-type lookup table, just happens to be all soft-blacklist<br>
[qr'^(bulkmail|offers|cheapbenefits|earnmoney|foryou)@'i => 5.0],<br>
[qr'^(greatcasino|investments|lose_weight_today|market\.alert)@'i=> 5.0],<br>
[qr'^(money2you|MyGreenCard|new\.tld\.registry|opt-out|opt-in)@'i=> 5.0],<br>
[qr'^(optin|saveonlsmoking2002k|specialoffer|specialoffers)@'i => 5.0],<br>
[qr'^(stockalert|stopsnoring|wantsome|workathome|yesitsfree)@'i => 5.0],<br>
[qr'^(your_friend|greatoffers)@'i => 5.0],<br>
[qr'^(inkjetplanet|marketopt|MakeMoney)\d*@'i => 5.0],<br>
),<br>
<br>
<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">What does it exactly say? <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><br clear="all">
<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Let's talk about the first line
<br>
<br>
[qr'^(bulkmail|offers|cheapbenefits|earnmoney|foryou)@'i => 5.0],<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">what are these<br>
<br>
bulkmail|offers|cheapbenefits|earnmoney|foryou<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">are these user names of any domain such as <o:p></o:p></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
<a href="mailto:bulkmail@anydomain1.com">bulkmail@anydomain1.com</a> <br>
<a href="mailto:bulkmail@anydomain2.com">bulkmail@anydomain2.com</a><br>
<br>
<a href="mailto:offers@anydomain1.com">offers@anydomain1.com</a><br>
<a href="mailto:offers@anydomain2.com">offers@anydomain2.com</a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">or <br>
<br>
or any username having word bulkmail , offers <br>
<br>
*bulkmail*@<a href="http://anydomain1.com">anydomain1.com</a> <br>
*bulkmail*@<a href="http://anydomain1.com">anydomain1.com</a> <br>
<br>
*offers*@<a href="http://anydomain1.com">anydomain1.com</a><br>
*offers*@<a href="http://anydomain2.com">anydomain2.com</a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">they get Positive 5. (Also case insensitive due to "<b>@i</b> " )
<br>
<br>
<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">or <br>
<br>
Subject or body containing words such as<b> bulkmail , offers</b> and so on listed there?
<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Hope to hear from you.<br>
<br>
<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><o:p> </o:p></p>
</div>
<div>
<div>
<p class="MsoNormal"><br>
-- <o:p></o:p></p>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">cat /etc/motd<br>
<br>
Thank you<br>
Indunil Jayasooriya <br>
<a href="http://www.theravadanet.net/" target="_blank">http://www.theravadanet.net/</a><br>
<a href="http://www.siyabas.lk/sinhala_how_to_install.html" target="_blank">http://www.siyabas.lk/sinhala_how_to_install.html</a> - Download Sinhala Fonts<o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>