[Dovecot] exim4 dovecot sasl problem

Tristan Rex Santiago pgtr3s at yahoo.com
Mon Jul 20 10:07:21 EEST 2009


what flag do i need to set in recompiling exim4 to enable dovecot-sasl support? i tried --enable-dovecot-sasl but exim4 still reported dovecot driver error.

many thanks
--- On Fri, 7/17/09, Tristan Rex Santiago <pgtr3s at yahoo.com> wrote:

From: Tristan Rex Santiago <pgtr3s at yahoo.com>
Subject: exim4 dovecot sasl problem
To: dovecot at dovecot.org
Cc: tansanph at gmail.com
Date: Friday, 17 July, 2009, 4:36 PM

hi!

i'm trying to do smtp authentication using dovecot and exim4 by following this guide http://wiki.dovecot.org/HowTo/ EximAndDovecotSASL.


for the exim4 part, i got an

authenticator dovecot: cannot find authenticator driver "dovecot"
 error after i entered the codes in /etc/exim4/exim4.conf.template and reloaded exim4 with the update-exim4.conf command.

i'm running debian lenny.

here's the authentication section of exim4.conf.template:

 begin authenticators

cram_md5:

  driver = cram_md5

  public_name = CRAM-MD5


  client_name = ${extract{1}{:}{${lookup{$
host}nwildlsearch{CONFDIR/ passwd.client}{$value}fail}}}
  client_secret = ${extract{2}{:}{${lookup{$ host}nwildlsearch{CONFDIR/ passwd.client}{$value}fail}}}

PASSWDLINE=${sg{\

                ${lookup{$host}nwildlsearch{ CONFDIR/passwd.client}{$value} fail}\
            }\
            {\\N[\\^]\\N}\
            {^^}\
        }

plain:
  driver = plaintext
  public_name = PLAIN

.ifndef AUTH_CLIENT_ALLOW_NOTLS_ PASSWORDS
  client_send = "<; ${if !eq{$tls_cipher}{}\
                    {^${extract{1}{:}{PASSWDLINE}} \
             ^${sg{PASSWDLINE}{\\N([^:]+:)( .*)\\N}{\\$2}}\
           }fail}"

.else
  client_send = "<; ^${extract{1}{:}{PASSWDLINE}}\
            ^${sg{PASSWDLINE}{\\N([^:]+:)( .*)\\N}{\\$2}}"
.endif

login:
  driver = plaintext
  public_name = LOGIN
.ifndef AUTH_CLIENT_ALLOW_NOTLS_ PASSWORDS

  # Return empty string if not non-TLS AND looking up $host in passwd-file
  # yields a non-empty string; fail otherwise.
  client_send = "<; ${if and{\
                          {!eq{$tls_cipher}{}}\

                          {!eq{PASSWDLINE}{}}\
                         }\
                      {}fail}\
                 ; ${extract{1}{::}{PASSWDLINE}}\
         ; ${sg{PASSWDLINE}{\\N([^:]+:)(. *)\\N}{\\$2}}"

.else
  # Return empty string if looking up $host in passwd-file yields a
  # non-empty string; fail otherwise.
  client_send = "<; ${if !eq{PASSWDLINE}{}\
                      {}fail}\
                 ; ${extract{1}{::}{PASSWDLINE}}\

         ; ${sg{PASSWDLINE}{\\N([^:]+:)(. *)\\N}{\\$2}}"
.endif

dovecot_login:
  driver = dovecot
  public_name = LOGIN
  server_socket = /var/run/dovecot/auth-client
  server_set_id = $auth1


dovecot_plain:
  driver = dovecot
  public_name = PLAIN
  server_socket = /var/run/dovecot/auth-client
  server_set_id = $auth1


        Design your own exclusive Pingbox today! 
 It's easy to create your personal chat space on your blogs


      Connect instantly with more friends on your blog and personal website? Create your latest Pingbox today! http://ph.messenger.yahoo.com/pingbox


More information about the dovecot mailing list