On Tue, 11 Feb 2003 20:36:14 -0800 (PST)
Todd A Jacobs <[EMAIL PROTECTED]> wrote:
> On Tue, 11 Feb 2003, Christopher Rath wrote:
>> are straightforward; however, I cannot see any way of setting up TMDA
>> in global mode, unless I use qmail virtual domains and
Its pretty easy under Exim.
> It's not really designed to work like that, IMHO. You could probably
> try setting up a "global" configuration in /usr/local/share/tmda, and
> then symlinking files to each user's $HOME/.tmda directory. You need
> to make sure that each user has his own ~/.tmda/pending and
> ~/.tmda/responses directories, though, or you're going to have some
> privacy issues.
Under Exim use a system filter something like (untested):
if "$h_X-TMDA-Fingerprint:" is "" and
"${domain: $h_From:}" is "yourhost.dom" and
"${if exists {/home/${local_part:$h_From:}/.tmda} {true}{false}}" is "true"
then
pipe "/usr/bin/tmda-inject -c /home/${local_part:$h_From:}/.tmda/config
${sg{$recipients}{,}{}}"
finish
endif
--
J C Lawrence
---------(*) Satan, oscillate my metallic sonatas.
[EMAIL PROTECTED] He lived as a devil, eh?
http://www.kanga.nu/~claw/ Evil is a name of a foeman, as I live.
_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users