[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vps-mail] Spamassassin stopped working on all my vps2's



On Thu, Mar 04, 2004 at 09:52:59AM -0800, AJ Willmer wrote:
> SpamAssassin stopped working on all my VPS2's about 6 hours ago.
> 
> I seemed to have 'heard' that the VPS2's were getting a kernel upgrade and I
> assume this may be the cause.
> 
> After much struggling and reinstalling SpamAssassin (btw MCPAN installation
> now passes the test phase with NO errors), I am not able to get spamc/spamd
> working. Procmail and CLAMAV are functioning just fine.
> 
> I suspect that my spamc call out of .procmailrc may be the culprit. Could
> someone post the correct syntax.

Here's the recommended syntax:

    :0fw
    |/usr/local/bin/spamc -U /var/run/spamd.sock

spamd should be launched thusly:

    spamd -d --socketpath=/var/run/spamd.sock --pidfile=/var/run/spamd.pid

Put the following in your /etc/crontab (all one line, in case your
client wraps it):

    @reboot    root    /usr/local/bin/spamd --daemonize --socketpath=/var/run/spamd.sock --pidfile=/var/run/spamd.pid

Others may have different preferences; this is a minimalist's (me)
installation.

Scott
-- 
Scott Wiersdorf
scottw@xxxxxxxxxxxx
======================================================================
This is <vps-mail@xxxxxxxxxxxx>       <http://www.perlcode.org/lists/>
Before posting a question, please search the archives (see above URL).


Main Index | Thread Index
Match: Format: Sort by:
Search: