Peter, Edward,

Thanks for the input on this, I'll be playing with it more today.

One important thing I forgot to mention in my last post, is that I'm only a
MX for these domains, the customer runs his own server to handle the mail.
Normally, I'd just set up an SMTP route to send all the mail to the
customer's server, but they're running exchange, and for those who don't
know, it's not fun to admin an exchange server when you have hundreds of
users to configure to accept mail at dozens of domains (actually only 2 or
3, but still a pain).

Thanks,

--
  Troy Settle
  Pulaski Networks
  540.994.4254


** -----Original Message-----
** From: peter green [mailto:[EMAIL PROTECTED]]
** Sent: Monday, June 18, 2001 8:22 AM
** To: [EMAIL PROTECTED]
** Subject: Re: Rewrite (.*)@foo.com to \\[EMAIL PROTECTED]
**
**
** * Troy Settle <[EMAIL PROTECTED]> [010617 17:20]:
** > Ok, the qmail faq says to put ``| forward "$[EMAIL PROTECTED]"'' into
** > ~alias/.qmail-default, but that would appear to be for all
** domains, which I
** > do not want to do.
** >
** > So, I put that line into
** ~vpopmail/domains/foo.com/.qmail-default, but that
** > resulted in mail being forwarded to [EMAIL PROTECTED]
**
** s/LOCAL/DEFAULT/g
**
** > In postfix, this is easy stuff with virtualmaps:
** >
** >   @domain.com:@otherdomain.com
** >
** > Is there nothing similar in qmail?
**
** If you are using vmailmgr, yes there is. Since all domains are handled by
** individual system users, just point both domains at the same system user:
**
** [/var/qmail/control/virtualdomains]
**   # format is ``domain:system_user''
**   # I name system users after the domain, just to be simple
**   example.com:example.com
**   # domain alias for example.com
**   example.net:example.com
**
** (I'm sure it's possible w/o vmailmgr; that's just what I know.) The nice
** thing about this method is that it avoids the add'l delivery of a forward
** (which is what the FAQ suggests). We use this all the time.
**
** HTH,
**
** /pg
** --
** Peter Green : Architekton Internet Services, LLC : [EMAIL PROTECTED]
** ---
** panic("esp: penguin doesn't disconnect after status msg-ack.");
** (Panic message in the kernel.)
**
**

Reply via email to