>3. In the .qmail-default put something to re-send all mail to the ms-mail
>host, eg:
>
>| redeliver msmail.eoc.org.uk
>
>Where "redeliver" is a program that opens an SMTP session to the specified
>host, and writes out the message being read from stdin.
>
>Step 3. is where I'm stuck.
>
>Does such a program exist?  Or is there a better/different way to do this?

If the volume of mail isn't too large, dump the mail into a maildir,
e.g.

$ cat .qmail-default
/var/mail/eoc-mail/

and then use serialsmtp to push the mail out to the Windows box.
Serialsmtp is fast but sends only one message at a time; if it can
keep up with the volume that's probably the best way to go since it'll
avoid swamping the NT box.

If that's not adequate, I'd run two copies of qmail (which as has been
noted is not as messy as it sounds), one for the inbound and sorting,
the other for outbound to the various NT boxes.  The inbound copy of
qmail should be set up with virtual domains to catch the domains you
want to sort, the outbound copy with no virtual domains and perhaps
smtproutes for any domains that don't have MX records that point where
you want them to.
-- 
John R. Levine, IECC, POB 727, Trumansburg NY 14886 +1 607 387 6869
[EMAIL PROTECTED], Village Trustee and Sewer Commissioner, http://iecc.com/johnl, 
Member, Provisional board, Coalition Against Unsolicited Commercial E-mail

Reply via email to