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 20:17 2006 Remi Ricard wrote: > Hi, > > > Hello all, > > I am using spambayes 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. > > By default .procmail is not serialized, 2 emails can go and start the > execution of the script. > > What you have to do is to make it wait until the filtering is finished > > This is part of my .procmail > FILTER=sb_filter.py > DB = $HOME/Tmp/spambayes.statistic.db > > :0 fw:hamlock > | $FILTER -d $DB > > # the f => consider the pipe as a filter > # the w => Wait for the filter or program to finish and check its > exitcode (normally ignored); if the filter is unsuccessful, > then the text will not have been filtered. > > > Remi _______________________________________________ [email protected] http://mail.python.org/mailman/listinfo/spambayes Check the FAQ before asking: http://spambayes.sf.net/faq.html
