with two local domains, d1.com and d2.com, with respective users support1 and support2.
would like mail to supportATd1.com to be deliverd to support1 (AT d1.com), and supportATd2.com to go to support2 (AT d2.com).
You really should set these two domains up as hosteddomains if this is going to happen very often, as others have explained. However, if you don't want to redo your domains as hosteddomains for just this account then you could also use a .mailfilter file if you are using maildrop to deliver your mail. Create the file '.mailfilter' in the HOME directory for the "support" user and then put the following in it.
import RECIPIENT if ($RECIPIENT eq '[EMAIL PROTECTED]') to "! [EMAIL PROTECTED]"
if ($RECIPIENT eq '[EMAIL PROTECTED]') to "! [EMAIL PROTECTED]"
else ./Maildir
This should redirect all the mail for the support address at those two domains to the proper addresses. Anything else will be delivered locally.
Again, you'll need to use maildrop as your delivery agent in order for this to work. Check out the 'maildropfilter' man page for the proper syntax if you want to change this around.
Jeff Jansen
------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
