Mark Turrin <[EMAIL PROTECTED]> writes:

> I reinstalled as you suggested and have the server configuration mostly
> working but I'm having a little trouble on the client side.  When I go to
> set my .pinerc to: sendmail-path=/usr/local/bin/tmda-sendmail I get the
> following errors and pine will not send the message:
> 
> Traceback (most recent call last):
>   File "/usr/local/bin/tmda-inject", line 456, in ?
>     main()
>   File "/usr/local/bin/tmda-inject", line 430, in main
>     [from_address])
>   File "./TMDA/FilterParser.py", line 940, in firstmatch
> ImportError: No module named cdb

You're using the '-autocdb' flag in your filter rules but you haven't
installed the Python CDB module.  It's a third-party module (small)
that you need to install separately.  Here is a link to the module's
home page (I got this from the filter documentation on the TMDA site).

http://pilcrow.madison.wi.us/#pycdb

> Can a pine/tmda setup automatically put outgoing email addresses in the
> whitelist file as they are sent out?

If you use the 'bare=append' rule for that outgoing address,
tmda-sendmail will append the recipient's address to the file you
specify (using BARE_APPEND) in your ~/.tmda/config file.

http://tmda.net/config-vars.html#BARE_APPEND

> Does tmda do file locking and is there a danger of corrupting the
> whitelist file if you add address manually?

No, it doesn't, and yes, there's a small danger.  The best way to edit
the file is to temporarily pause mail delivery, thus guaranteeing that
TMDA won't run.  You can do this per-user, trivially, with qmail.  I
don't know about the other MTAs.


Tim

_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users

Reply via email to