Aage Baardsen <[EMAIL PROTECTED]> wrote:
>
> I have several different domains hosted by one machine with one ip. The
> problem is to have qmail distinguish them from eachother when receiving mail.
> My problem arises when i want to have the same 'user' (alias) to different
> domain and then routed to different users using aliases for instance.
You've got them all configured as local domains, correct?
> Is this possible with qmail?
Yes, see below.
> So my question, is it possible to add hostnames to .qmail alias files? For
> instance, .qmail-myuser.money.net ? Or specify the domain inside the alias
> file?
No. Make the domains or individual user-domain combinations virtual.
If necessary, you can then have .qmail files controlling an individual
account, and delivering the mail to a specified local user.
See the section on virtualdomains in Dave Sill's "Life with qmail".
Charles
--
-----------------------------------------------------------------------
Charles Cazabon <[EMAIL PROTECTED]>
GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
-----------------------------------------------------------------------