On 08.05.2007, at 08:57, Kjetil Torgrim Homme wrote:

> On Tue, 2007-05-08 at 07:55 +0200, Wolfgang Hennerbichler wrote:
>> On 08.05.2007, at 03:07, Kjetil Torgrim Homme wrote:
>>> we set $address_data to contain all the attributes for that user  
>>> from
>>> LDAP early on.
>>
>> I'd be very intersted in that "early on" stage when it comes to
>> finding out if the user is in the $h_To or $h_CC fields. Could you
>> also give me an example on that one?
>
> we don't do any checking of $h_To: or $h_Cc:, so I'm not sure what
> you're asking here.

so your autoreply will also reply, if the recipient is on bcc.

> anyway, here's the router which sets address_data.  it should be your
> first router or thereabouts.  our LDAP schema is very non-standard, so
> this is only meant as an illustration.

got you.

> set_address_data:
>   driver = redirect
>   local_part_suffix = +*
>   local_part_suffix_optional
>   address_data = ${lookup ldap {LDAP_BASE?\
[snip]

VERY cool approach to save ldap ressources!

I think I got your approach now.
Thanks a lot. I guess my final vacation implementationÎ will  
eventually look similar to yours.

> -- 
> Kjetil T.

wogri

-- 
www.vix.at // www.aco.net // www.sth.ac.at
[EMAIL PROTECTED] // WH844-RIPE
Vienna University Computer Center
Tel: +43 1 4277-14031 // Fax: -9140




-- 
## List details at http://www.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/

Reply via email to