Dear List, I'm running spamassassin with simscan. The problem I got is that the e-mails that arrive to my server are scanned and forward to their mailboxes, but it seems that the server sending the e-mail doesn't notice that the mail arrived ok, so it sends it over and over getting sometimes 20 copies of the same mail.
I think this is happening because my spamassassin is not well configured about the bayes learning, so I also get lots of "bayes_toks.expireXXXXX" files in the scan folder and lots of "warn: bayes: cannot open bayes databases /var/spool/simscan/.spamassassin/bayes_* R/W: lock failed: Interrupted system call" in the logs. I've been reading the FAQ and googling around but I can't figure out the best configuration. As I could understand, it is convenient when you have a heavy site to tell spamassassin in local.cf "bayes_toks.expire=0" and use sa-learn to force an expire on a regular basis via cron. Is that the best option? Does anybody know a better configuration? I'm running the 3.1.3 version with the following options: OPTIONS="--round-robin --create-prefs --max-children 5 --username=simscan" under Debian with a 2.6.8 kernel Thanks in advance! Agustín ls -l in the scanning folder: -rw------- 1 simscan simscan 5.1M Aug 15 12:12 auto-whitelist -rw-rw-rw- 1 simscan simscan 6 Aug 15 12:12 auto-whitelist.mutex -rw-rw-rw- 1 simscan simscan 1.2K Aug 15 12:11 bayes.mutex -rw------- 1 simscan simscan 13K Aug 15 12:12 bayes_journal -rw------- 1 simscan simscan 656K Aug 15 12:08 bayes_seen -rw------- 1 simscan simscan 5.1M Aug 15 12:10 bayes_toks -rw------- 1 simscan simscan 2.3M Aug 12 06:27 bayes_toks.expire1001 -rw------- 1 simscan simscan 2.3M Aug 14 04:56 bayes_toks.expire10138 -rw------- 1 simscan simscan 288K Aug 14 18:49 bayes_toks.expire10434 -rw------- 1 simscan simscan 288K Aug 11 20:18 bayes_toks.expire11082 -rw------- 1 simscan simscan 48K Aug 15 12:10 bayes_toks.expire11278 -rw------- 1 simscan simscan 2.3M Aug 15 02:14 bayes_toks.expire11444 -rw------- 1 simscan simscan 544K Aug 14 09:52 bayes_toks.expire11752 -rw------- 1 simscan simscan 1.1M Aug 15 10:18 bayes_toks.expire1187 -rw------- 1 simscan simscan 2.4M Aug 13 00:43 bayes_toks.expire12828 -rw------- 1 simscan simscan 544K Aug 14 19:03 bayes_toks.expire13144 -rw------- 1 simscan simscan 1.1M Aug 15 02:25 bayes_toks.expire13744 -rw------- 1 simscan simscan 544K Aug 14 12:55 bayes_toks.expire13910 -rw------- 1 simscan simscan 544K Aug 14 19:13 bayes_toks.expire14168 -rw------- 1 simscan simscan 288K Aug 14 18:59 bayes_toks.expire14195 -rw------- 1 simscan simscan 2.3M Aug 12 13:34 bayes_toks.expire14497 -rw------- 1 simscan simscan 2.4M Aug 13 02:04 bayes_toks.expire14611 -rw------- 1 simscan simscan 544K Aug 11 19:54 bayes_toks.expire14726 -rw------- 1 simscan simscan 2.3M Aug 12 13:22 bayes_toks.expire16047 -rw------- 1 simscan simscan 1.1M Aug 14 09:33 bayes_toks.expire1625 -rw------- 1 simscan simscan 544K Aug 15 11:48 bayes_toks.expire16710 -rw------- 1 simscan simscan 544K Aug 14 13:38 bayes_toks.expire17029 -rw------- 1 simscan simscan 1.1M Aug 15 11:44 bayes_toks.expire18425 -rw------- 1 simscan simscan 544K Aug 14 13:13 bayes_toks.expire18518 -rw------- 1 simscan simscan 1.1M Aug 11 20:43 bayes_toks.expire19414 -rw------- 1 simscan simscan 544K Aug 14 10:42 bayes_toks.expire2015 -rw------- 1 simscan simscan 288K Aug 14 14:07 bayes_toks.expire20283 -rw------- 1 simscan simscan 2.1M Aug 15 09:01 bayes_toks.expire21349 -rw------- 1 simscan simscan 2.4M Aug 12 15:34 bayes_toks.expire21828 -rw------- 1 simscan simscan 2.2M Aug 14 08:38 bayes_toks.expire21920 -rw------- 1 simscan simscan 2.1M Aug 11 18:35 bayes_toks.expire2302 -rw------- 1 simscan simscan 544K Aug 14 21:39 bayes_toks.expire23208 -rw------- 1 simscan simscan 544K Aug 11 20:28 bayes_toks.expire23451 -rw------- 1 simscan simscan 2.4M Aug 12 17:03 bayes_toks.expire25164 -rw------- 1 simscan simscan 2.4M Aug 13 14:00 bayes_toks.expire25922 -rw------- 1 simscan simscan 2.3M Aug 15 09:47 bayes_toks.expire26062 -rw------- 1 simscan simscan 2.3M Aug 13 04:19 bayes_toks.expire26639 -rw------- 1 simscan simscan 1.1M Aug 15 11:09 bayes_toks.expire2694 -rw------- 1 simscan simscan 1.1M Aug 14 21:54 bayes_toks.expire27212 -rw------- 1 simscan simscan 544K Aug 14 15:50 bayes_toks.expire27311 -rw------- 1 simscan simscan 2.2M Aug 14 08:18 bayes_toks.expire27407 -rw------- 1 simscan simscan 1.1M Aug 11 18:45 bayes_toks.expire2776 -rw------- 1 simscan simscan 2.3M Aug 13 22:47 bayes_toks.expire28228 -rw------- 1 simscan simscan 160K Aug 14 22:03 bayes_toks.expire28271 -rw------- 1 simscan simscan 544K Aug 14 16:48 bayes_toks.expire29905 -rw------- 1 simscan simscan 2.5M Aug 12 02:34 bayes_toks.expire30490 -rw------- 1 simscan simscan 288K Aug 14 17:02 bayes_toks.expire30546 -rw------- 1 simscan simscan 2.3M Aug 12 02:45 bayes_toks.expire30788 -rw------- 1 simscan simscan 2.4M Aug 13 06:29 bayes_toks.expire31576 -rw------- 1 simscan simscan 2.4M Aug 12 05:12 bayes_toks.expire32497 -rw------- 1 simscan simscan 2.3M Aug 13 14:34 bayes_toks.expire32546 -rw------- 1 simscan simscan 2.1M Aug 13 17:17 bayes_toks.expire5298 -rw------- 1 simscan simscan 2.4M Aug 14 00:59 bayes_toks.expire5335 -rw------- 1 simscan simscan 544K Aug 14 10:17 bayes_toks.expire5359 -rw------- 1 simscan simscan 1.1M Aug 14 23:34 bayes_toks.expire5761 -rw------- 1 simscan simscan 544K Aug 15 12:04 bayes_toks.expire5877 -rw------- 1 simscan simscan 544K Aug 14 16:33 bayes_toks.expire650 -rw------- 1 simscan simscan 544K Aug 14 11:46 bayes_toks.expire7118 -rw------- 1 simscan simscan 544K Aug 15 00:30 bayes_toks.expire7474 -rw------- 1 simscan simscan 544K Aug 14 11:17 bayes_toks.expire8628 -rw------- 1 simscan simscan 2.4M Aug 14 03:28 bayes_toks.expire8961 -rw------- 1 simscan simscan 1.1M Aug 13 17:52 bayes_toks.expire9415 -rw------- 1 simscan simscan 1.3K Jul 25 10:45 user_prefs