Pyzor

http://wiki.apache.org/spamassassin/UsingPyzor

Patching pyzor 0.40: http://am3n.profusehost.net/post/index/60/warn-pyzor-check-failed-internal-error

warn: pyzor: check failed: internal error

:::resolution:::

==download==
wget http://kent.dl.sourceforge.net/sourceforge/pyzor/pyzor-0.4.0.tar.bz2

==extract==
tar xjvf pyzor-0.4.0.tar.bz2

cd pyzor-0.4.0
==patching==
wget http://antispam.imp.ch/patches/patch-pyzor-handle_unknown_encodings
wget http://antispam.imp.ch/patches/patch-pyzor-unknowntype
patch -p0 < patch-pyzor-handle_unknown_encodings
patch -p0 < patch-pyzor-unknowntype

==setup==
python setup.py build
python setup.py install
pyzor discover

check on spamd log and no more pyzor error
mirror/copy of patches is available at
http://am3n.profusehost.net/files/patch-pyzor-handle_unknown_encodings
http://am3n.profusehost.net/files/patch-pyzor-unknowntype

1- yum install pyzor
2- chmod -R a+rX /usr/share/doc/pyzor /usr/lib/python2.4/site-packages/pyzor /usr/bin/pyzor /usr/bin/pyzord
3- yum install gdbm
4- python -c 'import gdbm'
5- pyzor —homedir /etc/mail/spamassassin discover
6- chmod 777 /etc/mail/spamassassin/servers
7- Add to /etc/mail/spamassassin/local.cf:

  1. Utilisation de Pyzor

use_pyzor 1

  1. Chemin vers la liste de serveur de pyzor

pyzor_options —homedir /etc/mail/spamassassin
7- service spamassassin restart

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License