Skip to content
Snippets Groups Projects
Commit 183b5284 authored by Bob Mottram's avatar Bob Mottram
Browse files

Add dovecot directories

parent 5a7b496d
No related branches found
No related tags found
No related merge requests found
......@@ -5618,6 +5618,15 @@ function configure_imap {
if grep -Fxq "configure_imap" $COMPLETION_FILE; then
return
fi
# add directories if needed
if [ ! -d /usr/share/dovecot/protocols.d ]; then
mkdir -p mkdir -p /usr/share/dovecot/protocols.d
fi
if [ ! -d /etc/dovecot/conf.d ]; then
mkdir -p /etc/dovecot/conf.d
fi
apt-get -y install dovecot-common dovecot-imapd
 
if [ ! -d /etc/dovecot ]; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment