This is a discussion on Re: [AMaViS-user] Where to specify Pyzor and DCC options for SpamAssassin within the Amavis User forums, part of the Anti-Spam and Anti-Virus Related Forums category; Hello Doug, Friday, March 11, 2005, 11:39:53 AM, you wrote: > I'm trying to find out why ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hello Doug,
Friday, March 11, 2005, 11:39:53 AM, you wrote: > I'm trying to find out why amavis isn't using Pyzor. When I call > spamassassin from the command line, it uses Pyzor, Razor2, and DCC. But > from amavis, only Razor2 gets used. > I've read that we are supposed to specify SpamAssassin options in the > amavisd.conf file. So I tried to put the following options from > /etc/mail/spamassassin/local.cf into /etc/amavisd.conf: > ************************************************** ***** > # enable DCC checking > use_dcc 1 > add_header all DCC _DCCB_: _DCCR_ > # enable razor2 checking > use_razor2 1 > # enable pyzor checking > use_pyzor 1 > add_header all Pyzor _PYZOR_ > #Set Pyzor home directory > pyzor_options --homedir /etc/mail/spamassassin > ************************************************** ***** > However, amavis didn't like them there. How do we know which SA options > should be put into amavisd.conf and which should stay in local.cf? How > can I get amavis to use Pyzor and DCC? > Thanks! > Doug No, amavisd-new does not like spamassassin settings it its config file. You don't put any SA options in amavisd.conf, you put amavisd-new options in amavisd.conf. Look for amavisd-new options that begin with $sa_. See http://www.ijs.si/software/amavisd/#faq-spam To properly test, run spamassassin as your amavis user (if possible). For example: su amavis -c 'spamassassin --lint -D' (or run 'amavisd debug-sa' and send some real mail through) For DCC, I configure DCC to run as the amavis user before I compile: ../configure --with-uid=vscan && make && make install give it a try. Pyzor needs to be world readable and executable. chmod -R a+rX /usr/share/doc/pyzor /usr/bin/pyzor /usr/bin/pyzord chmod -R a+rX /usr/lib/python2.3/site-packages/pyzor Exactly what error does Pyzor give? Personal opinion: If you don't get Pyzor to work, you are not missing much. It seems not enough people submit spam to Pyzor to make it of much use anymore. I see no need to use any of the settings you have above in local.cf. DCC, Razor2 and Pyzor are enabled by default. Try removing them from local.cf if you have them there. Gary Verchick ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/...fo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/ |