#!/bin/sh # maildir MAIL_PATH="/var/mail/domains" MAIL_USER="mail" if [ ! -d ${MAIL_PATH} ]; then mkdir -p ${MAIL_PATH}; fi chown -R ${MAIL_USER} ${MAIL_PATH} # openkdim chown -R opendkim:opendkim /etc/opendkim # starting syslogd; opendkim; postfix start; dovecot -F