• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • (Plesk for Windows):
    MySQL Connector/ODBC 3.51, 5.1, and 5.3 are no longer shipped with Plesk because they have reached end of life. MariaDB Connector/ODBC 64-bit 3.2.4 is now used instead.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

Issue Really strange problem – I can't use my SMTP server intermittently

carlsson

Basic Pleskian
Server operating system version
Ubuntu 20.04
Plesk version and microupdate number
Version 18.0.58 Update #2
Today was the third time I experienced the following, and with different networks:

- Suddenly I can't connect to the SMTP server.
- No devices on the same network can use that SMTP server.
- Connecting to another network (like my cellular) works normally.
- I have tried different accounts, all is on the same Plesk and behaves identically.
- Waiting an hour and the problem vanish.

The first time I noticed this behavior was last week when I helped my brother in law setting up his copier. That involved a lot of testing because it didn't work at the first attempt, and after a while SMTP was blocked. Connecting to my cellular showed no problems of sending emails.

Second time was during this weekend, also after a lot of testing, and just now it happened again, also after testing (see my other thread).

When connecting to my cellular it works as it should.

I get the feeling that my Plesk Mail server bans my IP during a period. I can't find any info about this in Plesk admin though, and my IP is not mentioned in the IP address banning logs... I whitelisted my IP to test, but there was no difference in behavior (my IP is a DHCP from my ISP).

The only common factor is my mail server. Everything else works.


Any ideas what this is all about!?
 
- Suddenly I can't connect to the SMTP server.
- No devices on the same network can use that SMTP server.
- Connecting to another network (like my cellular) works normally.
- I have tried different accounts, all is on the same Plesk and behaves identically.
- Waiting an hour and the problem vanish.
These symptoms perfectly fit a fail2ban IP ban. As these are temporary and can be service (port) specific.

If you haven't already, you could whitelist your IP. (Go to Tools & Settings > IP Address Banning (fail2ban) and click the Trusted IP Addresses tab).

If I had to take a guess, I would say that the banning is probably caused by the issue described in your other thread. But I it could caused be something different too.
 
Thanks Kaspar, I agree, it must have something to do with fail2ban. But why can't I see my IP (or subnet) in the logs, that's really confusing...?
I did a whitelisting of my specific IP during the latest ban. Maybe it didn't help because it was an ongoing issue. Or maybe I need to whitelist my subnet.
I'll search the logs closer next time if it happens.
 
Back
Top