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

Norbert Preining preining@logic.at
Wed Jul 13 16:35:22 UTC 2005


On Mit, 13 Jul 2005, Andreas Metzler wrote:
> Well, it tells you the the problem is on the server-side ...

Ok, my first step was to get a fixed username/secret pair:
cram:
  driver = cram_md5
  public_name = CRAM-MD5
  server_secret = ${if eq{$1}{username}{password}fail}
  server_set_id = $1

And then called swaks:

$ ./swaks --auth CRAM-MD5 --server our.mail.server.com --auth-user username --auth-password password

and it worked, at least. (Ok, not totally, relaying is still not
permitted, but this is the next step!)

So why does this not look up the right thing:
cram:
  driver = cram_md5
  public_name = CRAM-MD5
  server_secret = ${lookup{*}lsearch{/etc/exim/clientpasswd}{$1}fail}
  server_set_id = $1


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
-------------------------------------------------------------------------------
FORD 	Six pints of bitter. And quickly please, the
	world's about to end.
BARMAN	Oh yes, sir? Nice weather for it.
                 --- Douglas Adams, The Hitchhikers Guide to the Galaxy




More information about the Pkg-exim4-users mailing list