John R Levine <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> >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.

That might just do the trick.  I notice Keith Burdis has written sdeliver.
According to his web page(http://rucus.ru.ac.za/~keith/qmail/sdeliver.html)
it:

"Delivers mail from a maildir to a remote host using maildirsmtp. The
results of delivering each message are logged in the syslog.
"It runs under supervise so that it continues to deliver any mail in the
maildir using maildirsmtp as long as the supervise process is up. Delivery
is stopped and started using svc."

That would do the trick, but his ftp site is down :o(

> 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.

That sounds like a nicer solution.  Can you point me at where I might learn
more about setting this up?  Is it as easy as building qmail twice - once in
(e.g.) /var/qmail-in, and again in /var/qmail-out  then use qmail-smtpd from
/var/qmail-in and qmail-send from /var/qmail-out ?

Thanks,

R.

Reply via email to