[Dovecot] Can't establish Dovecot authorization in Exim.

Frank Elsner frank at moltke28.B.Shuttle.DE
Wed Jun 30 18:24:52 EEST 2010


On Wed, 30 Jun 2010 23:26:09 +0900 秋元 亮二 wrote:
> 
> Hi,
> 
> I have some problem in Dovecot authorization in Exim for 
> outgoing SMTP.
> 
> Version of Exim is 4.69 and the Exim was compiled 
> with "AUTH_DOVECOT=yes" and "AUTH_PLAINTEXT=yes".
> Version of Dovecot 
> is 1.2.12.
> 
> I use SSL for IMAP.  Is Exim neccesary to use SSL(TLS)
>  for authorization of outgoing SMTP?

I guess NO because communication is via socket.

My exim-4.72 configuration (which doesn't use LOGIN) contains:

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


And the dovecot-1.2.12 configuration contains:

| auth default {
|   mechanisms = plain login
| 
|   passdb pam {    
|          args = dovecot
|   }
| 
|   socket listen {
|     client {
|       # The client socket is generally safe to export to everyone. Typical use
|       # is to export it to your SMTP server so it can do SMTP AUTH lookups
|       # using it.
|       path = /var/run/dovecot/auth-client
|       mode = 0666
|     }
|   }
| }


Hope it helps. YMMV.


--Frank Elsner


More information about the dovecot mailing list