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

Reply via email to