[Spambayes] Does sb_mboxtrain.py lock the mailbox while processing it?

Michal Kochanowicz michal at michal.waw.pl
Sun Mar 21 10:40:05 EST 2004


On Sun, Mar 21, 2004 at 08:53:47AM -0600, Skip Montanaro wrote:
> them into account.  My recommendation is that unless you want to add all
> that to the code, don't use it directly on your spool file.
So maybe you should add a note to "sb_mboxtrain.py -h", such as:

Do not use mailboxes which can be modified externally (by mail delivery
or procmail) with -g and -s switches. Mail delivered to mailbox being
processed by sb_mboxtrain.py can be lost. You may consider using
lockfile(1) command to protect mailbox from concurent modification.
-- 
--= Michal Kochanowicz =--==--==BOFH==--==--= michal at michal.waw.pl =--
--= finger me for PGP public key or visit http://michal.waw.pl/PGP =--
--==--==--==--==--==-- Vodka. Connecting people.--==--==--==--==--==--
A chodzenie po górach SSIE!!!



More information about the Spambayes mailing list