Just installed maildrop, it's great, can't get enough of it.

When using the "to foo" command, if there is no maildir or mbox called
"foo", it creates one.  That's good!  Unfortunately, it creates an
mbox, which won't be very helpful once I install Courier-IMAP.

I wonder if there's a way to get "to" to create a maildir.  The best I
could come up with is the following mailfilter recipe (can you call it
a recipe, or is that too procmail?):

TO="^((Original-)?(Resent-)?(To|Cc|Bcc)|(X-Envelope|Apparently(-Resent)?)-To):.*"

if (/${TO}[EMAIL PROTECTED]/)
{
  `maildirmake $MAIL/regexp-dev`
  to $MAIL/regexp-dev
}

This works, but unfortunately, it's ugly, especially repeated a dozen
times.  Is there a variable I missed?  How do I formally request a
feature?

-- 
Alex Chaffee                       mailto:[EMAIL PROTECTED]
jGuru - Java News and FAQs         http://www.jguru.com/alex/
Creator of Gamelan                 http://www.gamelan.com/
Founder of Purple Technology       http://www.purpletech.com/
Curator of Stinky Art Collective   http://www.stinky.com/

_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to