|
From: Sebastian K. <sko...@lo...> - 2010-04-29 05:48:09
|
Hi,
my initial Problem was this:
i tried to test my Spamassassin / Pyzor / Razor Setup with the GTUBE
Test (i think everyone knows what this is).
I first send me the GTUBE Test via Mail which reported me this in the
summary:
---
1000 GTUBE BODY: Generic Test for Unsolicited Bulk Email
0.0 HTML_MESSAGE BODY: HTML included in message
---
thats all.
when i run the same test on the console i get this summary:
---
-0.0 NO_RELAYS Informational: message was not relayed via SMTP
1000 GTUBE BODY: Generic Test for Unsolicited Bulk Email
2.7 RAZOR2_CF_RANGE_51_100 Razor2 gives confidence level above 50%
[cf: 100]
0.5 RAZOR2_CF_RANGE_E4_51_100 Razor2 gives engine 4 confidence level
above 50%
[cf: 100]
1.8 RAZOR2_CHECK Listed in Razor2 (http://razor.sf.net/)
4.8 PYZOR_CHECK Listed in Pyzor (http://pyzor.sf.net/)
0.0 DIGEST_MULTIPLE Message hits more than one network digest
check
-0.0 NO_RECEIVED Informational: message has no Received headers
---
also Razor and Pyzor are reported / checked.
i then saw the exit 1 (also without having debug on in SA/Pyzor) in the
Mail log and thought that there is something wrong...so i started
investigating.
Maybe it is okay that pyzor delivers exit 1 on an none spam mail und
maybe the parse errors are only because of the debug mode, but why is
pyzor reporting something when the GTUBE test ist used on console but
not if GTUBE test is used via Mail?
And why do i get an exit 0 from pyzor when i use him on the GTUBE test
on console and an exit 1 when he is running over the GTUBE test in an
incoming email?
spamassassin via eMail => exit 1:
---
Apr 28 15:10:43 mail spamd[19721]: pyzor: opening pipe: /usr/bin/pyzor
--homedir /var/vmail/.pyzor check < /tmp/.spamassassin19721QlsZUItmp
Apr 28 15:10:43 mail spamd[19760]: util: setuid: ruid=5000 euid=5000
Apr 28 15:10:43 mail spamd[19721]: pyzor: [19760] finished: exit 1
Apr 28 15:10:43 mail spamd[19721]: pyzor: got response:
public.pyzor.org:24441 (200, 'OK') 0 0
---
spamassassin via Console => exit 0 :
---
Apr 28 15:37:34.368 [26581] dbg: pyzor: opening pipe: /usr/bin/pyzor
--homedir /var/vmail/.pyzor check < /tmp/.spamassassin26581NSj6S4tmp
Apr 28 15:37:34.374 [26582] dbg: util: setuid: ruid=5000 euid=5000
Apr 28 15:37:34.418 [26581] dbg: pyzor: [26582] finished successfully
Apr 28 15:37:34.418 [26581] dbg: pyzor: got response:
public.pyzor.org:24441 (200, 'OK') 183 0
---
on both checks i used the same GTUBE test (via Mail in an email and via
console in a file)
Maybe one of you can explain to me, if this is not wrong.
Best regards
Sebastian
Am 29.04.2010 00:41, schrieb Tony Meyer:
>> pyzor always quits with exit 1.
>>
> As Andreas said, an exit code of 1 indicates that the message was not
> reported. That is correct behaviour.
>
>
>> i then activated the debug mode (-d).
>>
> I don't believe that the SA plug-in understands the debug output.
> You'd have to check that with the SA folk.
>
> ?What exactly is the problem that you are having (when debug output is
> not enabled)? Just that you saw an exit code of 1? Or you had an
> actual problem?
>
> Thanks,
> Tony
>
> ------------------------------------------------------------------------------
> _______________________________________________
> pyzor-users mailing list
> pyz...@li...
> https://lists.sourceforge.net/lists/listinfo/pyzor-users
>
|