Chris Garrigues <[EMAIL PROTECTED]> writes: > Here's a harebrained idea: > > from-pipe "/usr/local/sbin/hosts2tmda < /var/qmail/control/rcpthosts" > > which would, of course, have quite a bit of a performance hit, but > this would obviously imply > > from-pipe -autodbm "/usr/local/sbin/hosts2tmda < /var/qmail/control/rcpthosts" > > if we could figure out how to determine when to create the new dbm > file and when not to.
Though CDB/DBM lookups only work with individual e-mail addresses, not wildcards like rcpthosts contains. > However, now that I write that, it sounds fairly impractical...but > how about this scheme: > > from-file -autodbm -filter=/usr/local/sbin/hosts2tmda /var/qmail/control/rcpthosts > > where filter is a script that reads from STDIN and writes to STDOUT > and STDOUT is in a format that tmda can understand. This sounds similar to the `from-program' source that I suggested awhile back (http://mla.libertine.org/tmda-workers/200205/msg00024.html). > P.S. I like sending ideas to you guys (Jason and Tim) because > they've all been taken seriously and several have even been > implemented. Well, I like hearing those ideas. Much of what's in TMDA comes from other's suggestions; things I didn't/couldn't think of myself. This is exactly why TMDA is opensource. > By the time you get to version 1.0, TMDA is going to be awesome! Let's hope so. My only regret is that I don't have more free time to work on all the these great ideas. _____________________________________________ tmda-users mailing list ([EMAIL PROTECTED]) http://tmda.net/lists/listinfo/tmda-users
