14 messages in net.sourceforge.lists.courier-maildrop[maildropl] Re: Line endings / DOS fo...
FromSent OnAttachments
Henk van LingenOct 5, 2005 7:05 am 
Jay LeeOct 5, 2005 7:24 am 
Tony EarnshawOct 5, 2005 8:50 am 
Tom DiehlOct 5, 2005 11:40 am 
Henk van LingenOct 5, 2005 2:58 pm 
Paul L. AllenOct 5, 2005 7:32 pm 
Henk van LingenOct 6, 2005 7:31 am 
Paul L. AllenOct 6, 2005 7:48 am 
Jay LeeOct 6, 2005 8:05 am 
Jay LeeOct 6, 2005 8:35 am 
Paul L. AllenOct 6, 2005 9:02 am 
moussOct 6, 2005 10:34 am 
Thorsten HaudeOct 6, 2005 12:33 pm 
Sam VarshavchikOct 6, 2005 3:31 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[maildropl] Re: Line endings / DOS formatActions...
From:Tom Diehl (tdi@rogueind.com)
Date:Oct 5, 2005 11:40:24 am
List:net.sourceforge.lists.courier-maildrop

On Wed, 5 Oct 2005, Tony Earnshaw wrote:

on den 05.10.2005 Klokka 10:24 (-0400) skreiv Jay Lee:

Maybe there is a good reason, but isn't it stupid that maildrop fails on DOS line endings, and '\r' not just considers as whitespace?

Everytime one of my users edits .mailfilter with Wordpad or another silly Windows editor, mail is not delivered anymore.

This is a Unix vs. DOS problem not a maildrop problem. Don't let your users edit their .mailfilter from Windows boxes. If their homes are being exported via Samba, I believe Samba has a configuration option to block certain files from ever being seen via SMB.

You could also train your users to use dos2unix.

Or OP could learn cron and sed and get it done automatically.

Why sed? dos2unix can be run from cron. :-)

Regards,