According to Doug Hardie via Postfix-users <bc...@lafn.org>: >I must be interpreting this wrong because it appears postfix is not accepting >that. Here is the complete process. A message arrives at my MTA addressed to >a specific address. Postfix delivers that >message to a pipe to my process which reads the pipe and stores everything in >a file. Portions of the text of that message are extracted and then sent >using SMTP to port 25 on my MTA with new >recipients. ...
Oh, there's your problem. If you are talking directly to an SMTP server, you have to use SMTP line endings \r\n rather than the \n used in files on Unix systems. There are several simple solutions. If the MTA is on the same machine, you can feed the message to /usr/sbin/sendmail and it'll do the conversions. Or whan you're talking to some other SMTP server, stuff a \r in front of each \n and it should work. BTDT. This has nothing to do with MIME or wrapping, by the way. The SMTP spec says that the *only* line ending is \r\n and bare \r or \n is undefined. Postfix strips the \r on the way in and will add the \r on the way out if you let it handle the SMTP sessions. R's, John -- Regards, John Levine, jo...@taugh.com, Primary Perpetrator of "The Internet for Dummies", Please consider the environment before reading this e-mail. https://jl.ly _______________________________________________ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org