Date: Sun, 12 Aug 2007 17:14:09 -0500 From: Kevin Kramer <kramer@centtech.com> To: freebsd-ports@freebsd.org Subject: Re: spamass-milter not reading local.cf Message-ID: <46BF8631.20803@centtech.com> In-Reply-To: <46BF7200.6050306@centtech.com> References: <46BF7200.6050306@centtech.com>
next in thread | previous in thread | raw e-mail | index | archive | help
I think I found the problem. It must have updated /root/.spamassassin/user_prefs to 8.0. and since I'm using root to run spamd... Although I did have it running as spamd and it was still using 8.0 and spamd does not have a user_prefs, so I'd assume it would use the local.cf file at that point.. Kevin Kramer wrote: > recently did portupgrade for spamass-milter, now running > spamass-milter-0.3.1_3. The new required scores are being set at 8.0 > instead of the default 5.0. Nothing in UPDATING about any config changes. > > Here are my spam processes, running like before, no changes to rc.conf > > ps -auwx | grep spam > nobody 620 1.1 1.3 80616 55044 ?? S 2:55PM 0:30.50 spamd > child (perl5.8.8) > root 8806 1.0 0.1 8544 2236 ?? S 3:41PM 0:00.01 > /usr/local/bin/spamc > root 582 0.0 0.1 16344 3696 ?? Ts 2:55PM 0:01.33 > /usr/local/sbin/spamass-milter -f -p /var/run/spamass-milter.sock > root 605 0.0 1.1 70728 45332 ?? Ss 2:55PM 0:01.38 > /usr/local/bin/spamd -A "net" -A "net2" -A 127.0.0.1 --max-children=15 > --min-spare=2 --min-chil > root 621 0.0 1.2 77416 51808 ?? S 2:55PM 0:08.67 spamd > child (perl5.8.8) > root 1631 0.0 1.2 75316 49640 ?? S 3:00PM 0:02.27 spamd > child (perl5.8.8) > root 1632 0.0 1.1 73384 47956 ?? S 3:00PM 0:00.73 spamd > child (perl5.8.8) > root 4259 0.0 1.1 73312 47904 ?? S 3:15PM 0:00.36 spamd > child (perl5.8.8) > > mailog output > > Aug 12 15:43:07 spamd[621]: auto-whitelist: open of auto-whitelist > file failed: locker: safe_lock: cannot create tmp lockfile > /nonexistent/.spamassassin/auto-whitelist.lock.mh1.centtech.com.621 > for /nonexistent/.spamassassin/auto-whitelist.lock: No such file or > directory > Aug 12 15:43:07 spamd[621]: spamd: clean message (0.0/8.0) for > root:65534 in 0.3 seconds, 1463 bytes. > Aug 12 15:43:07 spamd[621]: spamd: result: . 0 - ALL_TRUSTED > scantime=0.3,size=1463,user=root,uid=65534,required_score=8.0,rhost=localhost.centtech.com,raddr=127.0.0.1,rport=54224,mid=<200708122043.l7CKh2ui021344@bal4.centtech.com>,autolearn=failed > > Milter add: header: X-Spam-Status: No, score=0.0 required=8.0 > > my local.cf > > allow_user_rules 1 > #subject_tag *SPAM* Score: _HITS_/_REQD_ - > > > # Save spam messages as a message/rfc822 MIME attachment instead of > # modifying the original message (0: off, 2: use text/plain instead) > # > report_safe 0 > > > # Set which networks or hosts are considered 'trusted' by your mail > # server (i.e. not spammers) > # > # trusted_networks 212.17.35. > trusted_networks 10.10/16 10.20/16 10.30/16 10.40/16 10.90/16 > 10.100.1/24 192.168.21/24 192.168.40/21 192.168.50/24 > > > # Set file-locking method (flock is not safe over NFS, but is faster) > # > lock_method nfssafe > #lock_method flock > # Set the threshold at which a message is considered spam (default: > 5.0) > # > # required_score 5.0 > > > # Use Bayesian classifier (default: 1) > # > use_bayes 1 > > > # Bayesian classifier auto-learning (default: 1) > # > # bayes_auto_learn 1 > > # Set headers which may provide inappropriate cues to the Bayesian > # classifier > # > # bayes_ignore_header X-Bogosity > # bayes_ignore_header X-Spam-Flag > # bayes_ignore_header X-Spam-Status > > skip_rbl_checks 1 > use_razor2 1 > use_dcc 0 > use_pyzor 0 > > ok_languages en > ok_locales en > > my sendmail.cf milter rules > > Xclmilter, S=local:/var/run/clamav/clmilter.sock,F=, T=S:4m;R:4m > Xspamassassin, S=local:/var/run/spamass-milter.sock, F=, > T=C:15m;S:4m;R:4m;E:10m > > > > > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46BF8631.20803>