[exim] Checking against two LOGIN mecanisms in one instance …

Top Page
Delete this message
Reply to this message
Author: Jarek
Date:  
To: exim-users
Subject: [exim] Checking against two LOGIN mecanisms in one instance of
-----Original Message-----
From: exim-users-bounces@??? [mailto:exim-users-bounces@exim.org] On
Behalf Of Stephen Gran
Sent: Wednesday, August 25, 2004 3:28 PM
To: exim-users@???
Subject: Re: [exim] Checking against two LOGIN mecanisms in one instance of

>server_condition="${if or {\
>  {and {{!eq{$1}{}}{!eq{$2}{}}{crypteq{$2}{\{md5\\}\
>    {lookup mysql{SELECT password FROM boxes WHERE
>user_name='$1'}{$value}fail}}}}{1}}\
>  {saslauthd{{$1}{$2}}}\
>  }{yes}{no}}"

>
>I am not sure about the SQL line - I am using LDAP for primary and
>falling through to a flat file, and neither of them has to do the empty
>string checking that you are doing for SQL. Hopefully that's enough to
>get you futher along though - maybe one of people really good at exim's
>syntax will jump in - my eyes always start to cross when the curly
>braces get too common :)

--
Thanks Stephen, with that now I have idea how to create this condition (but
still it does not work :-) ). I'm trying to simplify everything to avoid
mistakes in syntax. Perhaps You have right - maybe someone ellse found
strict-solution to this problem. I'm fighting with {{{{}{}{}{}}}}{{ :-)
Thaks again
Jarek


----------------------------------------------------------------------
Portal INTERIA.PL zaprasza... >>> http://link.interia.pl/f17cb