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.

-- 
Bowie


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to