Thank you for the fast reply, But I need somethig a little bit more complicated: I want to ensure the a whole .procmailrc execution will be completed before a next begins. I am trying to do a small experiment : In my .procmailrc I call to 3 different spamfilter, and then I write the results to a file. there for I must ensure execution completion before another execution begin. Does anyone know how can I do it? Thank you, Asi
On Mon 23 Jan 21:14 2006 jdow wrote: > From: "galili assaf" <[EMAIL PROTECTED]> > > > Hello all, > > I am using spamassasin in .procmailrc (unix account). > > my question is about .procmailrc: > > is .procmailrc synchronized? I mean, if two new mails are coming to my > > accout, will the > > first .procmailrc script execution finish before the second execution will > > start? > > I am trying to do something so the order is very importent. > > Thank you, > > It is if you tell it to lock. If you are writing to a file then you do need > to "lock". If not then locking is not needed. You can name the locks or you > can use a generic lock. The man pages procmailrc and procmailex are good > friends here. > > Format for a named lock > :0c: clone.lock > $home/mail/clone > > Format for a generic lock > :0c: > $home/mail/clone > > Format for no lock > :0h > <stuff> > > And so forth > {^_^}