<div dir="ltr">Thanks for the reply Jerry.. I was running:<div><br></div><div>spamassassin -x -D -p /etc/MailScanner/spam.assassin.prefs.conf --lint to get those results. <span style="font-size:12.8000001907349px">MailScanner --lint results in the following, so it looks like i need to sort something with </span>pyzor (and note we are not using virus checks as these taken care of at the network edge).<br></div><div><br></div><div><div>Currently you are using no virus scanners.</div><div>This is probably not what you want.</div><div><br></div><div>In your /etc/MailScanner/MailScanner.conf file, set</div><div>    Virus Scanners = clamav</div><div>Then download</div><div>    <a href="http://www.sng.ecs.soton.ac.uk/mailscanner/files/4/install-Clam-SA.tar.gz">http://www.sng.ecs.soton.ac.uk/mailscanner/files/4/install-Clam-SA.tar.gz</a></div><div>Unpack it, "cd" into the directory and run ./install.sh</div><div><br></div><div>Trying to setlogsock(unix)</div><div><br></div><div>Reading configuration file /etc/MailScanner/MailScanner.conf</div><div>Reading configuration file /etc/MailScanner/conf.d/README</div><div>Read 464 hostnames from the phishing whitelist</div><div>Read 12608 hostnames from the phishing blacklists</div><div>Config: calling custom init function SQLBlacklist</div><div>Starting up SQL Blacklist</div><div>Read 11 blacklist entries</div><div>Config: calling custom init function MailWatchLogging</div><div>Started SQL Logging child</div><div>Config: calling custom init function SQLWhitelist</div><div>Starting up SQL Whitelist</div><div>Read 3 whitelist entries</div><div><br></div><div>Checking version numbers...</div><div>Version number in MailScanner.conf (4.85.2) is correct.</div><div><br></div><div>Your envelope_sender_header in spam.assassin.prefs.conf is correct.</div><div>MailScanner setting GID to  (48)</div><div>MailScanner setting UID to  (89)</div><div><br></div><div>Checking for SpamAssassin errors (if you use it)...</div><div>pyzor: check failed: internal error, python traceback seen in response</div><div>SpamAssassin reported no errors.</div><div>Connected to Processing Attempts Database</div><div>Created Processing Attempts Database successfully</div><div>There are 0 messages in the Processing Attempts Database</div><div>Using locktype = posix</div><div>MailScanner.conf says "Virus Scanners = none"</div><div>Found these virus scanners installed: clamavmodule</div><div>===========================================================================</div><div>Filename Checks: Windows/DOS Executable (1 <a href="http://eicar.com">eicar.com</a>)</div><div>Other Checks: Found 1 problems</div><div>Virus and Content Scanning: Starting</div><div>===========================================================================</div><div><br></div><div>If any of your virus scanners (clamavmodule)</div><div>are not listed there, you should check that they are installed correctly</div><div>and that MailScanner is finding them correctly via its virus.scanners.conf.</div><div>Config: calling custom end function SQLBlacklist</div><div>Closing down SQL Blacklist</div><div>Config: calling custom end function MailWatchLogging</div><div>Config: calling custom end function SQLWhitelist</div><div>Closing down SQL Whitelist</div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jun 30, 2015 at 1:05 AM, Jerry Benton <span dir="ltr"><<a href="mailto:jerry.benton@mailborder.com" target="_blank">jerry.benton@mailborder.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">I assume you are running spamassassin —lint. Run MailScanner —lint. If you want to run spamassassin —lint you need to include the option that points it to spam.assassin.prefs.conf. <br><div>
<div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><br>-</div><div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">Jerry Benton</div><div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><a href="http://www.mailborder.com" target="_blank">www.mailborder.com</a></div><div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><br></div><br>
</div>
<br><div><blockquote type="cite"><div><div class="h5"><div>On Jun 29, 2015, at 5:28 AM, Simon <<a href="mailto:greminn@gmail.com" target="_blank">greminn@gmail.com</a>> wrote:</div><br></div></div><div><div><div class="h5"><div dir="ltr">OK i did a bit more digging here, and changed some settings:<div><br></div><div><span style="font-size:12.8000001907349px">in MailScanner.conf:</span><br></div><div><br></div><div>%org-name% = NewMediaNetworks<br></div><div>Add Envelope From Header = yes<br></div><div>Envelope From Header = X-%org-name%-MailScanner-From:<br></div><div><br></div><div>In <span style="font-size:12.8000001907349px">spam.assassin.prefs.conf:</span></div><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px">envelope_sender_header X-NewMediaNetworks-MailScanner-From</span><br></div><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px">But for some reason im still not seeing the header in SA:</span></div><div><span style="font-size:12.8000001907349px"><br></span></div><div><div><span style="font-size:12.8000001907349px">dbg: FreeMail: header Reply-To not found from mail</span></div><div><span style="font-size:12.8000001907349px">dbg: spf: cannot get Envelope-From, cannot use SPF</span></div><div><span style="font-size:12.8000001907349px">dbg: spf: def_spf_whitelist_from: could not find useable envelope sender</span></div></div><div><span style="font-size:12.8000001907349px">dbg: message: envelope_sender_header 'X-NewMediaNetworks-MailScanner-From' not found in message</span><br></div><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px">Cheers</span></div><div><span style="font-size:12.8000001907349px"><br></span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jun 29, 2015 at 12:38 PM, Simon <span dir="ltr"><<a href="mailto:greminn@gmail.com" target="_blank">greminn@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi There (again!), Sorry for barrage of questions :)<div><br></div><div>For some reason SA is not doing any SPF checks:</div><div><br></div><div>Jun 29 12:32:55.131 [29496] dbg: diag: [...] module installed: Mail::SPF, version v2.008<br></div><div>Jun 29 12:32:55.147 [29496] dbg: plugin: loading Mail::SpamAssassin::Plugin::SPF from @INC<br></div><div><div>Jun 29 12:32:57.122 [29496] dbg: spf: cannot get Envelope-From, cannot use SPF</div><div>Jun 29 12:32:57.122 [29496] dbg: spf: def_spf_whitelist_from: could not find useable envelope sender</div><div>Jun 29 12:32:57.123 [29496] dbg: spf: spf_whitelist_from: could not find useable envelope sender</div></div><div><br></div><div>Ive done quite a bit of checking conf but cant seem to figure out whats going on. Is this something todo with postfix not setting Envelope-From correctly?</div><div><br></div><div>"envelope_sender_header X-MailScanner-From" is in the spam.assassin.prefs.conf and "Envelope From Header = X-MailScanner-From:" is set in MailScanner.conf <br></div><div><br></div><div><div>MailScanner Version:4.85.2</div><div>SpamAssassin Version:3.3.1 </div></div><div><br></div><div>Many thanks</div><span><font color="#888888"><div><br></div><div>Simon</div></font></span></div>
</blockquote></div><br></div>
<br><br></div></div><span class="HOEnZb"><font color="#888888">-- <br>MailScanner mailing list<br><a href="mailto:mailscanner@lists.mailscanner.info" target="_blank">mailscanner@lists.mailscanner.info</a><br><a href="http://lists.mailscanner.info/listinfo/mailscanner" target="_blank">http://lists.mailscanner.info/listinfo/mailscanner</a><br><br></font></span></div></blockquote></div><br></div><br><br>
<br>
--<br>
MailScanner mailing list<br>
<a href="mailto:mailscanner@lists.mailscanner.info">mailscanner@lists.mailscanner.info</a><br>
<a href="http://lists.mailscanner.info/listinfo/mailscanner" rel="noreferrer" target="_blank">http://lists.mailscanner.info/listinfo/mailscanner</a><br>
<br>
<br></blockquote></div><br></div>