Postfix com ClaAV e clamav-filter




Doação

Blogger
O que você gostaria de ver nesta página? Envie sua sugestão.

Postfix com ClaAV e clamav-filter

Mini-Howto para Baixar, Instalar e Atualizar o Anti-Virus Clamav e integrar com o Postfix

Baixando, Instalando e Atualizando o Anti-Virus Clamav:
( groupadd clamav -g 95 ; \
useradd -g clamav -s/bin/false -c "antvirus" clamav ; \
mkdir /opt/clamav ; \
cd /opt/clamav && \
echo "Downloading clamav..." && \
svn co http://svn.clamav.net/svn/clamav-devel/trunk/ && \
cd trunk && ./configure && make > make.log && \
make install > a && cat a && ldconfig && \
mkdir -p /var/run/clam ; \
mkdir -p /var/log/clam ; \
chown -R clamav:clamav /var/run/clam /var/log/clam /usr/local/share/clamav/ && \
wget -c evandro.net/clamav.tgz && tar Pxvfz clamav.tgz && \
freshclam && \
echo "FIM"
)

cd /usr/src
wget http://www.unitednerds.org/projects/mail/clamav-filter.sh.gz
gunzip clamav-filter.sh.gz
chmod 0755 clamav-filter.sh && \
cp -v clamav-filter.sh /usr/libexec/postfix/ && \
mkdir /var/spool/filter ; \
chown clamav:clamav /var/spool/filter && \
chown clamav:clamav /usr/libexec/postfix/clamav-filter.sh && \
ln -s /usr/local/bin/clamdscan /usr/bin/clamdscan ; \
clamd

cat <> /etc/postfix/master.cf
clamav unix - n n - - pipe
flags=Rq user=clamav argv=/usr/libexec/postfix/clamav-filter.sh -f \${sender} -- \${recipient}
#smtp inet n - n - - smtpd
### MOVA E DESCOMENTE A LINHA ABAIXO NA LINHA DO SMTP/INET (INICIO DO ARQUIVO)
# -o content_filter=clamav:clamav
### FICANDO ASSIM:
###smtp inet n - n - - smtpd
### -o content_filter=clamav:clamav
END


Add Favorites / Bookmark
importar no delicious






Domínio Grátis!

Hospedagem de Páginas Grátis

Backup Online Grátis

HK-450 Metal Upgrade

Belt CP V2

EK1H-E014D BELT CP KIT

Blogs:

Poker Regras

Poker

cores html
webdesign
poker de graça
importar no delicious



Bookmark to:


Postfix com ClaAV e clamav-filter

Mini-Howto para Baixar, Instalar e Atualizar o Anti-Virus Clamav e integrar com o Postfix






Aeromodelismo
Helicopter