Hello,

On Sat, 17 Apr 2021, Francesc Peñalvez wrote:

Is it possible to identify which password smtp is trying to use? if so I would like to know how

With dovecot, you can set:

 auth_verbose = yes
 auth_verbose_passwords = plain

When I'm bored, I run:

 #!/bin/sh

 grep "given password: " /var/log/dovecot.info \
        | sed -E 's/.+\(given password: (.+)\)$/\1/' \
        | sort \
        | uniq -c \
        | sort -rn

to see which passwords are commonly tried (top #1 is "123456")

Cheers.

Reply via email to