John D. Hardin wrote: cd /var/qmail/mailnames/blah.com/mark/.spamassassinOn Tue, 25 Sep 2007, feral wrote:Where is this configuration file?Probably under /etc/mail/spamassassinJohn Hardin wrote:Look for the command line that starts SA. If "-L" or "--local" appears, network tests have been disabled. You may be able to check this using "ps -fax" to see what the currently-running SA instance has for its command line./usr/bin/spamd --username=popuser --daemonize --nouser-config --helper-home-dir=/var/qmail --max-children 1 --create-prefs --virtual-config-dir=/var/qmail/mailnames/%d/%l/.spamassassin --pidfile=/var/run/spamd/spamd_full.pid --socketpath=/tmp/spamd_full.sockOdd, it looks like network tests *should* be running... Also: your bayes database files will probably be under popuser's home directory. See anything there? [EMAIL PROTECTED] .spamassassin]# ls total 1691 1 ./ 1 ../ 408 auto-whitelist 97 bayes_journal 141 bayes_seen 1042 bayes_toks 1 user_prefs This auto-whitelist file looks very suspicious. It is filled with spammer addresses... the mark@ addresses I was talking about. I see no "-L" or "--local" anywhere. See below...Evan Platt wrote:Edit your spamd start-up script, or start-up options file (depending on which OS you're running, these may be different). There should be a -L or --local switch in that file. Remove it to enable network tests. "What are the file names?CentOS is RHEL-based, right? Likely /etc/rc.d/init,d/spamassassin Here is my SA startup file:-- John Hardin KA7OHZ http://www.impsec.org/~jhardin/ [EMAIL PROTECTED] init.d]# more spamassassin #!/bin/sh # # spamassassin This script starts and stops the spamd daemon # # chkconfig: - 78 30 # processname: spamd # description: spamd is a daemon process which uses SpamAssassin to check \ # email messages for SPAM. It is normally called by spamc \ # from a MDA. # Source function library. . /etc/rc.d/init.d/functions prog="spamd" # Source networking configuration. . /etc/sysconfig/network # Check that networking is up. [ ${NETWORKING} = "no" ] && exit 0 # Set default spamd configuration. SPAMDOPTIONS="-d -c -m5 -H" SPAMD_PID=/var/run/spamd.pid # Source spamd configuration. if [ -f /etc/sysconfig/spamassassin ] ; then . /etc/sysconfig/spamassassin fi [ -f /usr/bin/spamd -o -f /usr/local/bin/spamd ] || exit 0 PATH=$PATH:/usr/bin:/usr/local/bin # By default it's all good RETVAL=0 # See how we were called. case "$1" in start) # Start daemon. echo -n $"Starting $prog: " daemon $NICELEVEL spamd $SPAMDOPTIONS -r $SPAMD_PID RETVAL=$? echo if [ $RETVAL = 0 ]; then touch /var/lock/subsys/spamassassin fi ;; stop) # Stop daemons. echo -n $"Stopping $prog: " killproc spamd RETVAL=$? echo if [ $RETVAL = 0 ]; then rm -f /var/lock/subsys/spamassassin rm -f $SPAMD_PID fi ;; restart) $0 stop sleep 3 $0 start ;; condrestart) [ -e /var/lock/subsys/spamassassin ] && $0 restart ;; status) status spamd RETVAL=$? ;; *) echo "Usage: $0 {start|stop|restart|status|condrestart}" RETVAL=1 ;; esac exit $RETVAL |
- Re: sender name same as reci... John D. Hardin
- Re: sender name same as reci... John D. Hardin
- Re: sender name same as reci... feral
- Re: sender name same as reci... Evan Platt
- Re: sender name same as recipient name Luis HernĂ¡n Otegui
- Re: sender name same as recipient name feral
- Re: sender name same as recipient name Daniel J McDonald
- Re: sender name same as recipient name Evan Platt
- Re: sender name same as recipient name John Calvert
- Re: sender name same as recipient name John D. Hardin
- Re: sender name same as recipient name John Calvert
- Re: sender name same as recipient name John D. Hardin
- Re: sender name same as recipient nam... John Calvert
- Re: sender name same as recipien... John D. Hardin
- Re: sender name same as recipient name Jari Fredriksson