I have defined a virtual domain alias setup for my domain (hornyllama.com) with a .courier-default file in the home directory of the user it points to.  I also have a mailbox defined on the same domain ([EMAIL PROTECTED]).  My goal is to be able to define mailboxes and aliases on this domain, and if none of them match to have the address re-written to deliver to our default domain (Interbaun.com) though a virtual domain alias.  Everything works, except that it seems that the virtual domain alias is taking priority over the mailbox definition and I want it to go the other way around.  Here's my LDAP setup for the relavent records:

 

# [EMAIL PROTECTED], interbaun, com

dn: [EMAIL PROTECTED],dc=interbaun,dc=com

mail: [EMAIL PROTECTED]

objectClass: CourierMailAccount

homeDirectory: /Mail/mailboxes/other/hornyllama.com/saxon

quota: 20000000S

uidNumber: 99

gidNumber: 60003

 

# hornyllama.com, interbaun, com

dn: virtualdomain=hornyllama.com,dc=interbaun,dc=com

objectClass: CourierDomainAlias

virtualdomain: hornyllama.com

virtualdomainuser: hornyllama.com

 

# [EMAIL PROTECTED], interbaun, com

dn: [EMAIL PROTECTED],dc=interbaun,dc=com

mail: [EMAIL PROTECTED]

objectClass: CourierMailAccount

homeDirectory: /Mail/mailboxes/interbaun.com/h/o/hornyllama.com

quota: 20000000S

uidNumber: 99

gidNumber: 60003

 

Without the virtual domain alias in there, delivery to [EMAIL PROTECTED] works fine; however, with the virtual domain alias in there, the delivery gets grabbed by it and re-directed to [EMAIL PROTECTED].  The .courier-default file for [EMAIL PROTECTED] that does the redirection to the Interbaun.com domain contains only the line:

 

||echo ${DEFAULT}@interbaun.com

 

Is there something I'm missing?  I'm using courier .37, though I'm planning to upgrade to .38 right away regardless of this problem.

 

Thanks.

 

________________________

Saxon Jones

 

Technical Infrastructure Admin,

Interbaun Communications

Suite 200,

18404 Stony Plain Road

Edmonton, AB

T5S 2M8

 

mailto:[EMAIL PROTECTED]

http://www.interbaun.com/

(780) 447-8282, ext. 369

 

Reply via email to