While trying to send an email I recieved a message that my server is rejecting smtp connections:
Sending of the message failed.
The message could not be sent because connecting to Outgoing server (SMTP) server.domain.com failed. The server may be unavailable or is refusing SMTP connections. Please verify that your Outgoing server (SMTP) settings are correct and try again.
so I went to /var/log/maillog and found this:
May 30 08:14:51 server postfix/anvil: statistics: max connection rate 1/60s for (smtp:18.104.22.168) at May 30 08:11:31 May 30 08:14:51 server postfix/anvil: statistics: max connection count 1 for (smtp:22.214.171.124) at May 30 08:11:31 May 30 08:14:51 server postfix/anvil: statistics: max cache size 1 at May 30 08:11:31 May 30 08:17:20 server clamd: SelfCheck: Database status OK.
I performed an IP lookup (https://www.ultratools.com/tools/ipWhoisLookupResult) on 126.96.36.199 and received this:
IP Address: 188.8.131.52
% This is the RIPE Database query service.
% The objects are in RPSL format.
% The RIPE Database is subject to Terms and Conditions.
% See http://www.ripe.net/db/support/db-terms-conditions.pdf
%ERROR:201: access denied for 184.108.40.206
% Sorry, access from your host has been permanently
% denied because of a repeated excessive querying.
% For more information, see
% This query was served by the RIPE Database Query Service version 1.91.2 (BLAARKOP)
who is on 220.127.116.11 shows Amazon web services. None of these IP’s are my external IP.
I waited a few minutes and I was able to send my email. Was the log entry and the fact I couldn’t send an email a coincidence? Does anyone know what might be going on here, this is way above my pay grade.
NethServer Version: 7.5.1804