Re: Problem sending a DOS text file from Linux to Windows.

From: (no name) (no email)
Date: Mon Feb 04 2008 - 10:59:38 EST

  • Next message: Antonello Provenzano: "Re: Problems running postfix + mailman"

    On Mon, Feb 04, 2008 at 10:10:43AM -0500, Victor Duchovni wrote:
    >On Mon, Feb 04, 2008 at 02:57:38PM +0000, wrote:
    >
    >> Sorry for being a pain, but I want to get this clear. I can only see two
    >> things that could be wrong to get to the problem I am having.
    >>
    >> 1) Postfix is broken and should be detecting when text/plain attachments
    >> have CRLF and not add the CR.
    >
    >Postfix is an MTA. It is the MUA's responsibility to inject valid content.

    Fair enough.

    >> 2) My MUA (mutt) is broken and is incorrectly identifying a DOS text
    >> file as text/plain when it is not.
    >
    >The MUA (mutt) is responsible for submitting valid content. What are you
    >doing with mutt, and what MIME content is mutt generating? Configure
    >mutt to use a custom "sendmail" that just saves the message to a disk
    >file. Report what you find in the disk file...

    A text file is produced with the email in it, the attachment is text/plain
    and the attachment has CRLF for each of it's lines.

    It seems the problem is with the MUA (mutt) and I believe that mutt gets
    the mime type from libmagic which also reports text/plain for the DOS text
    file. It can the tell the difference since "file dos.txt" gives

    "ASCII text, with CRLF line terminators"

    So I guess I can get it to give a different output for the mimetype too.

    Thanks for all your help with this,

    Scott.


  • Next message: Antonello Provenzano: "Re: Problems running postfix + mailman"





    Hosted Email Solutions

    Invaluement Anti-Spam DNSBLs



    Powered By FreeBSD   Powered By FreeBSD