summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/helpers/launch-mail4
-rw-r--r--mail/mail/files/env2
2 files changed, 3 insertions, 3 deletions
diff --git a/bin/helpers/launch-mail b/bin/helpers/launch-mail
index 784e075..3a92702 100755
--- a/bin/helpers/launch-mail
+++ b/bin/helpers/launch-mail
@@ -35,9 +35,9 @@ doctl \
tozt.net \
--record-id "$record_id" \
--record-type A \
- --record-name newsmtp \
+ --record-name newsmtp2 \
--record-data "$ip" \
- --record-ttl 3600
+ --record-ttl 60
echo "Done creating DNS entry"
echo "Provisioning droplet..."
diff --git a/mail/mail/files/env b/mail/mail/files/env
index 9fb58fd..fea05da 100644
--- a/mail/mail/files/env
+++ b/mail/mail/files/env
@@ -2,7 +2,7 @@ ROOT=/mailu
VERSION=1.5
BIND_ADDRESS4=127.0.0.1
DOMAIN=new.tozt.net
-HOSTNAMES=newsmtp.tozt.net,newmail2.tozt.net
+HOSTNAMES=newsmtp2.tozt.net,newmail2.tozt.net
POSTMASTER=admin
TLS_FLAVOR=letsencrypt
AUTH_RATELIMIT=10/minute;1000/hour