Solved

SASL LOGIN authentication failed: authentication failure

Posted on 2016-08-11
1
94 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

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

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

Suggested Solutions

Email signatures have numerous marketing benefits. Here are 8 top reasons to turn your email signature into a marketing channel.
Marketers need statistics and metrics like everybody else needs oxygen. In this article we explain how to enable marketing campaign statistics for Microsoft Exchange mail.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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.

856 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