Chris Smith: > Hi, > > I'm hoping to obtain some confirmation on the data format the sendmail > interface expects, I am under the impression that as a NIX program it > will expect emails using LF for new lines as opposed to the SMTP > standard of CRLF. How does this apply to line folding? Does Postfix then > expect LFWSP as opposed to CRLFWSP?
The Postfix sendmail command expects a PRE-FORMATTED message. The result of ill-formatted messages is undefined (gargabe in, garbage out). The format should be consistent with RFC 5322 (RFC 2822, RFC 822) and with MIME if applicable. Text is expected to be in native UNIX stream-LF format. Wietse > In my testing Postfix seemed fairly tolerant, where as other people have > not been seen it be so forgiving. I'd like to confirm what the proper > format is and if anyone knows does this apply across the board to other > mailers? (I appreciate that is slightly off topic) > > Thanks in advance. > > Regards, > > Chris > > -- > Chris Smith > >