Ricardo Kleemann wrote:
> 
> I have a question about this... I've seen in the past filters getting 
> hung because of spamhaus or razor. If the spamhaus or razor/pyzor/dcc 
> servers are not available, how does that affect courier? If a lot of 
> messages come in and every message is getting hung on waiting for a 
> timeout, it will cause a significant backup of the mail queue. At least 
> I've seen this in the past, I don't know if anything has been done to 
> resolve that. So I've been staying away from those recently.

If you're doing those tests in maildrop, you'll see a backup in your 
queue.  If you're doing the tests via pythonfilter, then the mail will 
back up in someone else's queue.  If you're not doing the tests at all, 
you get a lot of spam in your mailboxes.  Take your pick. :)

> Do I need to do anything special for setting up razor/pyzor/dcc?

Make sure that these lines are not commented in 
/etc/mail/spamassassin/v310.pre:

loadplugin Mail::SpamAssassin::Plugin::DCC
loadplugin Mail::SpamAssassin::Plugin::Pyzor
loadplugin Mail::SpamAssassin::Plugin::Razor2

Each of the three requires a small amount of configuration:

test -d /etc/razor -a ! -f /etc/razor/razor-agent.conf && {
         razor-admin -home=/etc/razor -register
         razor-admin -home=/etc/razor -create
         razor-admin -home=/etc/razor -discover
}

test -d /etc/pyzor -a ! -f /etc/pyzor/servers && \
         pyzor --homedir /etc/pyzor discover

DCC needs you to edit /etc/dcc/dcc_conf and set:
DCCIFD_ENABLE=on

You should also edit /etc/dcc/whiteclnt and add "submit" lines for your 
private or client networks.

And it needs to run on startup.  I use:

ln -s ../../../usr/libexec/dcc/rcDCC /etc/init.d/DCC
chkconfig --add DCC



------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to