Solved

SASL LOGIN authentication failed: authentication failure

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Import PST to Exchange using Power Shell new-mailboximportrequest command, you can simply import the PST file into Exchange mailbox or archived. To know How to import PST into Exchange  2013 read the complete article.
Phishing attempts can come in all forms, shapes and sizes. No matter how familiar you think you are with them, always remember to take extra precaution when opening an email with attachments or links.
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager

679 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