Postfix & antivirus
Mateusz Korniak
mateusz w ant.gliwice.pl
Czw, 4 Wrz 2003, 13:17:49 CEST
On Thursday 04 of September 2003 13:14, Grzesiek Sojka wrote:
> Mam klopot. Postawilem w firmie server poczty na postfixie i teraz
> musze podpiac do niego antywirusiaka. Niestety nie robilem takich zeczy
> wczesniej i nie wiem jak sie do tego zabrac.
1. Zainstalować zestaw pakietów:
poldek> ls *clam* *mks* *amavisd-new* -I
amavisd-new-20030616-3
clamav-0.60-4
clamav-database-0.60.20030813-4
clamav-libs-0.60-4
mks-1.9.2-1
mks-bases-1.9.2-1
mks-updater-1.9.2-1
mksd-1.14-3
mksd-clients-1.14-3
2. zmienić w konfiugracji postfixa:
# TODO:
# Append below to config files - allows easy use of amavisd-new spam/virus
filter
# --- /etc/main.cf ---
# Uncoment below to use amavisd-new spam/virus filter
# content_filter = smtp-amavis:[127.0.0.1]:10024
# --- /etc/master.cf ---
# Uncoment below to use amavisd-new spam/virus filter
# smtp-amavis unix - - n - 2 smtp
# -o smtp_data_done_timeout=1200
# -o disable_dns_lookups=yes
#
# 127.0.0.1:10025 inet n - n - - smtpd
# -o content_filter=
# -o local_recipient_maps=
# -o relay_recipient_maps=
# -o smtpd_restriction_classes=
# -o smtpd_client_restrictions=
# -o smtpd_helo_restrictions=
# -o smtpd_sender_restrictions=
# -o smtpd_recipient_restrictions=permit_mynetworks,reject
# -o mynetworks=127.0.0.0/8
# -o strict_rfc821_envelopes=yes
# --- /etc/aliases ---
# Alias for amavisd-new notifiaction about viruses dropins
# virusalert: postmaster
# --- End of appends to postfix config files related to amavisd-new.
3. Dać znać co poszło nie tak. ;)
--
Mateusz Korniak
Więcej informacji o liście dyskusyjnej pld-users-pl