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.

From: Victor Duchovni (Victor.DuchovniMorganStanley.com)
Date: Mon Feb 04 2008 - 08:17:54 CST


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.