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
062e8b83
Commit
062e8b83
authored
Aug 17, 2014
by
Joshua Tauberer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
failed network checks should result in start.sh exiting with a non-zero exit status
parent
f41ec93c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
network-checks.sh
setup/network-checks.sh
+3
-3
No files found.
setup/network-checks.sh
View file @
062e8b83
...
@@ -11,7 +11,7 @@ if host $PRIMARY_HOSTNAME.dbl.spamhaus.org > /dev/null; then
...
@@ -11,7 +11,7 @@ if host $PRIMARY_HOSTNAME.dbl.spamhaus.org > /dev/null; then
echo
"You will not be able to send mail using this domain name, so"
echo
"You will not be able to send mail using this domain name, so"
echo
"setup cannot continue."
echo
"setup cannot continue."
echo
echo
exit
exit
1
fi
fi
# Stop if the IPv4 address is listed in the ZEN Spamhouse Block List.
# Stop if the IPv4 address is listed in the ZEN Spamhouse Block List.
...
@@ -31,7 +31,7 @@ if host $REVERSED_IPV4.zen.spamhaus.org > /dev/null; then
...
@@ -31,7 +31,7 @@ if host $REVERSED_IPV4.zen.spamhaus.org > /dev/null; then
echo
"Many residential network IP addresses are listed, so Mail-in-a-Box"
echo
"Many residential network IP addresses are listed, so Mail-in-a-Box"
echo
"typically cannot be used on a residential Internet connection."
echo
"typically cannot be used on a residential Internet connection."
echo
echo
exit
exit
1
fi
fi
# Stop if we cannot make an outbound connection on port 25. Many residential
# Stop if we cannot make an outbound connection on port 25. Many residential
...
@@ -49,5 +49,5 @@ if ! nc -z -w5 aspmx.l.google.com 25; then
...
@@ -49,5 +49,5 @@ if ! nc -z -w5 aspmx.l.google.com 25; then
echo
"to Google's mail server on port 25 but the connection did not"
echo
"to Google's mail server on port 25 but the connection did not"
echo
"succeed."
echo
"succeed."
echo
echo
exit
exit
1
fi
fi
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