On Fri, Nov 17, 2000 at 09:41:54PM -0500, Shakaib Sayyid wrote:
> How can I forward all mail received to a domain to another domain.
> Like mail received to
> 
> [EMAIL PROTECTED]
> forward it to
> [EMAIL PROTECTED]
> 
> x can be any user.

echo 'dom1.com:alias-dom1' >> /var/qmail/control/virtualdomains
echo '| forward "$DEFAULT"@dom2.com' > ~alias/.qmail-dom1-default

Make sure dom1.com is in rcpthosts and that it is not in locals. HUP qmail-send
and you're all set.

Chris

Reply via email to