|
From: Sebastian K. <sko...@lo...> - 2010-04-28 21:22:57
|
i now tried the latest pyzor version but get the same parse erros in the maillog Am 28.04.2010 19:14, schrieb Sebastian Kösters: > Hi, > > i am using pyzor-0.4.0-11.el5 on CentOS 5 with spamassassin-3.3.1-3. > > Spamassassin works fine in postfix, but pyzor does not. > > maillog: > > [...] > 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 > [...] > > pyzor always quits with exit 1. > > i then activated the debug mode (-d). > > maillog: > > Apr 28 18:10:23 mail spamd[5754]: pyzor: opening pipe: /usr/bin/pyzor -d > --homedir /var/vmail/.pyzor check< /tmp/.spamassassin57546sMuqLtmp > Apr 28 18:10:23 mail spamd[5819]: util: setuid: ruid=5000 euid=5000 > Apr 28 18:10:23 mail spamd[5754]: pyzor: [5819] finished: exit 1 > Apr 28 18:10:23 mail spamd[5754]: pyzor: got response: sending: 'User: > anonymous\nTime: 1272471023\nSig: > 16a37f696e317cfd4dea8323fdf93ba645b4be32\n\nOp: check\nOp-Digest: > da5fba2e21653a9de1187a39bc0426b898de5c03\nThread: 37970\nPV: > 2.0\n\n'\nreceived: 'Thread: 37970\nCount: 0\nWL-Count: 0\nCode: > 200\nDiag: OK\nPV: 2.0\n\n'\npublic.pyzor.org:24441 (200, 'OK') 0 0 > Apr 28 18:10:23 mail spamd[5754]: dns: leaving helper-app run mode > Apr 28 18:10:23 mail spamd[5754]: pyzor: failure to parse response > "sending: 'User: anonymous\nTime: 1272471023\nSig: > 16a37f696e317cfd4dea8323fdf93ba645b4be32\n\nOp: check\nOp-Digest: > da5fba2e21653a9de1187a39bc0426b898de5c03\nThread: 37970\nPV: 2.0\n\n'" > Apr 28 18:10:23 mail spamd[5754]: pyzor: failure to parse response > "received: 'Thread: 37970\nCount: 0\nWL-Count: 0\nCode: 200\nDiag: > OK\nPV: 2.0\n\n'" > > > this does not help me :-/ > > When i test spamassassin and pyzor from console everything works fine: > > > su - vmail -c "spamassassin -D< /var/vmail/sample-spam.txt" > > > 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 > > pyzor with debug on: > > su - vmail -c "/usr/bin/pyzor -d --homedir /var/vmail/.pyzor check< > /var/vmail/sample-spam.txt" > > > sending: 'User: anonymous\nTime: 1272474781\nSig: > f60b585c499d9ac86cd9ecdc29d58c467cf102cc\n\nOp: check\nOp-Digest: > d152948f7f029b35691afa499c145797558b2fff\nThread: 59481\nPV: 2.0\n\n' > received: 'Thread: 59481\nCount: 183\nWL-Count: 0\nCode: 200\nDiag: > OK\nPV: 2.0\n\n' > public.pyzor.org:24441 (200, 'OK') 183 0 > > > my local.cf: > > --- > # These values can be overridden by editing ~/.spamassassin/user_prefs.cf > # (see spamassassin(1) for details) > > # These should be safe assumptions and allow for simple visual sifting > # without risking lost emails. > > required_hits 5 > required_score 2.0 > report_safe 1 > rewrite_header Subject [***** SPAM _SCORE_ *****] > add_header all Status _YESNO_, score=_SCORE_ required=_REQD_ > tests=_TESTSSCORES(,)_ _PYZOR_ _RBL_ autolearn=_AUTOLEARN_ version=_VERSION_ > > # Enable the Bayes system > use_bayes 1 > use_bayes_rules 1 > bayes_path /var/vmail/.spamassassin/bayes > # Enable Bayes auto-learning > bayes_auto_learn 1 > > # Enable or disable network checks > skip_rbl_checks 0 > > use_razor2 1 > razor_config /var/vmail/.razor/razor-agent.conf > razor_timeout 10 > > use_pyzor 1 > pyzor_path /usr/bin/pyzor > pyzor_options --homedir /var/vmail/.pyzor > pyzor_max 15 > pyzor_timeout 15 > > #bayes punkte > score BAYES_00 -6.1 > score BAYES_01 -5.0 > score BAYES_10 -3.5 > score BAYES_20 -2.0 > score BAYES_30 -1.0 > score BAYES_40 -0.3 > score BAYES_44 -0.01 > score BAYES_50 0.01 > score BAYES_56 0.3 > score BAYES_60 1.0 > score BAYES_70 1.6 > score BAYES_80 3.1 > score BAYES_90 5.2 > score BAYES_99 7.2 > > #razor punkte > score RAZOR2_CHECK 1.8 > score RAZOR2_CF_RANGE_11_50 0.32 > score RAZOR2_CF_RANGE_51_100 2.7 > > #pyzor punkte > score PYZOR_CHECK 4.8 > > #sonstige punkte > score SUBJ_ILLEGAL_CHARS 2.6 > score PORN_4 3.7 > score RCVD_IN_RFCI 2.0 > score RCVD_IN_ORBS 1.0 > score RCVD_IN_DSBL 1.0 > score RCVD_IN_SBL 0.5 > score RCVD_IN_VISI 1.0 > score RCVD_IN_RFCI 0.5 > score RCVD_IN_SORBS 0.5 > score X_NJABL_OPEN_PROXY 0.5 > score RCVD_IN_UNCONFIRMED_DSBL 0.2 > score RCVD_IN_BL_SPAMCOP_NET 1.1 > score RCVD_IN_VISI 0.3 > score RCVD_IN_RELAYS_ORDB_ORG 0.3 > score USER_AGENT_MACOE 1.0 > score NIGERIAN_TRANSACTION_1 1.5 > score MICROSOFT_EXECUTABLE 3.100 > score MIME_SUSPECT_NAME 3.100 > score RCVD_IN_BONDEDSENDER -6.0 > score HABEAS_HIL_RBL -6.0 > score X_LIST_UNSUBSCRIBE 0.5 > score EMAIL_ATTRIBUTION -0.5 > score IN_REP_TO -0.5 > score QUOTED_EMAIL_TEXT -0.5 > score REPLY_WITH_QUOTES -0.5 > score HTML_IMAGE_ONLY_02 1.978 > score HTML_IMAGE_ONLY_04 2.087 > score HTML_IMAGE_ONLY_06 1.228 > score HTML_IMAGE_ONLY_08 0.984 > score HTML_IMAGE_ONLY_10 0.843 > score HTML_IMAGE_ONLY_12 0.487 > score EMAIL_ATTRIBUTION -1 > score MSGID_GOOD_EXCHANGE -1 > > # Reports > clear_report_template > report Diese Mail wurde vom SpamAssassin Spam-Filter als Spam erkannt. > report Sollte diese Nachricht zu Unrecht als Spam markiert worden sein, > report bitte diese Mail an sp...@do... weiterleiten > report > report Vielen Dank! > report > report Die Originalnachricht ist dieser E-Mail als Anhang beigefuegt. > report > report Content analysis details: (_HITS_ points, _REQD_ required) > report > report > report Zusammenfassug: > report > report _SUMMARY_ > > > clear_unsafe_report_template > unsafe_report Diese Nachricht ist nicht komplett in plain text gewesen, > so dass es > unsafe_report evtl. gefaehrlich ist, sie zu oeffnen, da die Mail > moeglicherweise > unsafe_report einen Virus enthalten koennte Wer sie dennoch anschauen > moechte, sollte > unsafe_report dafuer besser einen Editor verwenden! > --- > > > my master.cf: > > --- > > smtp inet n - n - - smtpd > -o content_filter=spamassassin > [....] > spamassassin unix - n n - - pipe > user=vmail argv=/usr/bin/spamc -f -e > /usr/sbin/sendmail -oi -f ${sender} ${recipient} > --- > > Hope one of you guys can help me. > > Best regards > Sebastian > > ------------------------------------------------------------------------------ > _______________________________________________ > pyzor-users mailing list > pyz...@li... > https://lists.sourceforge.net/lists/listinfo/pyzor-users > |