#!/bin/bash # # vmail-stack # https://git.stack-source.com/msb/vmail-stack # Copyright (c) 2022 Matthew Saunders Brown # 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