Iñigo Martínez Lasala <[EMAIL PROTECTED]> wrote:
> > > We have several domains. We would want to receive in the same mailbox
> > > mail for several domains.  For example, all mail for [EMAIL PROTECTED] be
> > > forwarded to [EMAIL PROTECTED]
> >
> > If domain1.dom is a local domain, just make domain2.dom a local domain as
> > well.  If domain1.dom is a virtualdomain, make domain2.dom another virtual
> > domain controlled by the same local user account as domain1.dom.  Done.
>
> domain2.dom is a virtualdomain.  The problem is that no user has it's mailbox
> in this server. This is a forward-only server.  I've two posibilities: - let
> forward server "convert" @domain2.dom to @domain1.dom or...  - let
> destination server manage both domains. But since destination server is a
> MSExchange (without internet connectivity, of course) I should make user per
> user conversion. :( I would prefer use the first method.

I don't see the problem.  Just make domain2.dom a copy of domain1.dom.  i.e. if
you're using a default forwarding rule in an ~alias/.qmail-default file for
domain1.dom, make a copy of it, or symlink to it, for domain2.dom.  If you're
controlling domain1.dom with a system account foo, just make domain2.dom 
controlled by the same system account foo, and it will get handled the
same way as domain1.dom.

Rewriting headers to hide one domain from another is a broken design, and is
a sendmail-ism.

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.
-----------------------------------------------------------------------

Reply via email to