Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: "Arne Jørgensen" <arne@arnested.dk>
Subject: Re: S/MIME oddness
Date: Fri, 28 Nov 2003 19:02:15 +0100	[thread overview]
Message-ID: <87r7zs1ie0.fsf@seamus.arnested.dk> (raw)
In-Reply-To: <ilur7ztlr8u.fsf@latte.josefsson.org>

Simon Josefsson <jas@extundo.com> writes:

> Arne Jørgensen <arne@arnested.dk> writes:

[...]

>> But the version that i Gcc to my self does not have an extra blank
>
> Perhaps ^M isn't treated as newline by the Gcc backend?  Some backends
> either replace \r\n with \n, or uses \r?\n as the newline regexp.
>
>> and switching to smtpmail.el made the problem go away.
>
> SMTP uses \r\n as newline, perhaps \r\r\n is treated as a single
> newline by some implementations.
>
>> I think that doesn't make OpenSSL an usual suspect.
>
> Still not impossible, I think, although the OpenSSL version that had
> this bug is quite old and insecure, so it is only a remote
> possibility.
>
> Hm.  Can you reproduce the added newline bug by previewing a S/MIME
> signed message?

I have previewed the message and found no extra newlines. Besides I
have a rather new OpenSSL (0.9.7c 30 Sep 2003).

I still suspect Postfix to be the problem. Here is what I tried:

I copied the GCC-ed version (which doesn't have an extra line) to a
file and piped it to Postfix sendmail:

     cat testmail.txt | /usr/lib/sendmail -t

When the mail arrives in my inbox it has the extra line. This was all
done on one machine (delivery to local user).

Then I logged in to another machine (with Sendmail) and did the same
trick. The message had no extra blank line.

The testmail.txt can be located at <http://arnested.dk/testmail.txt>.

So I think this is not a Gnus problem (unless Gnus produces some
invalid MIME that only some mail servers stumble across).

I think I'll try reporting this to a postfix mailing list.

-- 
Arne Jørgensen
Valby Langgade 272, 1. tv., DK-2500 Valby, Denmark
phone: +45 36 44 18 03, mobile: +45 21 65 01 13
email: arne@arnested.dk, <http://arnested.dk/>


  parent reply	other threads:[~2003-11-28 18:02 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <m3r7zur77u.fsf@lucas.loria>
     [not found] ` <87wu9mskr9.fsf@seamus.arnested.dk>
2003-11-27 11:04   ` Simon Josefsson
     [not found]     ` <87r7zt24yd.fsf@seamus.arnested.dk>
     [not found]       ` <ilur7ztlr8u.fsf@latte.josefsson.org>
2003-11-28 18:02         ` Arne Jørgensen [this message]
     [not found]       ` <m3d6bdi6ar.fsf@neo.loria>
     [not found]         ` <m33cc9f78b.fsf@neo.loria>
     [not found]           ` <etosmk14eoa.fsf@fc.hp.com>
     [not found]             ` <87k75drtwb.fsf@seamus.arnested.dk>
2003-12-04 18:49               ` Arne Jørgensen
     [not found]                 ` <873cc0s157.fsf@seamus.arnested.dk>
2003-12-04 22:43                   ` Arne Jørgensen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r7zs1ie0.fsf@seamus.arnested.dk \
    --to=arne@arnested.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).