Worried that I might be preventing all mail from passing through the system, I 
rebooted the server after disabling SpamAssassin and ClamAV, so they're running 
again.  My remote mail queue is continuing to grow -- there are now 79,110 
messages in the remote queue.  ps -ax | grep -c qmail-remote reports that there 
are 87 processes pumping out e-mail responses to people around the globe who 
probably don't exist that purportedly sent e-mail messages to non-existent 
e-mail addresses at this domain.  I apologize to everyone for my unintentional 
contributions to the global Spam problem.   

Here's my /usr/local/etc/rc.d/sa-spamd.sh script:

#!/bin/sh
#
# $FreeBSD: ports/mail/p5-Mail-SpamAssassin/files/spamd.sh,v 1.13 2006/02/09 
07:38:20 sem Exp $
#

# PROVIDE: spamd
# REQUIRE: LOGIN
# BEFORE: mail
# KEYWORD: shutdown

#
# Add the following lines to /etc/rc.conf to enable spamd:
#
#spamd_enable="YES"
#
# See spamd(8) for flags
#

. /etc/rc.subr

name=spamd
rcvar=`set_rcvar`

load_rc_config $name

# Set defaults
: ${spamd_enable:="NO"}
: ${spamd_flags="-c  "}

pidfile=${spamd_pidfile:-"/var/run/spamd/spamd.pid"}
command=/usr/local/bin/spamd
command_args="-d -r ${pidfile}"
required_dirs=/usr/local/share/spamassassin

stop_postcmd=stop_postcmd

stop_postcmd()
{
  rm -f $pidfile
}

run_rc_command "$1"

-------

At 10:16 PM 8/19/2007, Gary V wrote:
>>After stopping SpamAssassin messages like these are appearing in 
>>/var/log/maillog:
>>
>>Aug 19 21:23:19 erebus spamc[20803]: connect(AF_INET) to spamd at 127.0.0.1 
>>failed, retrying (#3 of 3): Connection refused
>>Aug 19 21:23:20 erebus spamc[20853]: connect(AF_INET) to spamd at 127.0.0.1 
>>failed, retrying (#2 of 3): Connection refused
>>Aug 19 21:23:20 erebus spamc[20879]: connect(AF_INET) to spamd at 127.0.0.1 
>>failed, retrying (#1 of 3): Connection refused
>>Aug 19 21:23:20 erebus spamc[20887]: connect(AF_INET) to spamd at 127.0.0.1 
>>failed, retrying (#1 of 3): Connection refused
>>Aug 19 21:23:20 erebus spamc[20821]: connect(AF_INET) to spamd at 127.0.0.1 
>>failed, retrying (#3 of 3): Connection refused
>>
>>Is this a problem or can I ignore them?
>
>I would think stopping these may prevent any mail from passing through your 
>system. If you can't figure out how to reconfigure qmail to stop sending mail 
>to spamd then you might consider adding the --local argument to the spamd 
>daemon. This would make spamd run considerably faster (but it would not detect 
>spam as well as before). Maybe if SA ran faster mail would start to flow. This 
>means you would have to be skilled enough to figure out where to place this in 
>/usr/local/etc/rc.d/sa-spamd.sh. Then you would restart spam via that 
>initscript. If you like, post that script so someone can offer instructions.
>
>Gary V
>
>_________________________________________________________________
>Puzzles, trivia teasers, word scrambles and more. Play for your chance to win! 
>http://club.live.com/home.aspx?icid=CLUB_hotmailtextlink
>
>

Reply via email to