Works perfectly. Thanks bunches.
--
Troy Settle
Pulaski Networks
540.994.4254 - 866.477.5638
http://www.psknet.com
** -----Original Message-----
** From: Troy Settle [mailto:[EMAIL PROTECTED]]
** Sent: Tuesday, July 17, 2001 8:37 AM
** To: [EMAIL PROTECTED]
** Subject: RE: Catch all account!
**
**
**
**
** Ok, I'll give this a try.
**
** The killer of this, is that my customer is running exchange behind a
** firewall. My mail servers are the only hosts allowed to connect
** through on
** port 25. The real kicker is that this customer has 50+ domains, and if
** anyone has ever worked with exchange, you know it's not fun mapping out
** several hundred users to even a few domains, let alone 50+.
**
**
** --
** Troy Settle
** Pulaski Networks
** 540.994.4254 - 866.477.5638
** http://www.psknet.com
**
**
** ** -----Original Message-----
** ** From: Daniel Biddle [mailto:[EMAIL PROTECTED]]
** ** Sent: Tuesday, July 17, 2001 8:29 AM
** ** To: [EMAIL PROTECTED]
** ** Subject: Re: Catch all account!
** **
** **
** ** On Tue, Jul 17, 2001 at 07:37:23AM -0400, Troy Settle wrote:
** ** >
** ** > What about forwarding all mail to another domain, but keeping
** ** the $LOCAL
** ** > value?
** ** >
** ** > The qmail faq says this in .qmail-default:
** ** >
** ** > | forward "$LOCAL@remotedomain"
** ** >
** ** > But this does not work, as $LOCAL = "domain-user"
** **
** ** Try $EXT instead. (The manual page for qmail-command lists
** several more
** ** variables that may be useful in other situations.)
** **
** ** > I'd actually prefer to not even have the domain created within
** ** vpopmail or a
** ** > local account on the machine. Is there a simple way to do
** ** this with just
** ** > the files in /var/qmail/ ?
** **
** ** Yes:
** **
** ** # set up the forwarding instruction
** ** echo '| forward "$EXT2@remotedomain"' > ~alias/.qmail-domain-default
** **
** ** # tell qmail where to find it
** ** echo domain:alias-domain >> /var/qmail/control/virtualhosts
** ** svc -h /service/qmail
** **
** ** # allow messages to be received
** ** echo domain >> /var/qmail/control/rcpthosts
** **
** ** I've not tested this, but I think it should work. (Except for
** the domain
** ** names, of course!)
** **
** ** Of course you can avoid all this if the remote server is configured
** ** to accept mail for the original domain: then you can just change DNS.
** **
** **
** ** hope this helps,
** ** --
** ** Daniel Biddle <[EMAIL PROTECTED]>
** **
** **
**
**