[Imap-uw] dmail doesn't create mailboxes

Fred Seaton F-Seaton at wiu.edu
Thu Apr 12 10:01:52 PDT 2007


We're getting ready to put imap-2006 into production and in testing I 
noticed that dmail doesn't work transparently in our .procmailrc 
files because it doesn't create a mailbox if it doesn't already exist 
(and procmail does).

Is there a reason behind this design choice?  I can get around it 
with the following code, but I hate to add this overhead to procmail:

fs



:0
* ^X-Spam-Status:.*Yes,
{
   MAILDIR=$HOME/Mail

   :0 Wic
   * ? /bin/ksh -c "test ! -e $MAILDIR/SPAM"
   | /mail/sbin/mailutil create SPAM

   :0
   | /mail/sbin/dmail +SPAM
}

--
Fred Seaton
Research & Instructional Consultant, Senior UNIX Specialist
University Computer Support Services
Western Illinois University
126 Stipes Hall
Macomb, IL  61455
309-298-1177



More information about the Imap-uw mailing list