[Pkg-exim4-users] cram_md5 authentication between exim3 and exim4

Norbert Preining preining@logic.at
Wed Jul 13 13:19:45 UTC 2005


Hi all!

I have a question concerning exim and cram-md5 authentication:

We have a server running exim3 (debian woody) and the following entry in
the config file
# AUTHENTICATION CONFIGURATION
cram:
  driver = cram_md5
  public_name = CRAM-MD5
  server_secret = ${lookup{*}lsearch{/etc/exim/clientpasswd}{$1}fail}
  server_set_id = $1

and the corresponding /etc/exim/clientpasswd file:
gandalf:foobar

the client uses exim4 (debian sid) and the following config file
snippet:
begin authenticators
cram_md5:
  driver = cram_md5
  public_name = CRAM-MD5
  client_name = ${extract{1}{:}{${lookup{$host}lsearch*{CONFDIR/passwd.client}{$value}fail}}}
  client_secret = ${extract{2}{:}{${lookup{$host}lsearch*{CONFDIR/passwd.client}{$value}fail}}}

with the following entry in /etc/exim4/passwd.client:
our.mail.server.com:gandalf:foobar

I have our.mail.server.com as smart host, but when I try to deliver an
email via this server the following happens (log from server exim):
SMTP<< EHLO gandalf.localdomain
set_process_info:  8606 handling incoming connection from host28-221.pool80183.interbusiness.it (gandalf.localdomain)
[80.183.221.28]
SMTP>> 250-our.mail.server.com Hello host28-221.pool80183.interbusiness.it [80.183.221.28]
250-SIZE
250-PIPELINING
250-AUTH CRAM-MD5
250 HELP
SMTP<< AUTH CRAM-MD5
SMTP>> 334 PDg2MDYuMTEyMTE4NTczMkBhbHBoYS5sb2dpYy50dXdpZW4uYWMuYXQ+
SMTP>> 535 Incorrect authentication data
LOG: 0 MAIN REJECT

So there seems to be an error in my configuration, but I cannot see
where it is. Can someone help me getting this fixed?

Best wishes and thanks a lot

Norbert

-------------------------------------------------------------------------------
Dr. Norbert Preining <preining AT logic DOT at>             Università di Siena
sip:preining@at43.tuwien.ac.at                             +43 (0) 59966-690018
gpg DSA: 0x09C5B094      fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
-------------------------------------------------------------------------------
SAFFRON WALDEN (n.)
To spray the person you are talking to with half-chewed breadcrumbs or
small pieces of whitebait.
			--- Douglas Adams, The Meaning of Liff


-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an debian-user-german-REQUEST@lists.debian.org
mit dem Subject "unsubscribe". Probleme? Mail an listmaster@lists.debian.org (engl)

Herzliche Grüße
Best wishes

Norbert

-------------------------------------------------------------------------------
Dr. Norbert Preining <preining AT logic DOT at>             Università di Siena
sip:preining@at43.tuwien.ac.at                             +43 (0) 59966-690018
gpg DSA: 0x09C5B094      fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
-------------------------------------------------------------------------------
DUNBAR (n.)
A highly specialised fiscal term used solely by turnstile
operatives at Regnet's Part zoo. It refers to the variable amount of
increase in the variable gate takings on a Sunday afternoon, caused by
persons going to the zoo because they are in love and believe that the
feeling of romance will be somehow enhanced by the smell of panther
sweat and rank incontinence in the reptile house.
			--- Douglas Adams, The Meaning of Liff




More information about the Pkg-exim4-users mailing list