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
}
}
signature.asc
Description: OpenPGP digital signature
