Re: [exim] Authenticated SMTP and PAM

Pàgina inicial
Delete this message
Reply to this message
Autor: Tony Finch
Data:  
A: Ron McKeating
CC: Exim-Users \(E-mail\)
Assumpte: Re: [exim] Authenticated SMTP and PAM
On Wed, 15 Dec 2004, Ron McKeating wrote:
>
> Seem there are lots of ways to skin a cat. OK there are lots of email
> service managers on this list, is there a recommended way of doing
> authenticated SMTP.


Our master password database is used to populate a table for Exim's use,
the Unix password file (NIS databases to be precise), and the Cyrus
authentication databases. We update them all periodically which means that
password changes have a propagation delay but it simplifies things
greatly.

LOGIN:
  driver        = plaintext
  server_set_id        = $1
  server_prompts    = <| Username: | Password:
  server_condition    = \
    ${if crypteq{$2}{${lookup {$1} cdb {USERS/passwd.cdb} }} }
  server_advertise_condition = ${if !eq{}{$tls_cipher} }


PLAIN:
  driver        = plaintext
  server_set_id        = $2
  server_prompts    = :
  server_condition    = \
    ${if crypteq{$3}{${lookup {$2} cdb {USERS/passwd.cdb} }} }
  server_advertise_condition = ${if !eq{}{$tls_cipher} }


Tony.
--
<fanf@???> <dot@???> http://dotat.at/ ${sg{\N${sg{\
N\}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}\
\N}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}