BCC wrote: > Hello happy SpamAssassin users, > > Every night, I stop Postfix, stop SA, force-expire bayes db, > restart SA, restart Postfix. This goes fine most of the time, > but sometimes I run into problems. > > The problems arise around once a week or so : spamc cannot > connect to spamd, saying the following in the maillog file : > > Dec 15 04:25:15 server spamc[18803]: connect(AF_INET) to > spamd at 127.0.0.1 failed, retrying (#1 of 3): Connection refused > > When this happens, manually restarting spamd resolves the problem. > Until next time. > > As there is no apparent reason for spamd to die (or not to restart > correctly) in the maillog file, I now start spamd without > using '-d', in order to log stderr and stdout messages in a > separate file. I am now using the following command to start spamd : > > /usr/bin/spamd -c -u spam >/var/log/test_spamd. > `/bin/date +%Y%m%d%H%M`.log 2>&1 & > > The problem occured again, and I catched the following from > spamd output >> What is the output of netstat?
Mr Michele Neylon Blacknight Internet Solutions Ltd Hosting, co-location & domains http://www.blacknight.ie/ Tel. +353 59 9137101 http://www.blacknight.ie/specialoffers.html