Lieven Vanhulle <[EMAIL PROTECTED]> writes: > Is it possible to omit the 'per user' .tmda directory with all its > settings and use a > > common /etc/tmda directory valid for all users, considering they all > use the same > > anti spam policy ?
I haven't tried it, but I think you could create a global /etc/tmdarc with all the basic settings and, in addition, make sure you set DATADIR to your /etc/tmda/ directory: DATADIR = '/etc/tmda/' Assuming your config file is /etc/tmda/config, make sure to run tmda-filter and tmda-sendmail with the '-c' flag, like this: .forward or .qmail file: | /path/to/tmda-filter -c /etc/tmda/config Finally, be aware that the MTA will usually do delivery by changing to the UID of the user receiving the mail, so /etc/tmda will need to be readable and writable by every mail user on the system. The crypt_key will be shared and readable by all of those users, too, so if you think you might have a security problem with your users, this setup is just begging for trouble. Some admins have opted for individual directories for users, so that the crypt_key and whitelist/blacklist files are unique per user, but keep all of the config directories under /var/tmda, for example. Tim _____________________________________________ tmda-users mailing list ([EMAIL PROTECTED]) http://tmda.net/lists/listinfo/tmda-users
