Update 'installer.sh'
This commit is contained in:
@@ -351,6 +351,7 @@ apt install zip lrzip liblz4-tool lhasa arj unzip bzip2 nomarch cpio lzop cabext
|
|||||||
sed -i -e 's/@bypass/'@bypass'/' -e 's/ / /' /etc/amavis/conf.d/15-content_filter_mode
|
sed -i -e 's/@bypass/'@bypass'/' -e 's/ / /' /etc/amavis/conf.d/15-content_filter_mode
|
||||||
adduser clamav amavis
|
adduser clamav amavis
|
||||||
sed -i 's/clamd.conf/'clamd.conf'/g' /etc/clamav/freshclam.conf
|
sed -i 's/clamd.conf/'clamd.conf'/g' /etc/clamav/freshclam.conf
|
||||||
|
echo "" >> /etc/postfix/main.cf
|
||||||
echo "#Pipe incoming mail trough Amavis" >> /etc/postfix/main.cf
|
echo "#Pipe incoming mail trough Amavis" >> /etc/postfix/main.cf
|
||||||
postconf -e 'content_filter = amavis:[127.0.0.1]:10024'
|
postconf -e 'content_filter = amavis:[127.0.0.1]:10024'
|
||||||
postconf -e 'receive_override_options = no_address_mappings'
|
postconf -e 'receive_override_options = no_address_mappings'
|
||||||
|
|||||||
Reference in New Issue
Block a user