Added EMAIL for welcome email

This commit is contained in:
root 2023-06-15 18:52:19 +00:00
parent 7309e77173
commit c3f3036f02
2 changed files with 4 additions and 0 deletions

View File

@ -7,6 +7,9 @@ COMPANY="Customer1 Federated Install"
# Country Code (US, HK, GB, JP, etc) # Country Code (US, HK, GB, JP, etc)
COUNTRY="US" COUNTRY="US"
# Where to send welcome e-mail
EMAIL="test@test.org"
# Backblaze KeyID (Master Key) for backups # Backblaze KeyID (Master Key) for backups
B2_APPLICATION_KEY_ID="3239c6765fdc" B2_APPLICATION_KEY_ID="3239c6765fdc"

View File

@ -400,6 +400,7 @@ EOF
# Send out e-mail from mail container with details # Send out e-mail from mail container with details
docker exec -it mail bash -c "mail -r admin@$DOMAIN -s \"Welcome to Federated\" admin@$DOMAIN < /root/certs/mailfile" docker exec -it mail bash -c "mail -r admin@$DOMAIN -s \"Welcome to Federated\" admin@$DOMAIN < /root/certs/mailfile"
docker exec -it mail bash -c "mail -r admin@$DOMAIN -s \"Welcome to Federated\" admin@$EMAIL < /root/certs/mailfile"
cat /federated/apps/mail/data/root/certs/mailfile cat /federated/apps/mail/data/root/certs/mailfile
rm /federated/apps/mail/data/root/certs/mailfile rm /federated/apps/mail/data/root/certs/mailfile
} }