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: Fri Feb 01 2008 - 09:58:34 CST


On Fri, Feb 01, 2008 at 03:46:05PM +0000, scott.postfixscottrix.co.uk wrote:

> >Local text MUST be in UNIX text format. Postfix will convert between
> >network formats and local formats.
>
> Are you saying that a DOS text file on Linux is actually a "binary" file
> and should not have a text/plain mime type ?
>
> If I wanted to modify this behaviour and "break" my system where in the
> postfix code does it do this conversion ?

    tr -d '\015' < dos_text_file > real_text_file

Then mail the "real_text_file". If you want to undertake independent
Postfix development, ... good luck.

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