atom feed2 messages in net.sourceforge.lists.courier-usersRe: [courier-users] Catch-all / Aliases
FromSent OnAttachments
Harry DuncanOct 17, 2008 5:42 am 
Sam VarshavchikOct 17, 2008 3:16 pm 
Subject:Re: [courier-users] Catch-all / Aliases
From:Sam Varshavchik (mrs@courier-mta.com)
Date:Oct 17, 2008 3:16:10 pm
List:net.sourceforge.lists.courier-users

Harry Duncan writes:

Can aliases be recursive?

Lets say I host mickeymouse.com and I want to implement a catch all, can I create a user in@mickeymouse.com and then put an alias entry @mickeymouse.com: info@mickeymouse.com

? Its a question of preferences, if aliases get looked up before system accounts, then it can't be done, but if the opposite, then it works.

Regular aliases can be recursive, they are worked out at makealiases time. Wildcard domain aliases are not, they are a slightly different beast.

Besides, you can accomplish what you're looking for simply by setting up an account called 'mickeymouse', defining the alias '@mickeymouse.com: mickeymouse', and have a separate entry in your account file called 'in@mickeymouse.com' with the same uid, gid, and home directory. This will enable you to log in as 'in@mickeymouse.com' and pick up your mail, while mail delivery to the entire domain gets handled by the wildcard alias (and the .courier files in the home directory, of course).