Update 'installer.sh'
This commit is contained in:
@@ -343,10 +343,6 @@ apt install spamassassin spamc -y
|
|||||||
##--------------------------------##
|
##--------------------------------##
|
||||||
# SpamAssassin Configuration #
|
# SpamAssassin Configuration #
|
||||||
##--------------------------------##
|
##--------------------------------##
|
||||||
echo "Listen: 127.0.0.1:10025" >> /etc/clamsmtpd.conf
|
|
||||||
echo "OutAddress: 10026" >> /etc/clamsmtpd.conf
|
|
||||||
echo "# A header to add to all scanned email" >> /etc/clamsmtpd.conf
|
|
||||||
echo "Header: X-AV-Checked: ClamAV using ClamSMTP" >> /etc/clamsmtpd.conf
|
|
||||||
echo "# interface to spamassassin." >> /etc/postfix/master.cf
|
echo "# interface to spamassassin." >> /etc/postfix/master.cf
|
||||||
echo "spamassassin unix - n n - - pipe" >> /etc/postfix/master.cf
|
echo "spamassassin unix - n n - - pipe" >> /etc/postfix/master.cf
|
||||||
echo " user=nobody argv=/usr/bin/spamc -f -e" >> /etc/postfix/master.cf
|
echo " user=nobody argv=/usr/bin/spamc -f -e" >> /etc/postfix/master.cf
|
||||||
@@ -360,6 +356,10 @@ apt install clamav clamsmtp -y
|
|||||||
##--------------------------##
|
##--------------------------##
|
||||||
# ClamAV Configuration #
|
# ClamAV Configuration #
|
||||||
##--------------------------##
|
##--------------------------##
|
||||||
|
echo "Listen: 127.0.0.1:10025" >> /etc/clamsmtpd.conf
|
||||||
|
echo "OutAddress: 10026" >> /etc/clamsmtpd.conf
|
||||||
|
echo "# A header to add to all scanned email" >> /etc/clamsmtpd.conf
|
||||||
|
echo "Header: X-AV-Checked: ClamAV using ClamSMTP" >> /etc/clamsmtpd.conf
|
||||||
echo "# virus scanning" >> /etc/postfix/master.cf
|
echo "# virus scanning" >> /etc/postfix/master.cf
|
||||||
echo "content_filter = scan:127.0.0.1:10025" >> /etc/postfix/master.cf
|
echo "content_filter = scan:127.0.0.1:10025" >> /etc/postfix/master.cf
|
||||||
echo "receive_override_options = no_address_mappings" >> /etc/postfix/master.cf
|
echo "receive_override_options = no_address_mappings" >> /etc/postfix/master.cf
|
||||||
|
|||||||
Reference in New Issue
Block a user