On Thu, Aug 05, 1999 at 06:41:46PM +1000, Daniel Callan wrote:
> Hi Magnus,
>
> Thanks for your reply.
>
> At 08:21 5/08/99 +0200, you wrote:
> >> I know that the archive is full of alias problems but so far I cannot
> >> seem to find someone mentioning the simplest (and worst) problem of
> >> them all: If an account exists that is the same name as a virtual-domain
> >> specific alias (or even any alias for that matter), the account takes
> >> preference over the alias and the mail goes straight to the account.
> >
> >This is not correct.
>
> Which part?
>
> >I don't know what you mean by "virtual-domain
> >specific alias",
>
> I meant (in /etc/aliases):
>
> [EMAIL PROTECTED]: account1 (domain specific alias)
> [EMAIL PROTECTED]: account2
>
> AS OPPOSED TO
>
> design: account1 (gloabal alias)
>
> >but only domains that are local - i.e. exists in
> >control/locals will result in an immediate delivery to the local user if
> >the user exists.
> > ALL local deliveries are done first.
>
> All of the virtual domains I'm using are in control/locals AND
> in control/virtdomains. If they weren't, I couldn't use them as domains
> for all the local accounts. None of the domains are soley for either
> purpose, they are all used for BOTH accounts and aliases.
First of all, you'll have to clear up your understanding of the whole
locals/virtualdomains thing. Then, grab this message from the archives for a
simple solution to your problem that I posted a while back:
[EMAIL PROTECTED]
Chris