5 messages in net.sourceforge.lists.courier-usersRe: [courier-users] hosteddomains and...
FromSent OnAttachments
Gordon MessmerOct 24, 2006 10:21 am 
Sam VarshavchikOct 24, 2006 3:24 pm 
charles uchuOct 26, 2006 8:23 pm 
David GomillionOct 27, 2006 6:48 am 
Alessandro VeselyOct 27, 2006 11:53 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [courier-users] hosteddomains and aliases capitalizationActions...
From:David Gomillion (dgom@eyecarenow.com)
Date:Oct 27, 2006 6:48:11 am
List:net.sourceforge.lists.courier-users

charles uchu wrote:

Sam Varshavchik wrote:

Gordon Messmer writes:

It's come up before that "aliased" hosteddomains sometimes don't do what users expect them to. The man page for "makehosteddomains" indicates that if "mail.domain.com" is aliased to "domain.com", then an address of the form <addr@mail.domain.com> will be rewritten as <addr@domain.com> and delivered to the local mailbox for that name. The consequence seems to be that if <addr@domain.com> is an alias, delivery fails.

Define an alias for addr@mail.domain.com

Sam and Gordon,

I think it is understood that based on the current code in courier that, even if there is an aliased domain set in hosteddomains, that you must again explicitly state this aliasing in the aliases file for addresses that are not mailboxes.

To cut down on the confusion, I always recommend creating a hosted domain, and then create actual mailboxes for each alias I want to create. In it I create a .courier file to forward the mail where ever I want it to go. The ONLY aliases I create in the global alias file are those required by the system (like root, postmaster, etc).

It's a little extra work, but in the end, I opt for simplicity and maintainability. And it's very easy to script with bash...