However, I ended up taking another route. Reason being that tmda was not able to extrapolate ~ since vpopmail users aren't system users, so the environment has no info on them.
I ended up adding an additional from-file entry in the incoming filter for each specific user to point to a global whitelist. I'll put it in the vadduser-tmda script from cntrib to do it when users are added or modified so it's a bit more automated.
Thanks again.
If you edit /etc/tmdarc and set FILTER_INCOMING (see
http://www.tmda.net/config-vars.html#FILTER_INCOMING) to point to a =
global
incoming filter where you define your global whitelist, then using the
include filter option you can include the users personal incoming filter
utilizing variable interpolation to get the right filter file. (see
http://www.tmda.net/config-filter.html#addlfeatures for more info on the
include statement and variable interpolation) your tmdarc might look =
like
this:
[circle:etc> cat tmdarc FILTER_INCOMING =3D "/etc/filters/globalincoming" USERS_FILTER =3D "os.path.expanduser("~/.tmda/filters/incoming") [circle:etc>=20
And your globalincoming file might look like this:
[circle:filters> cat globalincoming to-file /etc/lists/globalwhitelist ok Include -optional ${USERS_FILTER} [circle:filters>=20
Check out the exampes in = http://www.tmda.net/config-filter.html#addlfeatures for more possible options
Dave
_____________________________________________ tmda-users mailing list ([EMAIL PROTECTED]) http://tmda.net/lists/listinfo/tmda-users
