
### auth/30_elho-mta-mailserver_cram_md5_server
###############################################

# Configuration for server side CRAM-MD5 authentication, when the local exim
# is SMTP server and clients authenticate to the local exim.
#
# It gets the passwords from CONFDIR/passwd, whose format is defined in
# exim4_passwd(5).

cram_md5_server:
  driver = cram_md5
  public_name = CRAM-MD5
  server_secret = ${extract{2}{:}{${lookup{$auth1}lsearch{CONFDIR/passwd}{$value}fail}}}
  server_set_id = $auth1
