Re: [Exim] smtp auth + pam

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Suresh Ramasubramanian
Date:  
À: Nico Erfurth
CC: Asbjørn Høiland Aarrestad, exim users
Sujet: Re: [Exim] smtp auth + pam
On Sun, 9 Mar 2003, Nico Erfurth wrote:

> On Sun, 9 Mar 2003, Asbjørn Høiland Aarrestad wrote:
>
> > hi!
> >
> > After browsing the faq, the web and the mail archive, I have to ask for
> > more help.
>
> This was discussed last week, please check the archives again, as a
> sumary, you need a special pam-module, called pam_exim.


It is not just that - I think mozilla tries something else first (not
PLAIN or LOGIN - maybe CRAM-MD5?)

Because, I have this exim setup that authenticates PLAIN and LOGIN without
any problems for assorted clients (outlook-*, other exims / sendmails etc)
but fails miserably when I try to auth from mozilla.

login:
  driver = plaintext
  public_name = LOGIN
  server_prompts = "Username:: : Password::"
  server_condition = "${if and {{!eq{$1}{}}{!eq{$2}{}} \
        {crypteq{$2}{${extract{1}{:} \
        {${lookup{$1}lsearch{/usr/local/etc/exim/exim.passwd} \
        {$value}{*:*}}}}}}}{1}{0}}"
  server_set_id = $1


plain:
  driver = plaintext
  public_name = PLAIN
  server_condition = "${if and {{!eq{$2}{}}{!eq{$3}{}} \
        {crypteq{$3}{${extract{2}{:} \
        {${lookup{$2}lsearch{/usr/local/etc/exim/exim.passwd} \
        {$value}{*:*}}}}}}}{1}{0}}"
  server_set_id = $2


--
mallet@??? (Suresh Ramasubramanian)
jaharkes@ravel:/usr/src$ mv linux Gnu/Linux
mv: cannot move `linux' to `Gnu/Linux': No such file or directory
    jaharkes @ cs.cmu.edu in reply to RMS on linux.kernel