Skip to content
Snippets Groups Projects
Commit 3d3cedb4 authored by Nicolas KAROLAK's avatar Nicolas KAROLAK
Browse files

test email check ip

parent 294a569e
No related branches found
No related tags found
No related merge requests found
......@@ -74,6 +74,9 @@ def check_relay():
ip = conf.get('NETWORK_IP_NAT')
if not ip:
ip = conf.get('NETWORK_IP')
if not ip:
print_yellow('Cannot determine public IP address')
return 3
with open('/etc/mailname', 'r') as f:
d = f.read().strip()
if d not in ('ubicast.tv', 'ubicast.eu'):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment