Commit a2127f35 authored by Patrick J Cherry's avatar Patrick J Cherry
Browse files

email: Add Debian-exim user to ssl-cert so it can read keys

parent be8e2aa7
......@@ -10,7 +10,7 @@ XS-Ruby-Versions: all
Package: symbiosis-email
Architecture: all
Pre-Depends: dpkg (>= 1.15.7.2)
Depends: symbiosis-common (>= 2015:1103), exim4-daemon-heavy (>= 4.84), dovecot-core (>= 1:2.2.0), dovecot-sieve, dovecot-managesieved, dovecot-imapd, dovecot-pop3d, adduser, make, clamav-daemon, clamav-freshclam, spamassassin, ruby, ruby-eventmachine (>= 1.0), gnutls-bin, ${misc:Depends}
Depends: symbiosis-common (>= 2015:1103), exim4-daemon-heavy (>= 4.84), dovecot-core (>= 1:2.2.0), dovecot-sieve, dovecot-managesieved, dovecot-imapd, dovecot-pop3d, adduser, make, clamav-daemon, clamav-freshclam, spamassassin, ruby, ruby-eventmachine (>= 1.0), gnutls-bin, ssl-cert, ${misc:Depends}
Recommends: symbiosis-webmail, symbiosis-email-activesync
Replaces: bytemark-vhost-email, symbiosis-monit (<< 2011:1206), symbiosis-test
Breaks: symbiosis-monit (<< 2011:1206)
......
......@@ -25,6 +25,15 @@ if ! ( groups clamav | grep -q Debian-exim ) ; then
adduser clamav Debian-exim > /dev/null 2>&1
fi
#
# Debian-exim needs to be part of the ssl-cert group, so it can read the
# cert/key in /etc/ssl/ssl.combined.
#
if ! ( groups Debian-exim | grep -q ssl-cert ) ; then
echo "I: Adding Debian-exim user to ssl-cert group"
adduser Debian-exim ssl-cert > /dev/null 2>&1
fi
if ( grep -q '^AllowSupplementaryGroups \+false' /etc/clamav/clamd.conf ) ; then
echo "I: Allowing clamav to operate using its supplementary groups"
#
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment