[Dovecot] Logging authentication failures when Dovecot's auth service used to authenticate postfix smtpd
Reindl Harald
h.reindl at thelounge.net
Fri Feb 28 16:04:26 UTC 2014
Am 28.02.2014 16:57, schrieb MV:
> Please ignore my previous email. I guess the lack of sleep has taken
> the best of me.
>
> What I was trying to achieve is, to have a log entry for every
> authentication attempted regardless of its success or failure. And
> from that log I should extract the client's IP.
>
> My setup authenticates imap and pop3 users through a "passwd-file"
> authentication database. And postfix is setup to authenticate
> submissions through the dovecot socket "auth". So far so good.
>
> Currently ("auth_verbose = yes" and "auth_debug = no") when a client
> connects to either imap, pop3 or submission/smtpd and fails to
> authenticate, Dovecot *immediately* logs the failure as below.
in case of SASL postfix is talking via a unix socket
so there is no connection IP dovecot knows about
service auth {
unix_listener /var/spool/postfix/private/auth {
mode = 0660
user = postfix
group = postfix
}
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 246 bytes
Desc: OpenPGP digital signature
URL: <http://dovecot.org/pipermail/dovecot/attachments/20140228/d349fdde/attachment.sig>
More information about the dovecot
mailing list