4 messages in net.sourceforge.lists.courier-maildrop[maildropl] Feature request
FromSent OnAttachments
Ed WildgooseApr 5, 2005 9:26 am 
moussApr 9, 2005 4:57 am 
Ed WApr 9, 2005 5:39 am 
Robin BowesApr 19, 2005 10:34 am 
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] Feature requestActions...
From:Ed Wildgoose (lis@wildgooses.com)
Date:Apr 5, 2005 9:26:34 am
List:net.sourceforge.lists.courier-maildrop

2 quick feature requests, or can someone suggest better ways to do this in maildrop.

1) I (for example) subscribe to loads of mailing lists and so would like to have a generic rule which reads the Mailing list header and dumps stuff in a subfolder with the same name (maildir). However, maildrop doesn't seem to autocreate folders when using the "to folder/" syntax and so we end up with a bunch of messy and repeated code to check for existence of folder, create of folder, etc.

In a complicated script with a whole bunch of subfolders which is supposed to be rolled out to more than one user this gets really messy real quick. It would be nice if maildrop could try to deliver and create missing subfolders (even if this was a compile time feature only).

Is there a "subroutine" kind of syntax I could use to at least not duplicate this bunch of code each time? (I can sort of see a way with a global var and an include script).

2) My script is spending a whole bunch of time (like most of it) dropping into a subshell to do tests to see if folders exist. Would it be worth extending the syntax for maildrop to have an inprocess test for folder existence?

Thanks

Ed W