Pawel Tecza wrote:
> Hello Bowie,
> 
> On Mon, 8 May 2006, Bowie Bailey wrote:
> [...]
> > My virtual users have home directories like this:
> > 
> >     /virtualhome/domain/user
> > 
> > With a "Maildir" folder for mail delivery.
> > 
> > I run spamd like this:
> > 
> >     /usr/bin/spamd -d -u mailacctuser -x
> > --virtual-config-dir='/virtualhome/%d/%l/spamassassin'
> > 
> > Where "mailacctuser" is the user who owns all of the virtual user's
> > home directories. 
> > 
> > And then, I call spamc from maildrop like this:
> > 
> >     import USER
> >     exception {
> >         xfilter "/usr/bin/spamc -u $USER"
> >     }
> > 
> > Spamd will parse the email address provided by the -u option into
> > its local and domain parts and use that to find the configuration
> > directory.
> 
> Thanks a lot for your howto! But what about aliases? Do your users
> have them?

Some of them do, but it doesn't cause any problems.  It works like
this:

- usera is an alias for userb
- A mail comes in for usera
- Courier translates the alias and delivers to userb
- Maildrop processes the delivery for userb
- SpamAssassin scans the message with userb's settings

Since spam scanning is done by Maildrop during delivery, accounts that
are aliased to an external destination do not get scanned.  In order
to scan these accounts as well, you would need to make them real
accounts rather than aliases and then do the forwarding with Maildrop.

-- 
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