You could go a much easier way by using control/smtproutes if you tell your
new server to accept mails for mywebmail.com (if its also Qmail just put it
in your locals or virtualdomains and rcpthosts). Here you tell your QMail to
send all messages received for mywebmail.com to mywebmail.newprovider.com by
putting a 

mywebmail.com:new.mail.server

or 

mywebmail.com:[IP of new server] 

into control/smtproutes. Then give qmail-send a HUP and all mails are
immediately redirected. 
If this is not possible you put .qmail-default file in the directory mail
for mywebmail.com get delivered. Then you put �forward
$[EMAIL PROTECTED] If this doesn't work, you'll have to
choose another environment variable (depending on your installation). Just
put a � env > ./env.dat in your .qmail-default file as first line.

CU 
Holger


> -----Urspr�ngliche Nachricht-----
> Von: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED]]Im Auftrag
> von Tom Fishwick
> Gesendet am: Montag, 22. November 1999 19:21
> An: [EMAIL PROTECTED]
> Betreff: dot file question 
> 
> Hi,
> 
> I'm moving over a web based mail to another server, before I make the
> change to internic I'd like to forward everything to the new 
> server, so
> I won't have any problem with mail messages in two places, 
> and will only
> have to defer messages for a few minutes while I transfer the mail
> boxes.  
> 
> So, with a dot qmail file in my home directory how would I forward
> everything ? Example:
> 
> say my domain is mywebmail.com, I want to forward everything to
> mywebmail.newprovider.com until the domain actually gets 
> switched.  So I
> need to forward [EMAIL PROTECTED] to [EMAIL PROTECTED]
> with a dot-qmail file
> 
> Do I do this with VERP(s) ?  I found the explanation in man dot-qmail
> dificult to understand.  If someone could point me to some other
> documentation or give me an example here that would be great, thanks,
> 
> Tom
> 
> -- 
> Tom Fishwick
>      web http://zworg.com
>   e-mail [EMAIL PROTECTED]
> 

Reply via email to