Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <3F8ECA3E.9040608@ision.net> Date: Thu, 16 Oct 2003 18:41:34 +0200 From: Felix van Hove Reply-To: felix DOT hove AT de DOT easynet DOT net Organization: easynet GmbH User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20030925 X-Accept-Language: de, en-us MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: ssmtp 2.38.7-4 reads headers from message body. References: <00be01c393c0$869213b0$647ba8c0 AT neth DOT hp DOT com> In-Reply-To: <00be01c393c0$869213b0$647ba8c0@neth.hp.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Note-from-DJ: This may be spam -t isn't supported, see man ssmtp. I have no problem to forward your message without this option, same ssmtp version 2.38.7. Felix Frank Slootweg wrote: > [This is my first posting to this list. I hope the format is OK.] > > I am trying to use ssmtp (2.38.7-4) as my 'mailer' in tin, the > newsreader. tin invokes ssmtp as > > /usr/sbin/ssmtp -t < %F > > where %F is a file which contains the header (lines), a blank line (only > \r\n) and body. > > I have found that apparently ssmtp keeps reading 'header' lines (like > From:, etc.) *after* it has read the full header, i.e. it also reads > 'header' lines from the *body* of the message. For example it will fail > (on the "From: Frank Slootweg " line in the > *body*) with the below input file. > > Of course sending a message which contains a header in the body is > quite common, so at the moment I can not use ssmtp. > > Is this a known problem? Any solutions/workarounds/etc. (other than > 'manually' quoting (">") the header lines in the body)? > > Thanks in advance for any and all responses. > > [start example input file:] > From: Frank Slootweg > To: Frank Slootweg > Subject: ssmtp test > > -- forwarded message -- > From: Frank Slootweg > Subject: Re: [tin +OE ] Use OE to mail from tin? > Newsgroups: news.software.readers > References: <3f869331$0$445$1b62eedf AT news DOT wanadoo DOT nl> > Organization: NOYB > Date: 11 Oct 2003 19:42:24 GMT > Message-ID: <3f885d20$1$445$1b62eedf AT news DOT wanadoo DOT nl> > > Thanks, Dirk and Urs. I probably first will have a look at the Cygwin > ssmtp package. In hindsight, it probably isn't fair on tin to ask it to > invoke OE. It is already sad that it 'has' to *run on* a virus, but > asking it to willingly *invoke* one is plain cruel. My apologies! [1] > > [1] For the HI: :-) > -- end of forwarded message -- > [end example input file.] > > [Note: I am sending this with OE, which may and may not correctly > preserve the blank line (^\r\n$) between the header and body. Of course > I have tested things with a correct blank line.] > > > > -- > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > Problem reports: http://cygwin.com/problems.html > Documentation: http://cygwin.com/docs.html > FAQ: http://cygwin.com/faq/ > -- easynet GmbH (http://www.de.easynet.net) Felix van Hove, system integration Harburger Schlossstrasse 1, D-21079 Hamburg fon: +49-40-77175-457, fax: +49-40-77175-498 # easynet is part of the easynet group plc (www.easynetgroup.net) -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/