Solved

SASL LOGIN authentication failed: authentication failure

Posted on 2016-08-11
1
77 Views
Last Modified: 2016-08-12
Hi

I am running CentOS and several times see "SASL LOGIN authentication failed: authentication failure". Seems someone is trying to logon to my mail server illegally.

I have installed fail2ban to block such cases automatically. But I want to test that by simulating this situation. I created an account in my thunderbird mail client and provided wrong credentials to my server but this doesn't generate anything in my server's maillog.

Can someone please suggest me how can I produce "SASL LOGIN authentication failed: authentication failure" ?
0
Comment
Question by:sysautomation
1 Comment
 
LVL 25

Accepted Solution

by:
Tomas Helgi Johannsson earned 500 total points
ID: 41751930
Hi!

You will need to look into the conf files for fail2ban to seem what IP addresses are ignored (localhost is by default ignored).
Make sure that your LAN IP address range is not ignored (except one IP address that you can use to safely log into your server) and then test  (using a simple telnet command http://www.anta.net/misc/telnet-troubleshooting/smtp.shtml ) from your LAN (other than your safe IP).
https://www.digitalocean.com/community/tutorials/how-to-protect-ssh-with-fail2ban-on-centos-7
Just make sure you don't lock yourself out completely. ;)

Regards,
     Tomas Helgi
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Resolve DNS query failed errors for Exchange
Resolve Outlook connectivity issues after moving mailbox to new Exchange 2016 server
To show how to generate a certificate request in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.:  First we need to log into the Exchange Admin Center. Navigate to the Servers >> Certificates…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

937 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now