5 messages in net.sourceforge.lists.courier-usersRe: [courier-users] userdb & aliases
FromSent OnAttachments
gregAug 12, 2000 5:06 am 
gregAug 12, 2000 8:03 pm 
gregAug 13, 2000 8:17 am 
gregAug 13, 2000 5:49 pm 
gregAug 14, 2000 9:21 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] userdb & aliasesActions...
From:greg (gr@preeda.internex.net.au)
Date:Aug 13, 2000 5:49:41 pm
List:net.sourceforge.lists.courier-users

Sam Varshavchik writes:

No, of course not. If the userdb module is installed, all local recipients are looked up in userdb.

If I add an alias "@example.com: greg", and I send mail to userdb user "jo@example.com", the alias overrides - greg gets the mail as greg@localdomain.com.

Have you looked at what hosteddomains control file does?

Put all of your virtual domains into hosteddomains, then explicitly list all valid mailboxes in FQDN -- us@example.com -- in userdb, and specify where the corresponding maildir is located.

For domains that you want to dump all their mail to a single mailbox, use aliases to rewrite them to a unique local mailbox address, use userdb to set up a virtual account for the local address, then set up a .courier-default in that account to dump all mail into the maildir.

My key problem is that I want to use aliases like @example.com: greg@example.com

This is the problem I have:

Which alas is my problem. Even if I add user "test" to be the alias target for @example.com, all my other @example.com users in userdb will be ignored.