Noah Silverman writes:

I don't understand.

My authentication is "authdaemon".
I'm using virtual users with the userdb file.
Each user has the same home, but a different mailbox.
noah uid=8680|gid=1000|home=/data/Mail|mail=/data/Mail/noah|systempw=xxxxxxx

Well, there you go. Specifying 'mail' essentially provides an explicit instruction to deliver all mail addressed to this account to this location, without checking DEFAULTDELIVERY or anything.

To allow custom mail delivery instructions, you have to have something that bears some resemblance to a real account: home must point to something that looks like a home directory. Do not use the mail attribute, instead create $home/Maildir, for whatever value of home you have.

Now, you can install $home/.courier, and run spamassasin or whatever else you want, before delivering mail to the Maildir. Or use DEFAULTDELIVERY, or whatever.

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to