[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: exim und 1und1 - war: Suche Mailserver



* Tim Boneko <tim.boneko@web.de> [16-07-2003 13:35]:

> > exim -be
> > '${lookup{tim.boneko@web.de}dbm{/etc/exim/plaintext_pwd.dbm}{$value
> >}fail}' Damit deine Variante funktionieren kann muesste, das
> > Resultat so aussehen: "^login_bei_web.de^Passwort_fuer_web.de"
> 
> Tut es - zumindest hier daheim. Muss gleich die Baustelle entern.
> Fortsetzung folgt!
 
Hallo Tim,

im exim4-Paket von Andreas Metzler habe ich das hier gefunden:

# These examples below are the equivalent for client side authentication.
# They get the passwords from CONFDIR/passwd.client. This file should have
# three columns separated by colons, the first contains the name of the
# mailserver to authenticate against, the second the username and the third
# contains the password.

### # example for CONFDIR/passwd.client
### mail.server:blah:secret
### # default entry:
### *:bar:foo

# plain:
#   driver = plaintext
#   public_name = PLAIN
#   client_send = "^${extract{1}{::}{${lookup{$host}lsearch*{CONFDIR/passwd.client}{$value}fail}}}^${extract{2}{::}{${lookup{$host}lsearch*{CONFDIR/passwd.client}{$value}fail}}}"
#
# login:
#   driver = plaintext
#   public_name = LOGIN
#   client_send = ": ${extract{1}{::}{${lookup{$host}lsearch*{CONFDIR/passwd.client}{$value}fail}}} : ${extract{2}{::}{${lookup{$host}lsearch*{CONFDIR/passwd.client}{$value}fail}}}"
#
# 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}}}


Probiert habe ich es noch nicht. Aber es ist sicher angenehmer, 
wenn die Passwörter nur in einer Datei stehen.

Gruss Uwe



Reply to: