OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: Problem sending a DOS text file from Linux to Windows.

scott.postfixscottrix.co.uk
Date: Mon Feb 04 2008 - 08:57:38 CST


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.

2) My MUA (mutt) is broken and is incorrectly identifying a DOS text file
as text/plain when it is not.

From what is being said here 1) is not the case, so is the problem 2) or is
there a third option I haven't thought of.

Thanks for your patience,

Scott.

On Mon, Feb 04, 2008 at 09:17:54AM -0500, Victor Duchovni wrote:
>On Mon, Feb 04, 2008 at 09:00:34AM +0000, scott.postfixscottrix.co.uk wrote:
>
>> >>To send DOS a textfile from a UNIX system use a DOS/UNIX conversion
>> >>tool or send the file as a base64 encoded attachment.
>>
>> Let me try to put it another way. How do I know when I need to convert the
>> file before I send it ? I don't intend to manually check every single text
>> file that I send to see if I should then manually convert it first.
>
>If you are sending data files (binary FTP over email), you don't convert
>at all, just base64 encode the file bits and send. If you are sending text
>files (ASCII FTP over email), and your text files are not actually UNIX
>text files, you need to convert them to unix text files before sending.
>
>> If this is correct, then shouldn't the MTA handle this mime type without
>> screwing up the file ?
>
>MTAs transmit messages, MIME encoding is the responsibility of an *MUA*.
>Postfix is not a MUA.
>
>--
> 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:majordomopostfix.org?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.