Howdy list,

Background:
-----------

I use vpopmail+TMDA currently, and I'd need to automatically
whitelist all of my virtual domains via a cron script every
5 or 10 minutes or so.

(I'm using qadmin-tmda to allow my customers to interface with
TMDA)

Currently, I plan to implement this "global" whitelist like so:

Each user has a personal set of filter files. Incoming and outgoing.

I am simply putting an "include" statement in each user's incoming
and outgoing filter files that points to my global filter file.

Let's say that global filter file is here: /usr/local/vpopmail/.tmda/global-filter

Now, inside this global filter file, I figure I have three choices:

1.) I could individually whitelist each of these domains directly from
    the global filter file like so:

    from [EMAIL PROTECTED] ok
    from [EMAIL PROTECTED] ok
    etc...

2.) I could include another whitelist, and use this whitelist as my "global"
    whitelist:

    from-file /usr/local/vpopmail/.tmda/globalwhitelist ok

3.) I could include a CDB whitelist, and use this CDB whitelist as my "global"
    whitelist:

    from-cdb /usr/local/vpopmail/.tmda/globalwhitelist.cdb ok


Now, here's the question:
-------------------------

I only have about 50 domains on this box currently, but I plan to have 1000s
someday(hopefully soon!). I DO NOT want mail to be delayed or lost while the
global whitelist is being regenerated (happens every 10 minutes or so from cron
script).

I'm thinking that the huge whitelist (1000s of domains, remember), combined
with the need for atomic updates pretty much locks me into strict CDB(or DBM)
format, right?

Or could I get away with -autocdb? I'd be much more comfortable building a text
file rather than a CDB or DBM file from Perl. Do you think that I could get away
with using -autocdb or -autodbm as long as I only updated the global whitelist's
text file when a change had been made, rather than every 10 minutes?

Thanks!

-- 
Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v)  423-559-5145 (f)
http://www.wingnet.net

We are actively looking for companies that do a lot of long
distance faxing and want to cut their long distance bill by
up to 50%.  Contact [EMAIL PROTECTED] for more info.


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

Reply via email to