David Somers wrote:

I just followed the instructions as per http://www.courier-mta.org/FAQ.html#virtual ... everything seems to work, apart from getting the filtering to apply.

It'd be more useful to include one actual line from your userdb, minus the password hash, and a complete list of the files in that users's home directory.


The page you cite gives examples that include a "mail" attribute, and some that do not. This one, for instance, includes a mail attribute:

userdb [EMAIL PROTECTED] set home=/home/virtual/example.com/john \
             mail=/home/virtual/example.com/john \
             uid=999 gid=999

Such a user would not invoke maildrop for delivery. Because the mail attribute is specified, Courier will deliver mail directly to that mailbox. This is similar to what would happen if a local user had a .courier file which specified the same mailbox.

In order to use maildrop, you would want to remove the mail attribute from that userdb entry. Also, rather than a maildir, /home/virtual/example.com/john should be a normal directory containing a maildir named "Maildir". You'd set it up like:

# mkdir /home/virtual/example.com/john
# maildirmake /home/virtual/example.com/john/Maildir
# chown -R 999:999 /home/virtual/example.com/john

Set up this way, DEFAULTDELIVERY will be used.



-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to