Solved

SASL LOGIN authentication failed: authentication failure

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

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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Workplace bullying has increased with the use of email and social media. Retain evidence of this with email archiving to protect your employees.
Granting full access permission allows users to access mailboxes present in their database. By giving full access permission one can open and read the content of any mailbox but cannot send emails from that mailbox.
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.:
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

705 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

20 Experts available now in Live!

Get 1:1 Help Now