Hi,
Im posting this once again with another subject with hope
that someone will answer;-))
I'd like to autenticate useres from diffrent tables in mysql
depending on the domain.
I tried the following:
fixed_plain:
driver = plaintext
public_name = PLAIN
server_condition = \
${if eq {${extract{2}{@}{$2}}} {this.domain} \
{ \
${if crypteq {$3} {${lookup mysql{select ....
}{ \
${if crypteq {$3} ${lookup mysql{other_select ...
}}
server_set_id = $2
i got from exim (3.:
auth plain AHQjZXhpbTEuZ3Jhei5pbm9kZS5hdABzd3RhY2FkMTQ=
child 16033 ended: status=0xb
if i try this with simple authentfication:
server_condition = \
${if crypteq {$3} {${lookup mysql{select ....
it worked.
any suggestions?
maby a better way to do this?
Robert