From eac349187d0056f721cb20ddaa330ac5af62e73d Mon Sep 17 00:00:00 2001 From: Joshua Tauberer Date: Wed, 16 Jul 2014 09:19:32 -0400 Subject: [PATCH] whats_next: move the admin alias check to the system section --- management/whats_next.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/management/whats_next.py b/management/whats_next.py index 5afdfbb..e97dce5 100755 --- a/management/whats_next.py +++ b/management/whats_next.py @@ -35,6 +35,10 @@ def run_system_checks(env): else: print_ok("SSH disallows password-based login.") + # Check that the administrator alias exists since that's where all + # admin email is automatically directed. + check_alias_exists("administrator@" + env['PRIMARY_HOSTNAME'], env) + print() def run_domain_checks(env): @@ -55,7 +59,6 @@ def run_domain_checks(env): if domain == env["PRIMARY_HOSTNAME"]: check_primary_hostname_dns(domain, env) - check_alias_exists("administrator@" + domain, env) if domain in dns_domains: check_dns_zone(domain, env, dns_zonefiles)