procmail
[Top] [All Lists]

moving from new to cur

2000-10-21 14:38:45
Pardon my thickness here, but I don't get something.

Someone, I don't recall who it is, uses maildir format and wants procmail
to move his newly arrived messages from folder/new/ to folder/cur/, right?

So this seems logical to me:

 :0 flags
 * conditions
 {
  FOLDER = name_of_maildir
  TRAP='mv $LASTFOLDER $FOLDER/cur' # requires strong quotes
   
  :0
  $FOLDER/
 }


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>