traceback in my tmdadebug, not to sure what to look for...
Anthony Ercolano <[email protected]>
| Newsgroups | gmane.mail.spam.tmda.user |
|---|---|
| Message-ID | <[email protected]> |
I just noticed these tracebacks in my debug log. (I hadn't been
looking at it for a couple of weeks.)
These are somewhat intermittent but I don't seem to be able to figure
out what is triggering them:
Uncaught Python 2.4.3 Exception (Mon Oct 30 22:11:26 2006):
-----------------------------------------------------------
Traceback (most recent call last):
File "/usr/src/tmda/tmda-1.1.7/bin/tmda-filter", line 53, in ?
execfile(os.path.join(execdir, 'tmda-rfilter'))
File "/usr/src/tmda/tmda-1.1.7/bin/tmda-rfilter", line 867, in ?
main()
File "/usr/src/tmda/tmda-1.1.7/bin/tmda-rfilter", line 808, in main
orig_msgin_size)
File "./TMDA/FilterParser.py", line 926, in firstmatch
MatchError: [line 8]: "from-file": missing or bogus <action> field
Any thoughts?
Here is a typical incoming filter file:
macro SPAMDEL deliver=~/.maildir/.spam/
macro DELOK deliver=~/.maildir/
# spam to the spam folder
#
# If its on any of our whitelists then deliver it
#
from-file -autocdb ~/.tmda/lists/accepted-domains DELOK
from-file -autocdb ~/.tmda/lists/whitelist DELOK
#
# If the send to address is one of my mailing lists, let it through.
#
from-file ~/.tmda/lists/mailinglists DELOK
#
# If spam gets a score of 13 or higher just drop that thing into the bit bucket
#
headers "X-Spam-Level: \+\+\+\+\+\+\+\+\+\+\+\+\+" drop
#
# If it is marked as spam then off to the spam subdir
#
headers "X-Spam-Status: Yes" SPAMDEL