On Tue, 30 Jan 2001, Chris Johnson wrote:
>
> If finaldomain.com is hosted elsewhere and you just want to forward everything,
> you can do this:
> 
> echo 'domain1.com:alias-domain1' > /var/qmail/control/virtualdomains
> echo '|forward "$DEFAULT"@finaldomain.com' > /var/qmail/alias/.qmail-domain1-default

YES! This looks like it might work. 

Previously I saw | forward "$LOCAL"@domain.com somewhere in the FAQ and tried
that. But that didn't work as the RCPT TO: ended up being something like
[EMAIL PROTECTED] 

Will there be any security issues passing $DEFAULT in that way?

> Why don't you just change domain1.com's MX record so that the mail just goes
> directly to whatever host handles finaldomain.com?

Because there's no direct access to the host from the Internet.

Thanks very much,
Link.

Reply via email to