Re: [exim] Assistance with authenticator syntax, please.

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: nick
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: Re: [exim] Assistance with authenticator syntax, please.
Thanks to all the responses so far. Getting closer, exim now accepts
the config syntax at startup.

plain:
    driver= plaintext
    public_name = PLAIN
    server_condition = ${if and{                  \
                                                     { ${lookup 
ldap{ldap:///o=southover,c=uk?mail?sub? 
(&(cn=${quote_ldap_dn:$2})(smtpauth=${quote_ldap:TRUE}))}} }     \
                                                     { 
${ldapauth{user="cn=${quote_ldap_dn:$2},o=southover,c=uk" 
pass=${quote:$3} ldap://ldap.southover.net/}}              } \
                                                  } {yes}{no}        \
                                      }
   server_set_id=$2


But when I try to do an smtp-auth I see logged:

                condition name expected, but found "${lookup ldap{ld" 
inside "and{...}" condition







As you can tell, I really have no clue..
n.