<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
  <title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
Ugo Bellavance wrote:<br>
<blockquote type="cite"
 cite="mid54C38A0B814C8E438EF73FC76F3629274109DB@mtlnt501fs.CAMOROUTE.COM">
  <blockquote type="cite">
    <pre wrap="">-----Message d'origine-----
De : Mike Pelley [<a class="moz-txt-link-freetext" href="mailto:mike@PELLEYS.COM">mailto:mike@PELLEYS.COM</a>]
Envoy&eacute; : 10 mars, 2004 20:25
&Agrave; : <a class="moz-txt-link-abbreviated" href="mailto:MAILSCANNER@JISCMAIL.AC.UK">MAILSCANNER@JISCMAIL.AC.UK</a>
Objet : whitelist not working


Hi All.

I'm new to the list, but I've been running MailScanner with Postfix on
Red Hat 8 for about a year on my home hobby server.  I have scripts
created to automatically update the Postfix (postfix.in actually)
body_checks and header_checks maps each night.

The problem that has just started happening is that my inside systems
(more correctly my wife's!) has started rejecting some of her
e-mails as
being spam.  I've  gone into the MailScanner
/etc/MailScanner/rules/spam.whitelist.rules file and have tried
everything to prevent her system (indeed all of my internal systems)
    </pre>
  </blockquote>
  <pre wrap=""><!---->&gt;from being scanned for spam.
  </pre>
  <blockquote type="cite">
    <pre wrap="">Here's my spam.whitelist.rules file:

cat spam.whitelist.rules
# This is where you can build a Spam WhiteList
# Addresses matching in here, with the value
# "yes" will never be marked as spam.
From:           192.168.0.      yes
From:           pelleys.com     yes
From:           192.168.0.3     yes
FromOrTo:       default         no

However, she is still being rejected.  Is this a MailScanner or Postfix
issue?
    </pre>
  </blockquote>
  <pre wrap=""><!---->Depends on your devinition of "rejected"

Could you make us see some logs of rejected mail?

Your MailScanner machine on the same subnet?

Have you restarted MailScanner after your config change?

  </pre>
  <blockquote type="cite">
    <pre wrap="">Thanks!

Cheers,
Mike
<a class="moz-txt-link-abbreviated" href="mailto:mike@pelleys.com">mike@pelleys.com</a>

    </pre>
  </blockquote>
</blockquote>
Of course, when I try to send the entry in the maillog it gets trapped
as spam.&nbsp; arrrgggggg!&nbsp; Removing body_checks for now!<br>
<br>
Here's a sample entry from /var/log/maillog:<br>
<br>
<pre wrap="">"Mar 10 20:08:51 sparta postfix/cleanup[3766]: CDA7F5823E: reject: body 3Ank42j6GvSnGMoSto3Lq7pPa3V9TwpUnyXglGT19e+r+/1PQbFDLNBbK5eGa8hiOXAADTRkqo6n; from=<a class="moz-txt-link-rfc2396E" href="mailto:the-wife@pelleys.com">&lt;the-wife@pelleys.com&gt;</a> to=<a class="moz-txt-link-rfc2396E" href="mailto:abcdefghi@some-isp.ca">&lt;abcdefghi@some-isp.ca&gt;</a>: SecuritySage SPAM-ID: b20030701-78001 Your email had spam-like body contents. To report this message as non-spam, please follow the instructions available at <a class="moz-txt-link-freetext" href="http://www.securitysage.com/spam.html">http://www.securitysage.com/spam.html</a>


<a class="moz-txt-link-freetext"
 href="http://www.securitysage.com/spam.html"></a></pre>
My MailScanner machine is on the same subnet with the workstations.<br>
<br>
After each config change I've tried both restarting and reloading the
service.<br>
<br>
One other bit of information, the local mail messages are have JPG
attachments.&nbsp; Could it be that MailScanner is finding the virus string
in the MIME-encoded message and bouncing the message?<br>
<br>
Thanks,<br>
Mike<br>
</body>
</html>