You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
QA/tests/p_dovecot/1-config_dovecot.sh

18 lines
388 B

#!/bin/bash
# Author: Athmane Madjoudj <athmanem@gmail.com>
if (t_GetPkgRel dovecot | egrep -q 'el6|7|8')
then
t_Log "Running $0 - Configuration of Dovecot"
cat > /etc/dovecot/conf.d/11-mail.conf <<EOF
mail_location = mbox:~/mail:INBOX=/var/mail/%u
mail_privileged_group = mail
EOF
t_ServiceControl dovecot restart
else
t_Log "This script is not required for CentOS 5.x"
fi