14 lines
270 B
Bash
Executable File
14 lines
270 B
Bash
Executable File
#!/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 |