Hi,
One of my users is getting the following message in his debug log:
Uncaught Python 2.3 Exception (Mon Nov 3 13:55:19 2003):
---------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/bin/tmda-filter", line 53, in ?
execfile(os.path.join(execdir, 'tmda-rfilter'))
File "/usr/local/bin/tmda-rfilter", line 891, in ?
main()
File "/usr/local/bin/tmda-rfilter", line 830, in main
orig_msgin_size)
File "/usr/local/lib/python2.3/site-packages/TMDA/FilterParser.py", line 922,
in firstmatch
raise MatchError(lineno, e._msg)
MatchError: [line 17]: "from-file": missing or bogus <action> field
There is no corresponding entry in the incoming log. Procmail
(which calls tmda)logs an error as such and dumps the message into his
inbox.
procmail: Program failure (75) of "/usr/local/bin/tmda-filter"
>From [EMAIL PROTECTED] Mon Nov 3 13:55:14 2003
Subject: RE: Yo
Folder: /home/user/mbox
This is the line in the incoming filter that is triggering it:
from-file -autocdb ~/.tmda/lists/whitelist accept
The cdb module exists and works fine globally. The whitelist (and
associated cdb) exist and appear to have correct permissions. This
error message is intermittent - I'm not sure why some messages trigger
it.
[EMAIL PROTECTED]:/home/user/.tmda/lists# ls -al
total 47
drwxr-xr-x 2 user users 512 Nov 1 23:09 .
drwxr-xr-x 8 user users 512 Oct 11 13:47 ..
-rw-r--r-- 1 user users 257 Oct 31 15:18 blacklist
-rw------- 1 user users 16384 Oct 31 15:58 blacklist.db.db
-rw------- 1 user users 0 Oct 31 15:58 blacklist.last_built
-rw-r--r-- 1 user users 7189 Oct 22 08:30 whitelist
-rw------- 1 user users 16361 Oct 22 08:50 whitelist.cdb
-rw-r--r-- 1 user users 118 Nov 1 21:37 whitelist_confirmed
-rw------- 1 user users 2304 Nov 1 23:09 whitelist_confirmed.cdb
-rw-r--r-- 1 user users 0 Oct 11 13:43 whitelist_wildcards
[EMAIL PROTECTED]:/home/user/.tmda/lists#
[EMAIL PROTECTED]:/home/user/.tmda/filters# more incoming
### ~/.tmda/filters/incoming (first match wins) ###
# Accept all bounces (messages with an empty envelope sender)
from <> accept
# Accept all messages to postmistress
to [EMAIL PROTECTED] accept
# Bounce all messages from badboy.dom
from [EMAIL PROTECTED] bounce
# Include my blacklist and whitelist
#from-dbm ~/.tmda/lists/blacklist.db drop
#from-file -autodbm ~/.tmda/lists/nastygrams bounce
#from-file -autodbm ~/.tmda/lists/whitelist accept
from-file -autodbm ~/.tmda/lists/blacklist drop
from-file -autocdb ~/.tmda/lists/whitelist accept <---- **
from-file -autocdb ~/.tmda/lists/whitelist_confirmed accept
from-file ~/.tmda/lists/whitelist_wildcards accept
Any ideas?
TMDA 0.87 on FreeBSD (from ports).
Sendmail and Procmail.
-jon
--
Jon Nathan
[EMAIL PROTECTED]
_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users