So this is the case. When spamassassin is run as root, the message gets a high score, but when sudo'd as the postfix user, it gets a significantly lower score, and two error messages about not being able to write to /root/.spamassassin/user_prefs. How do I stop spamassassin from looking in here for this (vital?) config, and furthermore, where do I migrate the config in /root/.spamassassin to, to enable this (good?) config to work all the time.
Cheers. K kiwidesign wrote: > > Ah, hadn't thought of this. If this is the case, how do I migrate the > config for the user that I am logged in as (and getting the correct score) > to the user that spamassassin runs as? I get a little lost with conf > hidden in the home directories and more global locations. > > I'll try this now anyway > > Cheers. > > > Michał Jęczalik-2 wrote: >> >> On Sun, 1 Apr 2007, kiwidesign wrote: >> >>> >>> I think you may misunderstand. >>> >>> We have a certain email, that is spam. Lets call it 'A'. >>> >>> When the email A passes through the mail system, it is grabbed by >>> MailScanner, which in turn puts it through SpamAssassin. The mail is >>> then >>> delivered if the score is less than the threshhold (5), otherwise >>> quarantined. In our situation, the email 'A' has made it into our inbox, >>> with a score of 1 (which is indeed less than 5). However, if from the >>> console we run a manual spamassassin test (spamassassin -t < A) on the >>> 'A' >>> email, then spamassassin returns a score of 23, which is somewhat higher >>> (and more correct given the content of the email) than the original >>> score of >>> 1. >> >> There are several possibilities: >> >> 1. the user running spamassassin/spamc from your mail system has a >> per-user config that alters the final score >> 2. this user has no permissions to system's rules directory or files >> >> Try running spamassassin -t with this user's permissions. Probably you'll >> get a low score. >> -- >> Michał Jęczalik, +48.603.64.62.97 >> INFONAUTIC, +48.33.487.69.04 >> >> >> > > -- View this message in context: http://www.nabble.com/Messages-receiving-High-Score-but-still-getting-through-tf3503348.html#a9827814 Sent from the SpamAssassin - Users mailing list archive at Nabble.com.
