procmail
[Top] [All Lists]

locking of INCLUDERC ?

2005-03-29 14:25:21
Good evening,

in 'mutt' I have a macro which add/remove dynamicly filters
"~/.procmail/FLT_mutt" to procmail for, e.g., copying incoming
Mailthreads to a second folder or something like this.

Now I have the problem, that if I update the filter from 'mutt'
and 'fetchmail' is fetching the same time while forwarding to
'procmail', that I need to lock the INCLUDERC.

Can I use this:

:0 :FLT_mutt.lock
{
  INCLUDERC=$HOME/.procmail/FLT_mutt
}

Which mean, if 'procmail' pass the rule, it lock it and my
'mutt-macro-script' must wait and if the 'mutt-macro-script'
comes first, procmail must wait...

Oh yes, the 'mutt-macro-script' produce the same lockfile.

OK, I had curently no strange things on my setup, but for the
future I want to be sure.


Or is there a better idea ?


Greetings
Michelle

-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/ 
Michelle Konzack   Apt. 917                  ICQ #328449886
                   50, rue de Soultz         MSM LinuxMichi
0033/3/88452356    67100 Strasbourg/France   IRC #Debian (irc.icq.com)

____________________________________________________________
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

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