From: Andrew Whalen [mailto:[EMAIL PROTECTED] > > At the moment my Courier MTA is setup to use the following > delivery instructions: ./Maildir Thus, all incoming emails > are delivered to the /mail/~username/Maildir directory. > > For one (and only one) particular account I want all incoming > messages to be copied to another Maildir. I don't want to > change the whole server to use mail filters for everyone, but > I have read that it is possible that an individual user can > setup a mail filter rule that can copy messages. > > Does anyone have experience regarding how to do this? Just > for clarity: > > 1. Email is received for User #1. > 2. The email should be delivered to the /Maildir for User#1, > and then copied to the /Maildir for User #2.
If you create a .courier file in User #1's home directory, it will override your default delivery instructions for that user. If these are virtual users belonging to the same UID, you can deliver directly to both maildirs with a .courier file like this: ./Maildir /mail/user2/Maildir If the users have different UIDs, then you will need to do it as a forward like this: ./Maildir [EMAIL PROTECTED] See the man page for 'dot-courier' for details. Create these files with 600 permissions. If the .courier file has global permissions, Courier will refuse to use it. (I'm not sure of the exact requirements, I can't seem to find it in the docs at the moment) Bowie ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
