vmail-stack/bin/vmail-deploy.sh
2022-08-22 13:34:20 -07:00

32 lines
636 B
Bash
Executable File

#!/bin/bash
#
# vmail-stack
# https://git.stack-source.com/msb/vmail-stack
# Copyright (c) 2022 Matthew Saunders Brown <matthewsaundersbrown@gmail.com>
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
# load include file
source $(dirname $0)/vmail.sh
echo "Script under development. Does nothing for now."
exit
# 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