[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Really, really dumb question - startup sequence for sendmail/spamass
From: |
Dan Nelson |
Subject: |
Re: Really, really dumb question - startup sequence for sendmail/spamassassin/spamass-milter |
Date: |
Thu, 6 Feb 2003 09:07:15 -0600 |
User-agent: |
Mutt/1.5.3i |
In the last episode (Feb 05), Terry Kennedy said:
> I have a really dumb question. What is the recommended start
> sequence for sendmail (8.12.7, both the sendmail-mta and
> sendmail-queue daemons), spam- assassin (2.44, with spamd), and
> spamass-milter (0.1.3a) on a BSD/OS (should be similar to the other
> *BSD's) system?
>
> I had this working in the past with the following in /etc/rc:
>
> /usr/sbin/sendmail -L sm-mta -bd -q30m
> /usr/sbin/sendmail -L sm-msp-queue -Ac -q30m
>
> and then in /etc/rc.local doing:
>
> /usr/bin/spamd -d -u spamd
> /usr/local/bin/spamass-milter -f -p /var/run/spamass.sock
>
> This was working until I upgraded all of the software (sendmail
> from 8.12.6 to 8.12.7, spamassassin from 2.43 to 2.44, and
> spamass-milter from 1.2 to 1.3a). On a reboot, I got:
>
> Feb 5 03:58:34 gate sm-mta[248]: starting daemon (8.12.7):
> address@hidden:30:00
> Feb 5 03:58:34 gate sm-msp-queue[251]: starting daemon (8.12.7):
> address@hidden:30:00
> Feb 5 03:58:46 gate spamass-milter[322]: spamass-milter 0.1.3a starting
> Feb 5 03:58:48 gate spamd[320]: server started on port 783 (running version
> 2.44)
> Feb 5 03:58:52 gate spamass-milter[322]: spamass-milter 0.1.3a exiting
> Feb 5 04:00:59 gate sm-mta[522]: h1590mvx000522: Milter (spamassassin):
> local socket name /var/run/spamass.sock unsafe
> Feb 5 04:00:59 gate sm-mta[522]: h1590mvx000522: Milter (spamassassin): to
> error state
This might be due to a /var/run directory with too-open permissions;
make sure it's not writable by group or other. Sendmail has a bad
habit of crying "Insecure file/directory" without telling you exactly
what is wrong...
It shouldn't matter which order sendmail and the milter run in. If
sendmail starts before milters, you get a "WARNING: Xspamassassin:
local socket name /var/run/spamass.sock missing" message, but as soon
as the milter is started sendmail should start using it.
--
Dan Nelson
address@hidden