Configure Antivirus Anti Spam

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

->

amavisd-new, spamassassin, clamav setup <-

1. setup postfix 5 minutes howto first 2.yum install spamassassin clamav amavisd-new clamav-update 3. configure amavisd-new # vi /etc/amavisd/amavisd.conf $mydomain = 'aiolinux.ro'; $myhostname = 'mail.aiolinux.ro'; 4. configure spamassassin #vi /etc/mail/spamassassin/local.cf report_safe 0 skip_rbl_checks 1 5. enable clamav to do automatic updates to virus definitions #vi /etc/sysconfig/freshclam remove lines to delete FRESHCLAM_DELAY=disabled-warn #vi /etc/freshclam.conf to enable automatic updates: comment #Example 6. start services #service amavisd start #service clamd.amavisd start #service spamassassin start 7.configure postfix to use the new content filtering system 7.1.Add the following to /etc/postfix/master.cf: #vi /etc/postfix/master.cf 127.0.0.1:10025 inet n - y - - smtpd -o content_filter= -o local_recipient_maps= -o smtpd_helo_restrictions= -o smtpd_client_restrictions= -o smtpd_sender_restrictions= -o smtpd_recipient_restrictions=permit_mynetworks,reject_unauth_destination -o mynetworks=127.0.0.0/8 smtp-amavis unix - - y - 2 smtp -o smtp_data_done_timeout=1200 -o disable_dns_lookups=yes 7.2. add the following to the /etc/postfix/main.cf config file: #vi /etc/postfix/main.cf content_filter = smtp-amavis: [127.0.0.1] :10024 8.restart postfix #service postfix restart

www.arondmessaging.ro www.facebook.com/aiolinux

You might also like