vmail-stack/bin/vmail-deploy.sh

31 lines
522 B
Bash
Raw Normal View History

2021-02-10 16:16:23 -08:00
#!/bin/bash
#
# vmail-stack
# https://git.stack-source.com/msb/vmail-stack
# MIT License Copyright (c) 2021 Matthew Saunders Brown
2021-04-02 12:02:50 -07:00
# load include file
source $(dirname $0)/vmail.sh
2021-02-10 16:16:23 -08:00
2021-11-11 08:00:46 -08:00
echo "Script under development. Does nothing for now."
exit
2021-02-10 16:16:23 -08:00
# check for and set virtualhost
if [ -n "$1" ]; then
virtualhost=$1
else
echo "virtualhost not set"
exit 1
fi
vmail.sh create domain
dkim create
check if stack-dns nameservers
add dkim record
add dmarc record
vmail-secure.sh
esle
notify dkim & dmar