> Hi guys,
>
> I just recently updated to the current version of the toaster and
> everything is going great, except that spamd doesn't seem to start
> automatically. I've started it manually with:
>
> spamd -L -x -u vpopmail -s stderr
>
> but that's getting old. I installed everything using Nick's scripts on
> CentOS4. I'm not at all sure what is supposed to be starting spamd.
>
> Thanks,
>
> Robert
>
>

Hi Robert,

When you do qmailctl stat, do you see something like this (note spamd):

[EMAIL PROTECTED] ~]# qmailctl stat
clamd: up (pid 13797) 2369169 seconds
imap4: up (pid 13776) 2369169 seconds
imap4-ssl: up (pid 13783) 2369169 seconds
pop3: up (pid 13770) 2369169 seconds
pop3-ssl: up (pid 13803) 2369169 seconds
send: up (pid 13754) 2369169 seconds
smtp: up (pid 13749) 2369169 seconds
spamd: up (pid 13795) 2369169 seconds
clamd/log: up (pid 13799) 2369169 seconds
imap4/log: up (pid 13778) 2369169 seconds
imap4-ssl/log: up (pid 13766) 2369169 seconds
pop3/log: up (pid 13773) 2369169 seconds
pop3-ssl/log: up (pid 13806) 2369169 seconds
send/log: up (pid 13756) 2369169 seconds
smtp/log: up (pid 13752) 2369169 seconds
spamd/log: up (pid 13810) 2369169 seconds

If you do not, do cat the spamd supervise run file and you should see this:

[EMAIL PROTECTED] ~]# cat /var/qmail/supervise/spamd/run
#!/bin/sh
exec /usr/bin/spamd -L -x -u vpopmail -s stderr 2>&1

If you have the run file and are getting a repeating error, cat the spamd
log run file and you should see this:

[EMAIL PROTECTED] ~]# cat /var/qmail/supervise/spamd/log/run
#!/bin/sh
LOGSIZE=`cat /var/qmail/control/logsize`
LOGCOUNT=`cat /var/qmail/control/logcount`
exec /usr/bin/setuidgid qmaill /usr/bin/multilog t s$LOGSIZE n$LOGCOUNT 
/var/log/qmail/spamd

(The last two lines are actually all on one line)

If, for some reason, the supervise files were not installed correctly,
install the binary again:

rpm -Uvh --replacefiles --replacepkgs spamassassin-toaster*.rpm

I hope this helps.

Regards,

Nick


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to