Re: [exim] Unable to send the mail but able to receive them

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Jasen Betts
Dátum:  
Címzett: exim-users
Tárgy: Re: [exim] Unable to send the mail but able to receive them
On 2019-07-15, necktwi via Exim-users <exim-users@???> wrote:
> From my mac mail client I've connected to remote exim+dovecot server. Since few weeks back I was not able to send mail but able to receive.
>
> exim in /var/log/messages says:
> Jul 14 15:22:15 RPi3B exim[3576]: 2019-07-14 20:52:15 dovecot_plain authenticator failed for ([xx.xx.xx.xx]) [yy.yy.yy.yy]: 535 Incorrect authentication data (set_id=necktwi)
>
> dovecot in /var/log/dovecot.log says:
> Jul 14 19:40:27 auth: Debug: client in: AUTH 1 LOGIN service=smtp rip=yy.yy.yy.yy lip=xx.xx.xx.xx nologin resp= (previous base64 data may contain sensitive data)
> Jul 14 19:40:27 auth: Debug: client passdb out: CONT 1 VXNlcm5hbWU6
> Jul 14 19:40:27 auth: Debug: auth client connected (pid=0)
> Jul 14 19:40:27 auth: Debug: client in: AUTH 1 PLAIN service=smtp secured rip=xx.xx.xx.xx lip=yy.yy.yy.yy nologin resp=aeVja333aQeuZWerdHdpAeRecmezaG9lcw== (previous base64 data may contain sensitive data)
> Jul 14 19:40:27 auth: Debug: policy(necktwi,xx.xx.xx.xx): Policy check action is continue
> Jul 14 19:40:27 auth-worker(11866): Debug: pam(necktwi,xx.xx.xx.xx): lookup service=smtp
> Jul 14 19:40:27 auth-worker(11866): Info: pam(necktwi,xx.xx.xx.xx): pam_authenticate() failed: Authentication failure (Password mismatch?) (given password: xxxxxxx)
>
> (log is obfuscated)
>
> Is it the problem with dovecot or exim?
> Should exim contact dovecot prior to sending the mail?
> I have also tried windows mail client with same error.


It's been a few yers since I did this, from what I recall.

Exim requires access to the SASLAUTH socket, as exim is not running
as root you need to ensure that the path to the socket and the socket
itself are accessable by the user that exim runs as.

maybe something here?
https://wiki.dovecot.org/HowTo/EximAndDovecotSASL

you might need to add the exim user to the group that the owns the
SASLAUTH socket

--
When I tried casting out nines I made a hash of it.