[maemo-developers] [maemo-developers] sending mail with authentification method plain

From: Rainer Dorsch rdorsch at web.de
Date: Thu Aug 31 20:03:50 EEST 2006
Hello,

not sure, if that is useful for maemo developers, but I thought I report back 
my experience with the 770 mail tool, just in case anybody is working on the 
email client.

I just configured the maemo email client (TLS encryption) and noticed two 
things:

-> authentification method login is supported, plain not. This is odd, since 
there is an RFC for plain (RFC 2595) and none for login.

-> I continued experimenting with cram-md5. This is described in RFC 2195, but 
my configuration (server side, exim, Debian sarge) did not work. The 770 
reported incorrect authentification data. Although I used the same 
configuration as in kmail in another machine.

I don't have a lot of debug data here:

Server config:
# Anyone can relay if they auth first.  And auth must happen over SSL.
#host_auth_accept_relay = *

# SSL/TLS cert and key
tls_certificate = /usr/local/cert/exim.cert
tls_privatekey = /usr/local/cert/exim.key

# Advertise TLS to anyone
tls_advertise_hosts = *

# Require auth over SSL only.
auth_over_tls_hosts = *

[...]

crammd5:
  driver = cram_md5
  public_name = CRAM-MD5
  server_secret = ${if !eq{$1}{}{${extract{1}{:} \
        {${lookup{$1}lsearch{/etc/exim/passwd-cram-md5}{$value}{*:*}}}}}fail}
  server_set_id = $1

The exim log does not tell a lot:
2006-08-31 17:20:47 Authentication failed for stgt-d9bea06f.pool.mediaways.net 
[217.190.160.111] (rd): 535 Incorrect authenticati
on data

Thanks,
Rainer
-- 
Rainer Dorsch
Alzentalstr. 28
D-71083 Herrenberg
07032-919495
Icq: 32550367
GPG Fingerprint: 5966 C54C 2B3C 42CC 1F4F  8F59 E3A8 C538 7519 141E
Full GPG key: http://pgp.mit.edu/

More information about the maemo-developers mailing list