On Tue, Oct 07, 2014 at 07:09:26PM +0200, [email protected] wrote: > Hello! > > (Please Cc me on replies. I just subscribed, don't know > if email flow is immediate.) > > I have an old script that resends complete email files > to myself, via cat file | sendmail -i. > This works fine, I get the email with good formatting > and with only the body text of the original email in > the email body. No old email headers in the body. >
You mean that with `sendmail -i` did extract the headers from the content instead of generating them itself ? What MTA were you using ? > With opensmtpd however, this doesn't work. I get the > complete email file with its headers, and with no > MIME formatting done. Opensmtpd treats the original > email like a plain text file, not like an email object. > Yes > Is there some way of doing what I need with opensmtpd? > Not without adding an option to our enqueuer and tell it to consider the input as a DATA part entirely. This is not hard to do however we need to make sure to pickup the right option. -i is rather strange, on Postfix it means to not consider "." on single line as end of input. What MTA were you using ? > Otherwise, is there some small utility that would do this? > I would like to avoid installing sendmail for these resends. > Well, meanwhile you can use pretty much any other MUA including the previous one in SMTP mode if it supports it. -- Gilles Chehade https://www.poolp.org @poolpOrg -- You received this mail because you are subscribed to [email protected] To unsubscribe, send a mail to: [email protected]
