On Tue, Nov 30, 1999 at 12:19:22PM -0800, Adam Roberts wrote:
> Hello,
> 
> This is my first posting to the list. If this problem has been 
> answered recently please
> point me to the right message numbers so I can retrieve them. Thanks
> 
> My dilemma:
> 
> I have 5 domains on one system.
> An example of my locals file:
> 
> abc.com
> def.com
> ghi.com
> jkl.com
> mno.com
> 
> My RCPTHOSTS file has these same domains in it.
> 
> abc.com
> def.com
> ghi.com
> jkl.com
> mno.com
> 
> We are using the Linux usernames for our accounts. Everything works fine. We
> are not using the Qmail user/assign file (yet).
> 
> As long as we have unique usernames, there isn't a problem. However we wish
> to setup an "info" account for the different domains. e.g. [EMAIL PROTECTED],
> [EMAIL PROTECTED] etc. We want these info accounts to go to different mailboxes.
> We are using the Maildir format, since this was a fresh install of our mail
> system.  I have tried a few combinations of using the VIRTUALDOMAINS file
> combined with the user/assign file to get the different "info" accounts to go
> to their respective user mailboxes. I have setup unique user accounts within
> the /home directory that we are using for the user Maildir locations, i.e.
> /home/abc.info /home/def.info.
> 
> How  can I get the same email name working on different local domains?

You don't. You make them virtual domains.

If you want some domains to be "mostly" local, i.e. you have only a few
addresses between which you want to distinguish and you want the rest to be
delivered to local accounts, you could have the following:

locals:
abc.com

virtualdomains:
def.com:alias-def

~alias/.qmail-def-info:
&[EMAIL PROTECTED]

~alias/.qmail-def-support:
&[EMAIL PROTECTED]

~alias/.qmail-def-default:
| forward "$DEFAULT"@abc.com

This will deliver mail to [EMAIL PROTECTED] and [EMAIL PROTECTED] to addresses of your
choice, and anything else @def.com to a local account.

Chris

Reply via email to