Jon Nathan <[EMAIL PROTECTED]> writes:

> I use the python cdb module and keep my whitelist/blacklast databases
> in this format.  When is the .cdb file generated from the text file?

Whenever you do it, unless you use the -autocdb flag.

> from ~/.tmda/filters/outgoing:
> # All whitelisted contacts receive untagged messages
> to-cdb ~/.tmda/lists/whitelist.cdb bare
> to-file ~/.tmda/lists/whitelist_wildcards bare

Change your whitelist.cdb line to this:

to-file -autocdb ~/.tmda/lists/whitelist bare

and change the line in your incoming filter that refers to the cdb to
this (or something similar):

from-file -autocdb ~/.tmda/lists/whitelist accept

TMDA only rebuilds the CDB if you use the -autocdb flag and the CDB is
out of date with regard to the text file.  That's why you use
to-file/from-file instead of to-cdb/from-cdb and why you specify the
text file instead of the CDB file.

Be sure to update both your incoming and outgoing filters.

See http://www.tmda.net/filter-sources.html


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

Reply via email to