<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
Thanks Jerry. I fixed weird permissions on the folder and things
seem to be behaving now.<br>
<br>
Steve<br>
<br>
<br>
<div class="moz-cite-prefix">On 12/8/2015 9:22 PM, Jerry Benton
wrote:<br>
</div>
<blockquote
cite="mid:4CF7AA19-F133-4ACF-932A-18FD96EF474F@mailborder.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
Check which user and group you are running under. Also check the
permissions. I personally like to create a group called mtagroup
and add postfix, clamav, and whatever other users to it. I then
use that group in MailScanner with group write permissions.
Eliminates the permission issues. <br class="">
<div apple-content-edited="true" class="">
<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; orphans: auto; text-align: start; text-indent: 0px;
text-transform: none; white-space: normal; widows: auto;
word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br
class="Apple-interchange-newline">
-</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; orphans: auto; text-align: start; text-indent: 0px;
text-transform: none; white-space: normal; widows: auto;
word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">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; orphans: auto; text-align: start; text-indent: 0px;
text-transform: none; white-space: normal; widows: auto;
word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><a
moz-do-not-send="true" href="http://www.mailborder.com"
class=""><a class="moz-txt-link-abbreviated" href="http://www.mailborder.com">www.mailborder.com</a></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; orphans: auto; text-align: start; text-indent: 0px;
text-transform: none; white-space: normal; widows: auto;
word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br
class="">
</div>
<br class="Apple-interchange-newline">
</div>
<br class="">
<div>
<blockquote type="cite" class="">
<div class="">On Dec 8, 2015, at 9:02 PM, Steve Weigold <<a
moz-do-not-send="true"
href="mailto:steve@weigoldenterprises.com" class=""><a class="moz-txt-link-abbreviated" href="mailto:steve@weigoldenterprises.com">steve@weigoldenterprises.com</a></a>>
wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<meta content="text/html; charset=utf-8"
http-equiv="Content-Type" class="">
<div bgcolor="#FFFFFF" text="#000000" class=""> <br
class="">
Some follow on information.... I expected all of the
details to be in mail.log and didn't think to check
syslog. :-( More details there:<br class="">
<br class="">
Dec 8 11:40:35 gw1 mailscanner[4195]: Dec 8 11:40:35.083
[4334] dbg: pyzor: got response: Traceback (most recent
call last):\n File "/usr/bin/pyzor", line 8, in
<module>\n pyzor.client.run()\n File
"/usr/lib/pymodules/python2.7/pyzor/client.py", line 1022,
in run\n ExecCall().run()\n File
"/usr/lib/pymodules/python2.7/pyzor/client.py", line 180,
in run\n os.mkdir(homedir)\nOSError: [Errno 13] Permission
denied: '/var/spool/postfix/.pyzor'<br class="">
Dec 8 11:40:35 gw1 mailscanner[4195]: pyzor: check
failed: internal error, python traceback seen in response<br
class="">
<br class="">
Obviously I have a permissions issue. Now I need to
understand why it's trying to use /var/spool/postfix for
.pyzor instead of /var/spool/MailScanner.<br class="">
<br class="">
I also clicked around more and found the archive search
mechanism.<br class="">
<br class="">
Words of wisdom appreciated.<br class="">
<br class="">
Steve<br class="">
<br class="">
<br class="">
<div class="moz-cite-prefix">On 12/8/2015 8:44 PM, Steve
Weigold wrote:<br class="">
</div>
<blockquote
cite="mid:56678776.6020401@weigoldenterprises.com"
type="cite" class="">Greetings <br class="">
<br class="">
Apologies if this has been asked before, but while I
found the list archive, I couldn't find a means to
search it and considering it goes back many years,
scanning by hand seemed a bit overwhelming. If there's a
search capability for it that I've missed, please let me
know. <br class="">
<br class="">
Anyway, I have a new server I've setup to be a spam
filter gateway. It's a clean install of Debian Jessie
with MailScanner and Postfix with what I believe to be
the latest versions. Generally, the system is working,
but I'm still getting much more spam than I should be.
Reviewing the logs, I can see that I'm getting
relatively low spam scores even on what I'd consider
obvious spam emails. <br class="">
<br class="">
This lead me down the path of what else could be done
with spamassassin, which got me to Pyzor, Razor and
DCC. At the moment, DCC isn't installed. I guess it
was removed from the repository because it's non-free?
Pyzor and Razor are installed, and somehow, I think I
have Razor working, at least based on the fact that I
see log entries like this one: <br class="">
<br class="">
Dec 8 20:33:02 gw1 MailScanner[16071]: Message
0005D140024.A1747 from 198.173.85.230 (<a
moz-do-not-send="true"
class="moz-txt-link-abbreviated"
href="mailto:amazon-promotional-credit@urfhe.selectweddingbands.com"><a class="moz-txt-link-abbreviated" href="mailto:amazon-promotional-credit@urfhe.selectweddingbands.com">amazon-promotional-credit@urfhe.selectweddingbands.com</a></a>)
to <a moz-do-not-send="true" href="http://acnoc.net"
class="">acnoc.net</a> is not spam, SpamAssassin (not
cached, score=5.497, required 6, RAZOR2_CF_RANGE_51_100
0.36, RAZOR2_CF_RANGE_E8_51_100 2.43, RAZOR2_CHECK 1.73,
SPF_SOFTFAIL 0.97, URIBL_BLOCKED 0.00) <br class="">
<br class="">
I'm not sure Pyzor is working though, and when I run
MailScanner --lint, I get this: <br class="">
<br class="">
pyzor: check failed: internal error, python traceback
seen in response <br class="">
<br class="">
I've googled ad nauseum and I'm getting nowhere. <br
class="">
<br class="">
In spam.assassin.prefs.conf, I have: <br class="">
pyzor_options --homedir /var/spool/MailScanner/ <br
class="">
<br class="">
and permissions on that folder seem OK <br class="">
drwxr-xr-x 6 postfix postfix 4096 Dec 8 19:52
MailScanner <br class="">
<br class="">
Inside it, Pyzor's servers file: <br class="">
-rwxrwxr-x 1 postfix postfix 23 Dec 8 19:52 servers <br
class="">
<br class="">
Help? <br class="">
<br class="">
Thanks! <br class="">
Steve <br class="">
<br class="">
<br class="">
<br class="">
<br class="">
<br class="">
</blockquote>
</div>
</div>
</blockquote>
</div>
</blockquote>
<br>
</body>
</html>