<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=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@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;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 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";
        color:black;}
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;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;
        color:black;}
p.unnamed1, li.unnamed1, div.unnamed1
        {mso-style-name:unnamed1;
        margin:12.0pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
span.EmailStyle21
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
 /* List Definitions */
 @list l0
        {mso-list-id:700283078;
        mso-list-template-ids:823315622;}
@list l0:level1
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:.5in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
-->
</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 bgcolor=white 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'>Michael – thanks for the tip.  I see what you
mean.  <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'>However, it’s like to try and tackle why/how I can’t
get soft whitelisting to work via Amavis.<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'>I’ve been reading up on using @score_sender_maps and tried
to do as the site below suggested by editing 50-user<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><a
href="http://www.mail-archive.com/amavis-user@lists.sourceforge.net/msg05258.html">http://www.mail-archive.com/amavis-user@lists.sourceforge.net/msg05258.html</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'>However, it doesn’t seem to take when I run amavis
debug.  I can see my mail come in, yet it’s still marked with a high
enough spam score to be quarantined; the soft whitelist entry doesn’t
show up at all.  I’m unsure if there is a syntax issue (or how to
honestly check the amavis config files before reloading at all)<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'>Here’s output from amavis debug when I send the message
through and why I don’t think the soft whitelist is working:<br>
May 11 08:39:00.196 ubuntu-spam.lcps.k12.va.us /usr/sbin/amavisd-new[25954]:
(25954-01) query_keys: SISdb@lcps.k12.va.us, sisdb@lcps.k12.va.us, sisdb@,
lcps.k12.va.us, .lcps.k12.va.us, .k12.va.us, .va.us, .us, .<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>May 11 08:39:00.197 ubuntu-spam.lcps.k12.va.us
/usr/sbin/amavisd-new[25954]: (25954-01) lookup_hash(SISdb@lcps.k12.va.us), no
matches<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>May 11 08:39:00.197 ubuntu-spam.lcps.k12.va.us
/usr/sbin/amavisd-new[25954]: (25954-01) lookup
[blacklist_sender<SISdb@lcps.k12.va.us>,blacklist_sender] => undef,
"SISdb@lcps.k12.va.us" does not match<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>May 11 08:39:00.197 ubuntu-spam.lcps.k12.va.us
/usr/sbin/amavisd-new[25954]: (25954-01) lookup
[whitelist_recip<baileyds@lcps.k12.va.us>] => undef,
"baileyds@lcps.k12.va.us" does not match<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>May 11 08:39:00.199 ubuntu-spam.lcps.k12.va.us
/usr/sbin/amavisd-new[25954]: (25954-01) query_keys: SISdb@lcps.k12.va.us,
sisdb@lcps.k12.va.us, sisdb@, lcps.k12.va.us, .lcps.k12.va.us, .k12.va.us,
.va.us, .us, .<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>May 11 08:39:00.199 ubuntu-spam.lcps.k12.va.us
/usr/sbin/amavisd-new[25954]: (25954-01) lookup_hash(SISdb@lcps.k12.va.us), no
matches<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>May 11 08:39:00.200 ubuntu-spam.lcps.k12.va.us /usr/sbin/amavisd-new[25954]:
(25954-01) lookup_acl(SISdb@lcps.k12.va.us), no match<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>May 11 08:39:00.200 ubuntu-spam.lcps.k12.va.us
/usr/sbin/amavisd-new[25954]: (25954-01) lookup
[whitelist_sender<SISdb@lcps.k12.va.us>,whitelist_sender] => undef,
"SISdb@lcps.k12.va.us" does not 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'>Here’s my 50-user section:<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'># trying to soft whitelist<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>@score_sender_maps = (<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'>       
'SISdb@lcps.k12.va.us' => -10.0,<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>       
'PrinterNotification@lcps.k12.va.us' => -10.0<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>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>After adding my changes to 50-user, I would run: sudo
/etc/init.d/amavis reload<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'>Thanks again for your patience and help.  </span><span
style='font-size:11.0pt;font-family:Wingdings;color:#1F497D'>J</span><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>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Damian Bailey | baileyds@lcps.k12.va.us<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Lead Technician | LCPS Technology<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>540.894.4373x8220<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Shipping Address:<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Louisa County Public Schools<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>953 Davis Hwy<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Mineral VA 23117<o:p></o:p></span></p>

</div>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:windowtext'>From:</span></b><span style='font-size:10.0pt;font-family:
"Tahoma","sans-serif";color:windowtext'>
amavis-users-bounces+baileyds=lcps.k12.va.us@amavis.org
[mailto:amavis-users-bounces+baileyds=lcps.k12.va.us@amavis.org] <b>On Behalf
Of </b>Michael Scheidell<br>
<b>Sent:</b> Tuesday, May 10, 2011 4:35 PM<br>
<b>To:</b> amavis-users@amavis.org<br>
<b>Subject:</b> Re: hi! issues with soft whitelist / amavis / SA<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal>On 5/10/11 4:25 PM, Bailey, Damian S. wrote: <o:p></o:p></p>

<pre>Good afternoon,<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>I've been working with amavis for over a year now, and haven't really had to fine tune it much.  That being said, I've recently found the need to "whitelist" a local email address as it goes through my filter and gets quarantined as spam; however, the mail is legitimate.  <o:p></o:p></pre><pre><o:p> </o:p></pre>

<p class=MsoNormal style='margin-bottom:12.0pt'>use SA, 'whitelist_rcvd_from'
or something like that, in local.cf.<br>
<br>
<br>
or, you whitelist the email address spammers will use.<br>
<br>
<br>
<br>
<o:p></o:p></p>

<div>

<p class=MsoNormal>-- <br>
Michael Scheidell, CTO<br>
o: 561-999-5000<br>
d: 561-948-2259<br>
ISN: 1259*1300<br>
<span style='color:#999999'>></span><span style='color:#CC0000'> <b>| </b></span>SECNAP
Network Security Corporation <o:p></o:p></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;margin-right:12.0pt;
mso-margin-bottom-alt:auto;margin-left:12.0pt;text-indent:-.25in;mso-list:l0 level1 lfo1'><![if !supportLists]><span
style='font-size:10.0pt;font-family:Symbol'><span style='mso-list:Ignore'>·<span
style='font:7.0pt "Times New Roman"'>        
</span></span></span><![endif]>Best Intrusion Prevention Product, Networks
Product Guide<o:p></o:p></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;margin-right:12.0pt;
mso-margin-bottom-alt:auto;margin-left:12.0pt;text-indent:-.25in;mso-list:l0 level1 lfo1'><![if !supportLists]><span
style='font-size:10.0pt;font-family:Symbol'><span style='mso-list:Ignore'>·<span
style='font:7.0pt "Times New Roman"'>        
</span></span></span><![endif]>Certified SNORT Integrator<o:p></o:p></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;margin-right:12.0pt;
mso-margin-bottom-alt:auto;margin-left:12.0pt;text-indent:-.25in;mso-list:l0 level1 lfo1'><![if !supportLists]><span
style='font-size:10.0pt;font-family:Symbol'><span style='mso-list:Ignore'>·<span
style='font:7.0pt "Times New Roman"'>        
</span></span></span><![endif]>Hot Company Award, World Executive Alliance<o:p></o:p></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;margin-right:12.0pt;
mso-margin-bottom-alt:auto;margin-left:12.0pt;text-indent:-.25in;mso-list:l0 level1 lfo1'><![if !supportLists]><span
style='font-size:10.0pt;font-family:Symbol'><span style='mso-list:Ignore'>·<span
style='font:7.0pt "Times New Roman"'>        
</span></span></span><![endif]>Best in Email Security, 2010 Network Products
Guide<o:p></o:p></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;margin-right:12.0pt;
mso-margin-bottom-alt:auto;margin-left:12.0pt;text-indent:-.25in;mso-list:l0 level1 lfo1'><![if !supportLists]><span
style='font-size:10.0pt;font-family:Symbol'><span style='mso-list:Ignore'>·<span
style='font:7.0pt "Times New Roman"'>        
</span></span></span><![endif]>King of Spam Filters, SC Magazine<o:p></o:p></p>

</div>

<p class=MsoNormal><o:p> </o:p></p>

<div id=disclaimer.secnap.com>

<div class=MsoNormal align=center style='text-align:center'>

<hr size=2 width="100%" align=center>

</div>

<p>This email has been scanned and certified safe by SpammerTrap®. <br>
For Information please see <a href="http://www.secnap.com/products/spammertrap/">http://www.secnap.com/products/spammertrap/</a><o:p></o:p></p>

<div class=MsoNormal align=center style='text-align:center'>

<hr size=2 width="100%" align=center>

</div>

</div>

<p class=MsoNormal><o:p> </o:p></p>

</div>

</body>

</html>