Hello,
In my incoming filter, I'm trying to accomplish the following...
1. If $SENDER is found in ~/.tmda/lists/whitelist
a. Accept the message, writing it to ./Maildir/
b. Forward the message off to another address
To do this, I have the following rule (this is one line in my
filter, but broken here for formatting)....
from-file -optional -autocdb ~/.tmda/lists/whitelist
accept,deliver=&[EMAIL PROTECTED]
When trying to forward messages off I received the following error..
Uncaught Python 2.2.3 Exception (Thu Sep 4 02:22:09 2003):
-----------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/tmda/bin/tmda-filter", line 53, in ?
execfile(os.path.join(execdir, 'tmda-rfilter'))
File "/usr/local/tmda/bin/tmda-rfilter", line 763, in ?
main()
File "/usr/local/tmda/bin/tmda-rfilter", line 705, in main
infilter.read(Defaults.FILTER_INCOMING)
File "./TMDA/FilterParser.py", line 332, in read
File "./TMDA/FilterParser.py", line 379, in __parse
ParsingError: Filter contains parsing errors:
/home/eric/.tmda/filters/incoming
[line 10]: "to": garbage at end of line
I'm using TMDA v0.68.
Also, one other question: when using TMDA, I noticed that calling
it from ~/.qmail doesn't permit qmail to keep delivering messages
to the next line in the .qmail file. I always thought qmail
delivery was based on the success of the preceding action.
Shouldn't TMDA permit qmail to keep processing mail after it
delivers successfully in the following sample?
$ cat .qmail-bla
|preline /usr/local/tmda/bin/tmda-filter
&[EMAIL PROTECTED]
In my tests, [EMAIL PROTECTED] will never get the mail as qmail
exists after piping mail to tmda-filter.
Of course, I may be mistaken - feel free to clue me in :)
Thanks for any help.
- Eric
_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users