Re: [exim] exim4 smtp authentication

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Klaus Boehm
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: Re: [exim] exim4 smtp authentication
Tim Jackson wrote:
> Hi Klaus, on Wed, 20 Oct 2004 16:24:26 +0200 you wrote:
>
>
>>i have exim4 and i want to use smtp authentication.
>
> [snip]
>
>>i miss the line: 250-AUTH PLAN CRAM-MD5
>>What is wrong?
>
>
> Have you actually set up SMTP authentication? It's not configured by
> default. Full instructions are in the documentation.
> Tim
>


What do you mean with "set up SMTP authentication"?

This is the smtp authentication part of my exim conf.

######################################################################
#                   AUTHENTICATION CONFIGURATION                     #
######################################################################


begin authenticators

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}}}

plain:
   driver = plaintext
   public_name = PLAIN
   client_send = "${if !eq{$tls_cipher}{}{\
                      ^${extract{1}{::}\


{${lookup{$host}lsearch*{CONFDIR/passwd.client}{$value}fail}}}\
                      ^${extract{2}{::}\


{${lookup{$host}lsearch*{CONFDIR/passwd.client}{$value}fail}}}\
                    }fail}"


login:
   driver = plaintext
   public_name = LOGIN
   client_send = "${if !eq{$tls_cipher}{}{}fail}\
                  : ${extract{1}{::}\


{${lookup{$host}lsearch*{CONFDIR/passwd.client}{$value}fail}}} \
                  : ${extract{2}{::}\


{${lookup{$host}lsearch*{CONFDIR/passwd.client}{$value}fail}}}"

--
---------------------------------------------
Klaus Boehm
Systemadministrator
ewt gmbh
D-86152 Augsburg, Volkhartstr. 4-6
Phone: +49.(0)821.3106-319
Fax: +49.(0)821.310660-319
mailto:k.boehm@ewt.de
http://www.ewt.de
http://www.surf-club.de
---------------------------------------------