First, you should notice that the actual error message is this: MatchError: [line 8]: "from-file": missing or bogus <action> field
When you say "here is a typical incoming filter file" is this the file that is actually causing the error? If so, then the error is related to this line: from-file -autocdb ~/.tmda/lists/whitelist DELOK If not, then are you certain that the you've not got a spelling error on the particular line that's causing this error. If you're sure that everything is spelled right, try replacing the macro, e.g: from-file -autocdb ~/.tmda/lists/whitelist deliver=~/.maildir/ See if that causes the error to repeat. Let me know what happens. Cheers, - Mark On 2006-10-30, Anthony Ercolano <[EMAIL PROTECTED]> wrote: > 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 > > _____________________________________________ tmda-users mailing list (tmda-users@tmda.net) http://tmda.net/lists/listinfo/tmda-users