Need to force SpamBayes to run.

Andoni andoni.oconchubhair at fmr.com
Tue Mar 18 16:34:32 CET 2008


Hi all,

I realise this is not the SpamBayes list but you could grow old
waiting for that so trying here.

We are using SpamBayes to filter messages coming in to a mailbox. It
misses some messages with errors like what's below. When this happens
we can go in and click "Filter Messages" and it runs no problem.

What I would like to be able to do is to have an hourly batch-job that
runs that same process for me. I don't see anything in the file system
that would allow me to run a command-line call that executes "Filter
Messages".

Can anybody help?
Thanks in advance,
Andoni OConchubhair.


pythoncom error: Python error invoking COM method.

Traceback (most recent call last):
  File "win32com\server\policy.pyc", line 283, in _Invoke_
  File "win32com\server\policy.pyc", line 288, in _invoke_
  File "win32com\server\policy.pyc", line 647, in _invokeex_
  File "win32com\server\policy.pyc", line 581, in _invokeex_
  File "addin.pyc", line 390, in OnItemAdd
  File "msgstore.pyc", line 365, in GetMessage
msgstore.NotFoundException: NotFoundException: Exception 0x8004010f
(MAPI_E_NOT_FOUND): OLE error 0x8004010f
pythoncom error: Python error invoking COM method.

Traceback (most recent call last):
  File "win32com\server\policy.pyc", line 283, in _Invoke_
  File "win32com\server\policy.pyc", line 288, in _invoke_
  File "win32com\server\policy.pyc", line 647, in _invokeex_
  File "win32com\server\policy.pyc", line 581, in _invokeex_
  File "addin.pyc", line 390, in OnItemAdd
  File "msgstore.pyc", line 365, in GetMessage
msgstore.NotFoundException: NotFoundException: Exception 0x8004010f
(MAPI_E_NOT_FOUND): OLE error 0x8004010f
pythoncom error: Python error invoking COM method.

Traceback (most recent call last):
  File "win32com\server\policy.pyc", line 283, in _Invoke_
  File "win32com\server\policy.pyc", line 288, in _invoke_
  File "win32com\server\policy.pyc", line 647, in _invokeex_
  File "win32com\server\policy.pyc", line 581, in _invokeex_
  File "addin.pyc", line 390, in OnItemAdd
  File "msgstore.pyc", line 365, in GetMessage
msgstore.NotFoundException: NotFoundException: Exception 0x8004010f
(MAPI_E_NOT_FOUND): OLE error 0x8004010f
pythoncom error: Python error invoking COM method.

Traceback (most recent call last):
  File "win32com\server\policy.pyc", line 283, in _Invoke_
  File "win32com\server\policy.pyc", line 288, in _invoke_
  File "win32com\server\policy.pyc", line 647, in _invokeex_
  File "win32com\server\policy.pyc", line 581, in _invokeex_
  File "addin.pyc", line 390, in OnItemAdd
  File "msgstore.pyc", line 365, in GetMessage
msgstore.NotFoundException: NotFoundException: Exception 0x8004010f
(MAPI_E_NOT_FOUND): OLE error 0x8004010f



More information about the Python-list mailing list