Bowie Bailey wrote:
Tommy Braun wrote:
  
Hi,

    
And then, I call spamc from maildrop like this:

   import USER
   exception {
       xfilter "/usr/bin/spamc -u $USER"
   }
      
the $USER is only available, when running maildrop from courier, is
this right? E.g. if using postfix, that $USER will not exist?

I have the impression, that it is all better and easier to setup with
courier, only thing is: only few people seem to know it ;)

Thanks for your answers, really helps me to get some light into it!
    

Yes, the USER environment variable is set by Courier.  If you are
using Postfix, you may have to poke around to find the right variable
to use.  Basically, you are just passing the delivery email address to
spamc.

  
Just one comment here, when setting this up in my environment, I found it much easier to use MySQL based SA prefs and training rather than file based.  It means you don't have to deal with file permissions, etc and it's also much more scalable than flat db files for bayes training.

Jay

Reply via email to