This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ssmtp 2.38.7-4 reads headers from message body.


On Fri, Oct 17, 2003 at 04:46:13PM +0200, Frank Slootweg wrote:
> Corinna Vinschen" <corinna-cygwin@cygwin.com> 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@cygwin.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]