• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • 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.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Question Fail2ban with reverse DNS

H.W.B

Regular Pleskian
Server operating system version
7.9.2009
Plesk version and microupdate number
18.0.44 Update #3
Hello,

A client is using a provider (starlinkisp.net).
Everytime he connect to the mailserver i got the following message :
Aug 9 22:49:08 plesk postfix/smtpd[21994]: warning: hostname <hostname> does not resolve to address <ipaddress>: Name or service not known
Aug 9 22:49:08 plesk postfix/smtpd[21994]: connect from unknown[<Ip address>]
And Fail2Ban Dovecot Jail bans this ip address.

Is there anything i can do to change this and that this will not resolve in a BAN without removing the Jail??

Thank you,

Henk
 
warning: hostname <hostname> does not resolve to address <ipaddress>: Name or service not known
It seems the error refers to the fact that the hostname <hostname> cannot be resolved to <ipaddress>.
I would suggest resolving this matter first and seeing if that helps. For example, adding the hostname and IP to the /etc/hosts file so it can resolve at least locally. Or making sure the hostname resolves globally.
The similar issue described here: Unable to send or receive e-mail messages: Client host rejected: cannot find your hostname
 
Back
Top