procmail
[Top] [All Lists]

Re: not as easy as the FAQ - (was Re: IMAP filtering, how to mark my own messages read)

2005-08-23 16:23:55
On Wed, Aug 24, 2005 at 01:03:15AM +0200, Klaus Johannes Rusch
wrote:

Dallman Ross wrote:

:0 wc
* ^Sender: procmail-bounces(_at_)lists\(_dot_)RWTH-Aachen\(_dot_)DE
.INBOX.Procmail/

:0 A
| mv $LASTFOLDER $LASTFOLDER:2,S
 

Don't you risk overwriting files with this?

I don't see how.  $LASTFOLDER in maildir++ is unique,
so far as I know, and the mail reader always changes
the name to $LASTFOLDER:2,S to make it read.

Note that I used a w flag on the first recipe.

-- 
dman

____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail