You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by "Binkle, Harald" <bi...@jam-software.com> on 2006/12/15 09:32:12 UTC
learn function on bayes causes hang up if no access on bayes files
Hi @all,
Wenn we call the learn method to train the bayes the calling application
hangs up if the calling process does not have access rights on the bayes
files.
The reason for this is SpamAssassin does not stop trying to create the
bayes.lock file:
251260 14:11:12,7018567 SmartPOP2SMTP.exe 628 QueryOpen
\\Server3\rules\bayes.lock FAST IO DISALLOWED
251261 14:11:12,7028181 SmartPOP2SMTP.exe 628 CreateFile
\\Server3\rules\bayes.lock NAME NOT FOUND Access: Read
Attributes, Disposition: Open, Options: Open Reparse Point, Attributes:
n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a
251905 14:11:13,7042895 SmartPOP2SMTP.exe 628 CreateFile
\\Server3\rules\bayes.lock ACCESS DENIED Access: Generic
Read/Write, Disposition: Create, Options: Synchronous IO Non-Alert,
Non-Directory File, Attributes: N, ShareMode: Read, Write,
AllocationSize: 33.636.371.386.073.088
251906 14:11:13,7055453 SmartPOP2SMTP.exe 628 CreateFile
\\Server3\rules\bayes.lock NAME NOT FOUND Access: Read
Attributes, Synchronize, Disposition: Open, Options: Synchronous IO
Non-Alert, Non-Directory File, Attributes: n/a, ShareMode: ,
AllocationSize: n/a
251907 14:11:13,7068445 SmartPOP2SMTP.exe 628 CreateFile
\\Server3\rules\ SUCCESS Access: Read Data/List Directory,
Synchronize, Disposition: Open, Options: Directory, Synchronous IO
Non-Alert, Attributes: n/a, ShareMode: Read, Write, AllocationSize: n/a
251908 14:11:13,7081485 SmartPOP2SMTP.exe 628 QueryDirectory
\\Server3\rules\bayes.lock NO SUCH FILE Filter: bayes.lock
251909 14:11:13,7085562 SmartPOP2SMTP.exe 628 CloseFile
\\Server3\rules\ SUCCESS
This sequence is repeated endlessly.
Shouldn't it stop trying after maybe 5 unsuccessful attempts?
Greetings
Harry