On Fri, Feb 04, 2000 at 05:05:21PM +0100, Robert Sander wrote:
> On Fri, Feb 04, 2000 at 11:02:09AM -0500, Chris Johnson wrote:
> > Mail to [EMAIL PROTECTED] is delivered locally as virtual-vdomain-user. If that
> > ends up being handled by ~alias/.qmail-virtual-vdomain-default, then $DEFAULT
> > is user, i.e. the address with virtual-vdomain stripped off. If the address
> > wound up being handled by .qmail-virtual-default, then $DEFAULT would have been
> > vdomain-user. It's the portion of the address that matches the -default part of
> > the .qmail-... file.
> 
> I see, I just thought -default matches the complete [EMAIL PROTECTED] part.
> 
> Then it is very (and more performant) in .qmail-virtual-vdomain-default:
> 
> |/usr/bin/forward $DEFAULT
> 
> should do it.

That'll deliver the mail locally. If you want to do that, just make it a local
domain. I don't think that's what you want to do.

If all mail for this domain is to be sent off to some other server, just list
the domain in rcpthosts, remove it from locals and virtualdomains, and put:

vdomain.foo:mailserver.for.vdomain.foo

in control/smtproutes. Unless I misunderstand your original question, this is
all you need to do.

Chris

Reply via email to