<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Yep. Google helped me as well. For anyone else stumbling on this:
<a class="moz-txt-link-freetext" href="http://www.gossamer-threads.com/lists/spamassassin/users/187367">http://www.gossamer-threads.com/lists/spamassassin/users/187367</a>.
Just add the following lines to /etc/spamassassin/local.cf:<br>
<font color="black" size="2"><font color="black" size="2">ifplugin
Mail::SpamAssassin::Plugin::Pyzor <br>
pyzor_path /usr/local/bin/pyzor <br>
pyzor_options --homedir /etc/mail/spamassassin <br>
endif <br>
</font></font>
<p><font face="Verdana,Arial,Helvetica" color="black" size="2"><font
face="Verdana,Arial,Helvetica" color="black" size="2">One last
question: I don't want to scan outgoing mail, only incoming.
In 4.85 the following lines in
/etc/MailScanner/rules/scan.messages.rules fixed that for me.
Now it seems to scan them anyway. How come?</font></font></p>
<p><font face="Verdana,Arial,Helvetica" color="black" size="2"><font
face="Verdana,Arial,Helvetica" color="black" size="2">From:
192.168. no<br>
From: 127. no<br>
FromOrTo: default yes<br>
</font></font></p>
<p><font face="Verdana,Arial,Helvetica" color="black" size="2"><font
face="Verdana,Arial,Helvetica" color="black" size="2">/Daniel<br>
</font></font></p>
<br>
<div class="moz-cite-prefix">Den 2016-10-11 kl. 20:38, skrev Thom
van der Boon:<br>
</div>
<blockquote
cite="mid:2027468899.258577.1476211130490.JavaMail.zimbra@vdb.nl"
type="cite">
<div style="font-family: Helvetica; font-size: 12pt; color:
#000000">
<div>Hi Daniel,<br>
</div>
<div><br data-mce-bogus="1">
</div>
<div>Don't ignore the Pyzor error..... I had the same. You need
to solve it. Spamassassin isnt working correctly if you don't
solve it.<br>
</div>
<div><br data-mce-bogus="1">
</div>
<div>I found a solution somewhere via Google. <br
data-mce-bogus="1">
</div>
<div><br>
</div>
<div data-marker="__SIG_PRE__">
<div>Met vriendelijke groet, Best regards,</div>
<div><br>
</div>
<div><br style="font-family: helvetica;"
data-mce-style="font-family: helvetica;">
<span style="font-family: helvetica;"
data-mce-style="font-family: helvetica;">Thom van der Boon</span><br
style="font-family: helvetica;"
data-mce-style="font-family: helvetica;">
<span style="font-family: helvetica;"
data-mce-style="font-family: helvetica;">E-Mail:
<a class="moz-txt-link-abbreviated" href="mailto:thom@vdb.nl">thom@vdb.nl</a></span></div>
<div><br>
</div>
<div><br style="font-family: helvetica;"
data-mce-style="font-family: helvetica;">
<br style="font-family: helvetica;"
data-mce-style="font-family: helvetica;">
<span style="font-family: helvetica;"
data-mce-style="font-family: helvetica;">=====</span></div>
<div><br>
</div>
<div><br data-mce-bogus="1">
</div>
<div><br data-mce-bogus="1">
</div>
<div><span style="font-family: helvetica;"
data-mce-style="font-family: helvetica;">Thom.H. van der
Boon b.v.</span><br style="font-family: helvetica;"
data-mce-style="font-family: helvetica;">
<span style="font-family: helvetica;"
data-mce-style="font-family: helvetica;"></span><span
style="font-family: helvetica;"
data-mce-style="font-family: helvetica;">Transito 4</span></div>
<div><span style="font-family: helvetica;"
data-mce-style="font-family: helvetica;">6909 DA
Babberich<br style="font-family: helvetica;"
data-mce-style="font-family: helvetica;">
</span><span style="font-family: helvetica;"
data-mce-style="font-family: helvetica;">Tel.: +31 (0)88
4272727</span><br style="font-family: helvetica;"
data-mce-style="font-family: helvetica;">
<span style="font-family: helvetica;"
data-mce-style="font-family: helvetica;">Fax: +31 (0)88
4272789</span><br style="font-family: helvetica;"
data-mce-style="font-family: helvetica;">
<span style="font-family: helvetica;"
data-mce-style="font-family: helvetica;">Home Page:
<a class="moz-txt-link-freetext" href="http://www.vdb.nl/">http://www.vdb.nl/</a></span></div>
</div>
<br>
<hr id="zwchr" data-marker="__DIVIDER__">
<div data-marker="__HEADERS__"><b>Van: </b>"Daniel Malmgren"
<a class="moz-txt-link-rfc2396E" href="mailto:daniel@kolefors.se"><daniel@kolefors.se></a><br>
<b>Aan: </b>"MailScanner Discussion"
<a class="moz-txt-link-rfc2396E" href="mailto:mailscanner@lists.mailscanner.info"><mailscanner@lists.mailscanner.info></a><br>
<b>Verzonden: </b>Dinsdag 11 oktober 2016 20:29:51<br>
<b>Onderwerp: </b>Re: Problems after upgrade from 4.85 to
5.03<br>
</div>
<br>
<div data-marker="__QUOTED_TEXT__">Hi all.<br>
<br>
Thanks for all answers. When I ran MailScanner --debug I got
error <br>
messages about mailscanner not finding the custom functions
added by <br>
MailWatch. After some digging I found out that the custom
functions <br>
directory moved between 4.85 and 4.86. I had to redo some of
the steps <br>
on <a class="moz-txt-link-freetext" href="http://docs.mailwatch.org/doc/installing.html">http://docs.mailwatch.org/doc/installing.html</a> to get things
working <br>
again.<br>
<br>
Another question while I'm at it. When running in debug mode I
see this:<br>
<br>
pyzor: check failed: internal error, python traceback seen in
response<br>
<br>
Doesn't seem to do any harm, is it safe just to ignore it?
Tried <br>
upgrading pyzor (pip install --upgrade pyzor) but I still get
the same <br>
warning.<br>
<br>
/Daniel<br>
<br>
Den 2016-10-11 kl. 10:12, skrev Daniel Malmgren:<br>
> Hi<br>
> I've upgraded from mailscanner 4.85 to 5.03 and I think I
need some <br>
> help with getting things going after the upgrade. I'm
running postfix <br>
> so I have got things set up as per instruktions on <br>
> <a class="moz-txt-link-freetext" href="https://www.mailscanner.info/postfix/">https://www.mailscanner.info/postfix/</a>. After the upgrade
I got <br>
> permissions problems, so now I've changed "Run As Group"
to mtagroup <br>
> and "Incoming Work Permissions" to 0660 which made all
errors go away <br>
> and a check with --lint returns all fine. Now it seems
though that <br>
> MailScanner processes the same messages again and again,
like it's <br>
> stuck in a loop, see log snippet below. The messages seem
to stay in <br>
> postfix's hold queue.<br>
><br>
> Oct 11 09:29:39 cube MailScanner[10550]: MailScanner
Email Processor <br>
> version 5.0.3 starting...<br>
> Oct 11 09:29:39 cube MailScanner[10550]: Reading
configuration file <br>
> /etc/MailScanner/MailScanner.conf<br>
> Oct 11 09:29:39 cube MailScanner[10550]: Reading
configuration file <br>
> /etc/MailScanner/conf.d/README<br>
> Oct 11 09:29:40 cube MailScanner[10550]: Read 501
hostnames from the <br>
> phishing whitelist<br>
> Oct 11 09:29:40 cube MailScanner[10550]: Read 19224
hostnames from the <br>
> phishing blacklists<br>
> Oct 11 09:29:40 cube MailScanner[10550]: Config: calling
custom init <br>
> function SQLBlacklist<br>
> Oct 11 09:29:40 cube MailScanner[10550]: Config: calling
custom init <br>
> function SQLWhitelist<br>
> Oct 11 09:29:40 cube MailScanner[10550]: Config: calling
custom init <br>
> function MailWatchLogging<br>
> Oct 11 09:29:41 cube MailScanner[10550]: Using
SpamAssassin results cache<br>
> Oct 11 09:29:41 cube MailScanner[10550]: Connected to
SpamAssassin <br>
> cache database<br>
> Oct 11 09:29:41 cube MailScanner[10550]: Enabling
SpamAssassin <br>
> auto-whitelist functionality...<br>
> Oct 11 09:29:48 cube MailScanner[10538]: Connected to
Processing <br>
> Attempts Database<br>
> Oct 11 09:29:48 cube MailScanner[10538]: Found 2 messages
in the <br>
> Processing Attempts Database<br>
> Oct 11 09:29:48 cube MailScanner[10538]: Using locktype =
flock<br>
> Oct 11 09:29:48 cube MailScanner[10538]: Making attempt 4
at <br>
> processing message 9CC2E45321.A7F02<br>
> Oct 11 09:29:48 cube MailScanner[10538]: New Batch:
Scanning 1 <br>
> messages, 14245 bytes<br>
> Oct 11 09:29:49 cube MailScanner[10538]: Virus and
Content Scanning: <br>
> Starting<br>
> Oct 11 09:29:52 cube MailScanner[10550]: Connected to
Processing <br>
> Attempts Database<br>
> Oct 11 09:29:52 cube MailScanner[10550]: Found 2 messages
in the <br>
> Processing Attempts Database<br>
> Oct 11 09:29:52 cube MailScanner[10550]: Using locktype =
flock<br>
> Oct 11 09:30:41 cube MailScanner[10632]: MailScanner
Email Processor <br>
> version 5.0.3 starting...<br>
> Oct 11 09:30:41 cube MailScanner[10632]: Reading
configuration file <br>
> /etc/MailScanner/MailScanner.conf<br>
> Oct 11 09:30:41 cube MailScanner[10632]: Reading
configuration file <br>
> /etc/MailScanner/conf.d/README<br>
> Oct 11 09:30:41 cube MailScanner[10632]: Read 501
hostnames from the <br>
> phishing whitelist<br>
> Oct 11 09:30:42 cube MailScanner[10632]: Read 19224
hostnames from the <br>
> phishing blacklists<br>
> Oct 11 09:30:42 cube MailScanner[10632]: Config: calling
custom init <br>
> function SQLWhitelist<br>
> Oct 11 09:30:42 cube MailScanner[10632]: Config: calling
custom init <br>
> function MailWatchLogging<br>
> Oct 11 09:30:42 cube MailScanner[10632]: Config: calling
custom init <br>
> function SQLBlacklist<br>
> Oct 11 09:30:43 cube MailScanner[10632]: Using
SpamAssassin results cache<br>
> Oct 11 09:30:43 cube MailScanner[10632]: Connected to
SpamAssassin <br>
> cache database<br>
> Oct 11 09:30:43 cube MailScanner[10632]: Enabling
SpamAssassin <br>
> auto-whitelist functionality...<br>
> Oct 11 09:30:54 cube MailScanner[10632]: Connected to
Processing <br>
> Attempts Database<br>
> Oct 11 09:30:54 cube MailScanner[10632]: Found 2 messages
in the <br>
> Processing Attempts Database<br>
> Oct 11 09:30:54 cube MailScanner[10632]: Using locktype =
flock<br>
> Oct 11 09:33:09 cube MailScanner[10550]: Making attempt 5
at <br>
> processing message 9CC2E45321.A7F02<br>
> Oct 11 09:33:09 cube MailScanner[10550]: New Batch:
Scanning 1 <br>
> messages, 14245 bytes<br>
> Oct 11 09:33:09 cube MailScanner[10550]: Virus and
Content Scanning: <br>
> Starting<br>
><br>
> Since I don't get any errors I don't really where to
continue looking. <br>
> Anyone see anything obvious?<br>
><br>
> I'm using MailWatch, Debian 8.6 and postfix 2.11.3.<br>
><br>
> /Daniel<br>
><br>
><br>
<br>
<br>
<br>
-- <br>
MailScanner mailing list<br>
<a class="moz-txt-link-abbreviated" href="mailto:mailscanner@lists.mailscanner.info">mailscanner@lists.mailscanner.info</a><br>
<a class="moz-txt-link-freetext" href="http://lists.mailscanner.info/mailman/listinfo/mailscanner">http://lists.mailscanner.info/mailman/listinfo/mailscanner</a><br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">
</pre>
</blockquote>
<br>
</body>
</html>