Hi,
> First I have to mention, that I am not a programmer or anything
> similar... (I think you easyly noticed that)
You don't have to, everything is explained in the exim spec. Of course
it's easier if you have some programming experience.
> Perform the sql-lookup.
> If it succeeds, then give back "yes".
> If it fails, then the lookup is replaced by an empty string.
No, that would be {} after the first {yes}.
If the lookup fails, the second statement ("${if crypteq...") is used. I
think that's what you want.
> Then go on to the next condition.
it's not a condition, it's another expansion which is only used if the
sql-lookup failed. consider it as the "else" part of an if-then-else
construct.
> Perform the file-lookup.
> If it succeeds, then give back "yes".
> If it fails, give back "no".
yes. but as said, the file-lookup is (and should be) only done if the
sql-lookup failed.
> All right. I added the missing brackets (again: as good as I could):
I think there are no missing brackets (though I checked not really hard),
why don't you first just try what I wrote?
And what use is the "{*:*}"? I'd rather use "fail" (without brackets!) or
somebody could use "*:*" as a password for unknown users...