Charles Cazabon writes:

> Grant Edwards <[EMAIL PROTECTED]> wrote:
> > 
> > Alternatively, is there any way I could use two different "sendmail"
> > binaries/wrappers to pre-determine which SMTP server the mail is routed to?
> 
> Have two different qmail installs (/var/qmail1 and /var/qmail2), each of
> which has an smtproutes entry to the appropriate mailserver.  Then write
> a wrapper script around qmail-queue.  Check the envelope sender in that,
> and based on it's contents, call either /var/qmail1/bin/qmail-queue or
> /var/qmail2/bin/qmail2-queue.

It turns out to be even simpler than that. There are two different MUA
configurations being used (that's what generates the From: addresses),
and I can specify in the MUA config which "sendmail" pathname to use.

-- 
Grant Edwards
[EMAIL PROTECTED]

Reply via email to