On Mon, 2010-02-22 at 15:25 -0800, Ernie Dunbar wrote:
> Oh! I seem to have somehow subscribed to exim-dev, not the support list.
> Terribly sorry about that.
Er, no. You're on exim-users.
For PLAIN and LOGIN you need two parts in your authenticators section.
This is documented clearly in the default configuration file, although
your packager may have changed it for their packaged config.
begin authenticators
# PLAIN authentication has no server prompts. The client sends its
# credentials in one lump, containing an authorization ID (which we do
not
# use), an authentication ID, and a password. The latter two appear as
# $auth2 and $auth3 in the configuration and should be checked against a
# valid username and password. In a real configuration you would
typically
# use $auth2 as a lookup key, and compare $auth3 against the result of
the
# lookup, perhaps using the crypteq{}{} condition.
PLAIN:
driver = plaintext
server_set_id = $auth2
server_prompts = :
server_condition = Authentication is not yet configured
server_advertise_condition = ${if def:tls_cipher }
# LOGIN authentication has traditional prompts and responses. There is
no
# authorization ID in this mechanism, so unlike PLAIN the username and
# password are $auth1 and $auth2. Apart from that you can use the same
# server_condition setting for both authenticators.
LOGIN:
driver = plaintext
server_set_id = $auth1
server_prompts = <| Username: | Password:
server_condition = Authentication is not yet configured
server_advertise_condition = ${if def:tls_cipher }
Spot the difference...
Graeme