"Boz Crowther" <[EMAIL PROTECTED]> wrote:
>I have a DOS command-line mailer that doesn't correctly construct
>mail, it seems. I've used recordio to get exactly what's coming from
>the mailer in the logs and what I see is that the mailer doesn't
>include header information specified on the command line after it
>gets the go ahead to send DATA, although MAIL FROM and RCPT TO are
>correctly specified. The result is an email without the From or To
>specified in the recipient's mailbox. Moreover, if I don't include a
>blank line at the beginning of the body, there will be no body text,
>either. (If anybody wants to see the output of recordio I can
>forward it to you, but it's pretty long.)
Sounds like that DOS command-line mailer is a POS and a PITA. Why not
find a better one? You could probably even write your in perl pretty
easily using existing network and SMTP modules.
>Is there a fixcrio-like utility out there that will correct this
>problem?
You could use something like the "fixme" setup described in:
http://cr.yp.to/qmail/faq/servers.html#network-rewriting
But massage the headers before re-injecting the messages.
-Dave