Thanks for that.
I ran sa-learn using the amavis user and indeed, I now get much less spam than before. One thing I haven't done though is checked for false-positives on the server... that's just so much hassle (is there an easy way to do it?).
Anyways, for now sa-learn seems to have been very effective. You should try it!
Thanks,
Terence
On 19 Dec 04, at 6:10 AM, Sam Nilsson wrote:
Yes, your post makes sense. Since *all* filtered mail goes through amavisd-new, your amavisd-new setup *is* global.
Because amavisd-new *is* run globally as a certain user (for me this is user vscan), so must SA run under that same user since amavisd-new actually runs SA itself. My /etc/passwd entry for my vscan user reads:
vscan:*:1006:1007:Scanning Virus Account:/var/amavis:/bin/sh
The contents of /var/amavis are:
--snip--
So although I haven't needed to use the sa-learn command yet, when I do it will be after doing an "su - vscan". This is true anytime I mess with any of the SA, Pyzor, Razor or Amavisd-new files. FYI, I also use Clamav, which I have also setup to run as the 'vscan' user.
Take Care - Sam
