ermille1979 wrote: > Hi Matt! > > OH! Sorry.. > > This is file correct > > This is My file local.rc > Hopefully you mean local.cf not local.rc :)
Also, can you check your init.pre and make sure it contains this line: loadplugin Mail::SpamAssassin::Plugin::SPF I think that may have to do with your SPF problems. > whitelist_from *...@agipro.it > Ok, so it should be whitelisted.. What happens when you run the message through spamassassin manually? i.e.: spamassassin <message.txt What's the resulting X-Spam-Status? Does USER_IN_WHITELIST match in this test? > use_bayes 1 > # bayes_path /home/spamd/.spamassassin/bayes > bayes_path /home/spamd/.spamassassin > Note: This setting is probably broken. You probably should be using the one that is commented out. bayes_path should always end in /bayes, because it's not just a path, it's path plus partial filename. As it is, SA is going to create the bayes DB as: /home/spamd/.spamassassin_toks /home/spamd/.spamassassin_seen. Also, you must make absolutely sure that nothing else beginning with .spamassassin exists in /home/spamd. Particularly there must be no directories with this name! Otherwise bayes locking will fail. (SA tries to lock <bayes_path>*, or in your case /home/spamd/.spamassassin*, but you can't lock a directory.) If you wish to put your bayes DB into the /home/spamd/.spamassassin/ directory, the commented out line (/home/spamd/.spamassassin/bayes) is the correct one. Again, make sure there's nothing else in /home/spamd/.spamassassin/ that starts with "bayes". > dns_available yes > > header LOCAL_RCVD Received =~ /.*\(\S+\.domain\.com\s+\[.*\]\)/ > describe LOCAL_RCVD Received from local machine > #score LOCAL_RCVD -50 > Careful. If you declare a rule without declaring a score, it scores as +1.0. If you want to disable the rule, explicitly set the score to 0 > Received: from 212.29.130.2 by mail.cogetech.it (envelope-from > <ilaria.benede...@agipro.it>, uid 508) with qmail-scanner-1.25-st-qms > (clamdscan: 0.88.2/1476. spamassassin: 3.0.2. perlscan: 1.25-st-qms. > Clear:RC:0(212.29.130.2):SA:1(3.1/3.0):. > Processed in 1.512266 secs); 05 May 2009 11:33:32 -0000 > X-Spam-Status: Yes, hits=3.1 required=3.0 > X-Spam-Level: +++ > Ok, it looks like you're using qmail-scanner in fast_spamassassin mode. You might want to turn fast mode off while trying to debug problems, this should give you an X-Spam-Status that contains the list of rules that matched, not just a score. Very helpful when doing diagnostics (and if your system isn't heavily loaded, very helpful in general). Have you restarted spamd since you edited local.cf? (spamd only loads it on startup).