View Single Post

  #4 (permalink)  
Old 09-24-2003
Dave Sill
 
Posts: n/a
Default Re: Forward undeliverable mail?

"Jaco van Tonder" <jaco@premsoft.co.za> writes:

> tom@domain.tld gets mail locally, he is in the local lan, qmail accepts the
> message and hands it to vpopmail
> jaco@domain.tld gets mail locally, he is in the local lan qmail accepts the
> message and hands it to vpopmail
> pete@domain.tld gets mail from the remote server, seeing that he is not in
> the local lan. Qmail bounces this message locally :(
>
> How do I tell qmail not to bounce the message, but forward it to an smtp
> server of my choice on the next dialup?


In control/virtualdomains you have an entry something like:

domain.tld:alias-domain.tld

Replace that with:

tom@domain.tld:alias-domain.tld
jaco@domain.tld:alias-domain.tld
etc.

Then add an entry to control/smtproutes to direct the rest of the mail
to domain.tld to the other server:

domain.tld:otherserver.domain.tld

--
Dave Sill Oak Ridge National Lab, Workstation Support
Author, The qmail Handbook <http://web.infoave.net/~dsill>
<http://lifewithqmail.org/>: Almost everything you always wanted to know.
Reply With Quote