auth.log spam with saslauth entry

5 posts / 0 new
Last post
#1 Mon, 05/11/2015 - 10:32
c_hristophe

auth.log spam with saslauth entry

hi All,

I have virtualmin version 4.15.gpl. All is fine like a charm ! Execpt my auth.log which spam with this:

saslauthd[]: do_auth : auth failure: [service=smtp] [realm=postfix] [mech=rimap] [reason=remote server rejected your credentials]

can you explain me how i can fix it please !?

Mon, 05/11/2015 - 11:08
andreychek

Howdy,

You may want to review your /var/log/mail.log file to see if someone is perhaps repeatedly trying to log into Postfix but failing. If that's the case, you would see the ip address in that file.

If it's a legitimate user, you could help them correct it. And if it's not, you could ban that IP address.

-Eric

Tue, 05/12/2015 - 01:42 (Reply to #2)
c_hristophe

thanks Eric,

you are in the right way ! I have many : warning: SASL authentication failure: Password verification failed May 12 08:18:46 Servername postfix/smtpd[18718]: warning: unknown[154.121.251.42] SASL PLAIN authentication failed: authentication failure May 12 08:18:49 Servername postfix/smtpd[18718]: warning: unknown[154.121.251.42] SASL LOGIN authentication failed: authentication failure

I have already a jail in fail2ban which was a good job ! $iptables -L fail2ban-postfix-sasl | wc -l 302

Mon, 05/11/2015 - 11:51
Diabolico
Diabolico's picture

Do you have any warning or error lines in maillog with same time as this error in auth.log?

EDIT: This is what happens when i wait too long to press "save". Bummer. :)

- I often come to the conclusion that my brain has too many tabs open. -
Failing at desktop publishing & graphic design since 1994.

Tue, 05/12/2015 - 01:40 (Reply to #4)
c_hristophe

I noticed that I had enormously : in /var/log/mail.log I have a new jail [postfix-sasl] in fail2ban:

warning: unknown[85.185.194.187] SASL LOGIN authentication failed: authentication failure May 12 08:28:20 nameserver postfix/smtpd[20594]: disconnect from unknown[85.185.194.187] May 12 08:28:20 nameserver postfix/smtpd[20634]: warning: unknown[85.26.165.157] SASL LOGIN authentication failed: authentication failure

And

iptables -L fail2ban-postfix-sasl | wc -l

302

And i'll imagine it's normal ...

Topic locked