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

From: Victor Duchovni (no email)
Date: Mon Feb 04 2008 - 11:23:26 EST

  • Next message: George Forman: "RE: Multi-line respones from milter interface"

    On Mon, Feb 04, 2008 at 03:59:38PM +0000, wrote:

    > >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.

    This is wrong. The message must either use CRLF for all message lines
    (RFC822 message) or LF for all message lines (unix message file).

    > 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

    The MIME type is not the problem, mutt should be stripping the CR when
    encoding the text file into a message whose headers and body are LF
    terminated.

    -- 
    	Viktor.
    Disclaimer: off-list followups get on-list replies or get ignored.
    Please do not ignore the "Reply-To" header.
    To unsubscribe from the postfix-users list, visit
    http://www.postfix.org/lists.html or click the link below:
    <mailto:?body=unsubscribe%20postfix-users>
    If my response solves your problem, the best way to thank me is to not
    send an "it worked, thanks" follow-up. If you must respond, please put
    "It worked, thanks" in the "Subject" so I can delete these quickly.
    

  • Next message: George Forman: "RE: Multi-line respones from milter interface"





    Hosted Email Solutions

    Invaluement Anti-Spam DNSBLs



    Powered By FreeBSD   Powered By FreeBSD