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 Date: Sat, 18 Oct 2003 19:21:57 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: ssmtp 2.38.7-4 reads headers from message body. Message-ID: <20031018172157.GB25076@cygbert.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <00be01c393c0$869213b0$647ba8c0 AT neth DOT hp DOT com> <20031016115054 DOT GH28997 AT cygbert DOT vinschen DOT de> <021e01c3940b$9ef6c770$647ba8c0 AT neth DOT hp DOT com> <20031017093307 DOT GK25076 AT cygbert DOT vinschen DOT de> <20031017100840 DOT GN25076 AT cygbert DOT vinschen DOT de> <20031017102654 DOT GO25076 AT cygbert DOT vinschen DOT de> <017a01c394b2$db44baf0$657ba8c0 AT neth DOT hp DOT com> <20031017134523 DOT GT25076 AT cygbert DOT vinschen DOT de> <024a01c394bd$6967b580$657ba8c0 AT neth DOT hp DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <024a01c394bd$6967b580$657ba8c0@neth.hp.com> User-Agent: Mutt/1.4.1i On Fri, Oct 17, 2003 at 04:46:13PM +0200, Frank Slootweg wrote: > Corinna Vinschen" wrote: > > On Fri, Oct 17, 2003 at 03:30:39PM +0200, Frank Slootweg wrote: > [deleted] > > > So my problem is solved, but what about the generic problem? IMO > > > ssmtp in a Cygwin environment should be able to handle DOS format > > > data. AFAIK, there are (POSIX? XPG?) standards for opening a stream > > > in text mode, which should make things compatible between ('DOS' and > > > UNIX) platforms. > [...] > So I think that > ssmtp is somewhat unique and somewhat 'broken'. I've took some time to investigate the situation and I have to say that I can't reproduce your effect. I created an appropriate testfile from your template and regardless of having the file on a textmode mount or a binmode mount, regardless of the shell in which I call `ssmtp -t < file' and regardless if the file has LF or CRLF lineendings, ssmpt always got that right. Especially I found that ssmtp already opens the file in textmode (yeah, I didn't remember) so the problem you found is even more weird. Which means, I'll not change anything unless somebody (you?) can explain what *exactly* goes wrong. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developer mailto:cygwin AT cygwin DOT com Red Hat, Inc. -- 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/