-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 12 Apr 00, at 11:05, Scott Wilson wrote:

> I am running Red Hat Linux 6.1 and qmail 1.03. I have two domains in
> locals. I'll call the domains DOMAIN1.COM and DOMAIN2.COM for the
> purpose of this e-mail. Mail at DOMAIN2.COM is actually relayed to me
> by another company and the relaying will soon stop. What I want to do
> is send an autoreply to anyone that sends mail to any user at
> DOMAIN2.COM informing them of an address change from @DOMAIN2 to
> @DOMAIN1. I was wondering if someone might have some suggestions on
> how to do this.

Make domain2.com virtual if it already isn't. Make a single
.qmail-default file for it which does
|autoreply
|condredirect "realdomain2-$DEFAULT" true
(assuming localhost is in locals; change localhost for other suitable 
value)

Then have a .qmail-realdomain2-... files deliver to the proper 
mailboxes.

(If domain2.com was local before the change, change the forward 
line above to
|condredirect "$DEFAULT" true
)

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.0.2 -- QDPGP 2.60 
Comment: http://community.wow.net/grt/qdpgp.html

iQA/AwUBOPSTPlMwP8g7qbw/EQJHtgCgr/Sn7ha2gtnmB3qAL88IUPhXBckAoPwO
Q+pIA7QEJtoA6V08Fgn76422
=R4ED
-----END PGP SIGNATURE-----
--
Petr Novotny, ANTEK CS
[EMAIL PROTECTED]
http://www.antek.cz
PGP key ID: 0x3BA9BC3F
-- Don't you know there ain't no devil there's just God when he's drunk.
                                                             [Tom Waits]

Reply via email to