On Sun, 7 Feb 1999, Peter Gradwell wrote:
> Even more brilliant would be to bind qmail to a different virtual
> device, because then I could create a bandwidth limited virtual ethernet
> card and run mailing lists on there, whilst allowing other services full
> bandwidth.
>
> How anyone have any experience of telling qmail which ip address /
> device to listen and operate on?
incoming you can run multiple tcpservers -- the first argument is the IP
address it's to listen on, so you would run one for each virtual domain.
this would allow you to split incoming email into the right domains.
outgoing is more tricky. for that I think you're going to have to patch
qmail-remote (around line 415 in qmail-remote.c) to bind to a specific ip
address when sending mail or it will bind to '0' and the kernel will pick
the first ip address on the system.
Richard