diff --git a/README.md b/README.md index f14d9b4..62cfde6 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ To get the latest tor version, you should follow these instructions to add the o The following command will install all required packages: ``` -apt-get --no-install-recommends install apt-transport-tor aspell curl dovecot-imapd dovecot-pop3d git dnsmasq haveged hunspell iptables locales-all logrotate mariadb-server nginx-light postfix postfix-mysql \ +apt-get --no-install-recommends install apt-transport-tor aspell clamav-daemon clamav-freshclam clamav-milter curl dovecot-imapd dovecot-pop3d git dnsmasq haveged hunspell iptables locales-all logrotate mariadb-server nginx-light postfix postfix-mysql \ php7.0-bcmath php7.0-bz2 php7.0-cli php7.0-curl php7.0-dba php7.0-enchant php7.0-fpm php7.0-gd php7.0-gmp php7.0-imap php7.0-intl php7.0-json php7.0-mbstring php7.0-mcrypt php7.0-mysql php7.0-opcache php7.0-pspell php7.0-readline php7.0-recode php7.0-soap php7.0-sqlite3 php7.0-tidy php7.0-xml php7.0-xmlrpc php7.0-xsl php7.0-zip \ php7.1-bcmath php7.1-bz2 php7.1-cli php7.1-curl php7.1-dba php7.1-enchant php7.1-fpm php7.1-gd php7.1-gmp php7.1-imap php7.1-intl php7.1-json php7.1-mbstring php7.1-mcrypt php7.1-mysql php7.1-opcache php7.1-pspell php7.1-readline php7.1-recode php7.1-soap php7.1-sqlite3 php7.1-tidy php7.1-xml php7.1-xmlrpc php7.1-xsl php7.1-zip \ php7.2-bcmath php7.2-bz2 php7.2-cli php7.2-curl php7.2-dba php7.2-enchant php7.2-fpm php7.2-gd php7.2-gmp php7.2-imap php7.2-intl php7.2-json php7.2-mbstring php7.2-mysql php7.2-opcache php7.2-pspell php7.2-readline php7.2-recode php7.2-soap php7.2-sqlite3 php7.2-tidy php7.2-xml php7.2-xmlrpc php7.2-xsl php7.2-zip \ diff --git a/etc/clamav/clamav-milter.conf b/etc/clamav/clamav-milter.conf new file mode 100644 index 0000000..a31a2ea --- /dev/null +++ b/etc/clamav/clamav-milter.conf @@ -0,0 +1,30 @@ +#Automatically Generated by clamav-milter postinst +#To reconfigure clamav-milter run #dpkg-reconfigure clamav-milter +#Please read /usr/share/doc/clamav-base/README.Debian.gz for details +MilterSocket /var/spool/postfix/clamav/clamav-milter.ctl +FixStaleSocket true +User clamav +ReadTimeout 120 +Foreground false +PidFile /var/run/clamav/clamav-milter.pid +ClamdSocket unix:/var/run/clamav/clamd.ctl +OnClean Accept +OnInfected Reject +OnFail Defer +AddHeader Replace +LogSyslog true +LogFacility LOG_LOCAL6 +LogVerbose false +LogInfected Full +LogClean Off +LogRotate true +MaxFileSize 25M +SupportMultipleRecipients true +RejectMsg Blocked by ClamAV %v +TemporaryDirectory /tmp +LogFile /var/log/clamav/clamav-milter.log +LogTime true +LogFileUnlock false +LogFileMaxSize 1M +MilterSocketGroup clamav +MilterSocketMode 666