mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2026-03-19 18:17:22 +01:00
run network checks during setup and stop if there is a bad condition
* check that the PUBLIC_IP is not listed in zen.spamhaus.org * check that the PRIMARY_HOSTNAME is not listed in dbl.spamhaus.org * check that a connection to Google's MTA is working (i.e. we're not on a residential network that blocks outbound port 25)
This commit is contained in:
@@ -177,6 +177,8 @@ if [ "$PRIMARY_HOSTNAME" = "auto-easy" ]; then
|
||||
echo "Primary Hostname: $PRIMARY_HOSTNAME"
|
||||
fi
|
||||
|
||||
# Run some network checks to make sure setup on this machine makes sense.
|
||||
. setup/network-checks.sh
|
||||
|
||||
# Create the user named "user-data" and store all persistent user
|
||||
# data (mailboxes, etc.) in that user's home directory.
|
||||
|
||||
Reference in New Issue
Block a user