there's two ways of douing this...
if you wanna forward ALL the mail coming to a domain,
you can can created an smtproute file
under /var/qmail/control with the synstax of
domain:mailservertosendto
if you need to send unmatched usernames...
ie, you want to send whatever was not a local username
to another server, you can use my mail drip patch.
search the mailing lists for that latest version, or ask me
and I will send it to you directly
hope this helps
Peter Brezny writes:
> Hello,
>
> How can I duplicate the behaviour of this sendmail virtusertable entry,
>
> @sub.domain1.com [EMAIL PROTECTED]
>
> I have tried creating a virtual domain for 'sub.domain1.com' and placing,
>
> | forward "$[EMAIL PROTECTED]"
>
> in /home/vpopmail/domains/sub.domain1.com/.qmail-default
>
> but this causes the mail to bounce saying:
>
> <[EMAIL PROTECTED]>:
> Sorry, no mailbox here by that name. vpopmail (#5.1.1)
>
> I've looked around in the lifewithqmail.org page, and on the
> http://cr.yp.to/qmail.html page but I've not been able to work it out.
>
> Thanks,
>
> Peter Brezny
> SysAdmin Services Inc.
>