You've already forked docker-mailserver
mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-08-08 23:06:49 +02:00
chore: Add debug group (packages.sh
) + more resilient rspamd setup (#3578)
This commit is contained in:
@ -43,10 +43,6 @@ function _install_postfix() {
|
||||
function _install_packages() {
|
||||
_log 'debug' 'Installing all packages now'
|
||||
|
||||
declare -a ANTI_VIRUS_SPAM_PACKAGES
|
||||
declare -a CODECS_PACKAGES MISCELLANEOUS_PACKAGES
|
||||
declare -a POSTFIX_PACKAGES MAIL_PROGRAMS_PACKAGES
|
||||
|
||||
ANTI_VIRUS_SPAM_PACKAGES=(
|
||||
amavisd-new clamav clamav-daemon
|
||||
pyzor razor spamassassin
|
||||
@ -62,14 +58,13 @@ function _install_packages() {
|
||||
)
|
||||
|
||||
MISCELLANEOUS_PACKAGES=(
|
||||
apt-transport-https bind9-dnsutils binutils bsd-mailx
|
||||
apt-transport-https binutils bsd-mailx
|
||||
ca-certificates curl dbconfig-no-thanks
|
||||
dumb-init ed gnupg iproute2 iputils-ping
|
||||
libdate-manip-perl libldap-common
|
||||
libmail-spf-perl libnet-dns-perl
|
||||
locales logwatch netcat-openbsd
|
||||
nftables rsyslog supervisor
|
||||
uuid whois
|
||||
dumb-init gnupg iproute2 libdate-manip-perl
|
||||
libldap-common libmail-spf-perl
|
||||
libnet-dns-perl locales logwatch
|
||||
netcat-openbsd nftables rsyslog
|
||||
supervisor uuid whois
|
||||
)
|
||||
|
||||
POSTFIX_PACKAGES=(
|
||||
@ -82,12 +77,19 @@ function _install_packages() {
|
||||
opendmarc libsasl2-modules sasl2-bin
|
||||
)
|
||||
|
||||
# `bind9-dnsutils` provides the `dig` command
|
||||
# `iputils-ping` provides the `ping` command
|
||||
DEBUG_PACKAGES=(
|
||||
bind9-dnsutils iputils-ping less nano
|
||||
)
|
||||
|
||||
apt-get "${QUIET}" --no-install-recommends install \
|
||||
"${ANTI_VIRUS_SPAM_PACKAGES[@]}" \
|
||||
"${CODECS_PACKAGES[@]}" \
|
||||
"${MISCELLANEOUS_PACKAGES[@]}" \
|
||||
"${POSTFIX_PACKAGES[@]}" \
|
||||
"${MAIL_PROGRAMS_PACKAGES[@]}"
|
||||
"${MAIL_PROGRAMS_PACKAGES[@]}" \
|
||||
"${DEBUG_PACKAGES[@]}"
|
||||
}
|
||||
|
||||
function _install_dovecot() {
|
||||
|
Reference in New Issue
Block a user