1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2024-12-24 07:37:04 +00:00

Downgrade port 25 blockage error to warn; mention SMTP relays

This commit is contained in:
David Duque 2020-04-13 01:07:16 +01:00
parent 8d7f6bfb19
commit 0d17caccfe
No known key found for this signature in database
GPG Key ID: 2F327738A3C0AE3A

View File

@ -278,9 +278,9 @@ def run_network_checks(env, output):
if ret == 0: if ret == 0:
output.print_ok("Outbound mail (SMTP port 25) is not blocked.") output.print_ok("Outbound mail (SMTP port 25) is not blocked.")
else: else:
output.print_error("""Outbound mail (SMTP port 25) seems to be blocked by your network. You output.print_warning("""Outbound mail (SMTP port 25) seems to be blocked by your network. You
will not be able to send any mail. Many residential networks block port 25 to prevent hijacked will not be able to send any mail without a SMTP relay. Many residential networks block port 25 to prevent
machines from being able to send spam. A quick connection test to Google's mail server on port 25 hijacked machines from being able to send spam. A quick connection test to Google's mail server on port 25
failed.""") failed.""")
# Stop if the IPv4 address is listed in the ZEN Spamhaus Block List. # Stop if the IPv4 address is listed in the ZEN Spamhaus Block List.