[9fans] smtpd inserting nulls - Plan9

This is a discussion on [9fans] smtpd inserting nulls - Plan9 ; i've been having a problem with nulls popping up in the middle of emails for some time. normally, this isn't something one would notice but imap4d makes nulls in email extra annoying by sending the client 4 reformattings of the ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: [9fans] smtpd inserting nulls

  1. [9fans] smtpd inserting nulls

    i've been having a problem with nulls popping up
    in the middle of emails for some time. normally,
    this isn't something one would notice but imap4d
    makes nulls in email extra annoying by sending the
    client 4 reformattings of the same bogus message.

    i never did catch it red handed, but it finally be
    came obvious on (not exactly the first) inspection.
    the dot destuffing code didn't reduce the length
    of the line to account for the elided dot and thus
    added a null at the end of lines starting with a dot.
    (but only after the first 16k of the message.)

    fun times!

    because i was there, i also added protection against
    nulls in the actual data.

    there's a patch on sources.

    - erik


  2. Re: [9fans] smtpd inserting nulls

    On Mon, Oct 6, 2008 at 12:49 PM, erik quanstrom wrote:
    > i've been having a problem with nulls popping up
    > in the middle of emails for some time. normally,
    > this isn't something one would notice but imap4d
    > makes nulls in email extra annoying by sending the
    > client 4 reformattings of the same bogus message.
    >
    > i never did catch it red handed, but it finally be
    > came obvious on (not exactly the first) inspection.
    > the dot destuffing code didn't reduce the length
    > of the line to account for the elided dot and thus
    > added a null at the end of lines starting with a dot.
    > (but only after the first 16k of the message.)
    >
    > fun times!
    >
    > because i was there, i also added protection against
    > nulls in the actual data.
    >
    > there's a patch on sources.
    >



    This is a great thing. I've been assuming that the rest of the world
    sent around bogus email, it never occured to me that the mta would be
    blowing it.

    Thanks for this, it's a big help

    ron


+ Reply to Thread