Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mailinabox
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
mailinabox
Commits
eac34918
Commit
eac34918
authored
Jul 16, 2014
by
Joshua Tauberer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
whats_next: move the admin alias check to the system section
parent
023cd12e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
whats_next.py
management/whats_next.py
+4
-1
No files found.
management/whats_next.py
View file @
eac34918
...
@@ -35,6 +35,10 @@ def run_system_checks(env):
...
@@ -35,6 +35,10 @@ def run_system_checks(env):
else
:
else
:
print_ok
(
"SSH disallows password-based login."
)
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
()
print
()
def
run_domain_checks
(
env
):
def
run_domain_checks
(
env
):
...
@@ -55,7 +59,6 @@ def run_domain_checks(env):
...
@@ -55,7 +59,6 @@ def run_domain_checks(env):
if
domain
==
env
[
"PRIMARY_HOSTNAME"
]:
if
domain
==
env
[
"PRIMARY_HOSTNAME"
]:
check_primary_hostname_dns
(
domain
,
env
)
check_primary_hostname_dns
(
domain
,
env
)
check_alias_exists
(
"administrator@"
+
domain
,
env
)
if
domain
in
dns_domains
:
if
domain
in
dns_domains
:
check_dns_zone
(
domain
,
env
,
dns_zonefiles
)
check_dns_zone
(
domain
,
env
,
dns_zonefiles
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment