Thanks for the pointer. From reading the Exim docs, it looks to me like
what I need to do is use a per-address filter (as described in
http://www.exim.org/exim-html-4.10/doc/html/spec_39.html#SECT39.8 ).
I wonder if anyone on the list has used a per-address filter instead of home
directory invoked filters; with Exim, of course.
Cheers,
Christopher
=========== Christopher Rath == (613) 824-4584 ===========
1371 Major Rd., Ottawa, ON, Canada K1E 1H3
=============== mailto:[EMAIL PROTECTED] ===============
``Hydrogen is a colourless, odourless gas which, given
enough time, turns into people.'' --- Henry Hiebert
================== http://www.rath.ca/ ===================
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf
Of J C Lawrence
Sent: 12 February, 2003 04:23
To: Todd A. Jacobs
Cc: TMDA Maillist
Subject: Re: TMDA in global mode... can it be done?
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
_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users