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 <[EMAIL PROTECTED]> will be rewritten as >> <[EMAIL PROTECTED]> and delivered to the local mailbox for that >> name. The consequence seems to be that if <[EMAIL PROTECTED]> is an >> alias, delivery fails. > > Define an alias for [EMAIL PROTECTED] > 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. The need to define the domain alias twice seems redundant and is a bit confusing: 1) hosteddomains sample domainprimary.com domainalias.com<tab>domainprimary.com 2) aliases sample would need: [EMAIL PROTECTED]: [EMAIL PROTECTED] [EMAIL PROTECTED]: [EMAIL PROTECTED] It would be much simpler from an administration perspective for the aliases file to follow the global setting for domain aliasing as set in hostedomains, thus only needing this in the aliases file: [EMAIL PROTECTED]: [EMAIL PROTECTED] ... This same need for redundancy seems to also be necessary in regards to the global setting to be case-insensitivivty. For mailboxes, they are case-insensitive, but for aliases... it seems to be necessary to include options for likely capitalization nuances. For instance some strange person my decide to send email to [EMAIL PROTECTED] If [EMAIL PROTECTED] is a mailbox it gets delivered fine, but if it is an alias you have to define both of these in the aliases file for delivery to succeed for the different capitalization nuances: [EMAIL PROTECTED] [EMAIL PROTECTED] ... Now, what I truly wish is that I was educated in programming enough at this point to figure out how to update the code to do this... or whether it was just meant to run this way for some reason I'm not understanding and thus needing to deal with this redundancy is necessary. Thanks, Charles ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ courier-users mailing list [email protected] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
