Keith Pettit wrote:
>>If domain.com is in locals, then you should only have >> >>asdf:<tab>foo >> >>in aliases. > But i need the ability to say: > [EMAIL PROTECTED]: foo > [EMAIL PROTECTED]: otheraccount > > etc. Will this work?? As I had the dubious pleasure to find out in the hard way, it will, but not with this syntax. Addresses to domains in locals get stripped of @whatever and delivered to the system account that is left. If that account does not exist or is root, the account name is checked against aliases and gets delivered to a system account accordingly. Thus, if mail for [EMAIL PROTECTED] arrives and domain.com is in locals, only "webmaster" will be checked against aliases. Therefore, what you just wrote won't work. If neither domain.com nor domain2.com are in locals, you have various alternatives to deliver their mail to different users. I deliver to system users who all have either a domain or a subdomain to themselves and I want to let them have an infinite number of addresses, so I did the following, here scripted for simplicity's sake: cd /etc/courier echo "domain.com" >>hosteddomains echo "domain2.com" >>hosteddomains makehosteddomains echo "@domain.com<tab>foo" >>aliases/aliases echo "@domain2.com<tab>otheraccount" >>aliases/aliases makealiases touch /home/foo/.courier touch /vome/otheraccount/.courier echo "foo@localhost" >/home/foo/.courier-default echo "otheraccount@localhost" >/home/otheraccount/.courier-default If you *only* want to deliver postmaster to different users and don't want zillions of addresses on each domain, substitute "-postmaster" for "-default" at the end of the last two command lines above. Of course, the user could still create .courier-default himself if you don't block him from it. Note that there are many more ways to make aliases and there is nothing to say that this way is the best one. It's just the first one I figured which served my purposes. Z ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users