That makes sense, but then what do I do for virtual users? I have a separate directory for each users mail (/data/Mail/noah /data/mail/bob etc...)
Sam Varshavchik wrote:
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.
------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
