VMware Images:
|
Virtual Users And Domains With Postfix, Courier And MySQL (Ubuntu 6.10 Edgy Eft) - Page 4
9 Install amavisd-new, SpamAssassin, And ClamAVTo install amavisd-new, spamassassin and clamav, run the following command: apt-get install amavisd-new spamassassin clamav clamav-daemon zoo unzip bzip2 unzoo libnet-ph-perl libnet-snpp-perl libnet-telnet-perl nomarch lzop pax Afterwards we must configure amavisd-new. The configuration is split up in various files which reside in the /etc/amavis/conf.d directory. Take a look at each of them to become familiar with the configuration. Most settings are fine, however we must modify three files: First we must enable ClamAV and SpamAssassin in /etc/amavis/conf.d/15-content_filter_mode by uncommenting the @bypass_virus_checks_maps and the @bypass_spam_checks_maps lines: vi /etc/amavis/conf.d/15-content_filter_mode The file should look like this:
And then you should take a look at the spam settings and the actions for spam-/virus-mails in /etc/amavis/conf.d/20-debian_defaults. There's no need to change anything if the default settings are ok for you. The file contains many explanations so there's no need to explain the settings here: vi /etc/amavis/conf.d/20-debian_defaults
Finally, edit /etc/amavis/conf.d/50-user and add the line $pax='pax'; in the middle: vi /etc/amavis/conf.d/50-user
Afterwards, run these commands to add the clamav user to the amavis group and to restart amavisd-new and ClamAV: adduser clamav amavis Next we must edit the configuration file of the Freshclam daemon (that's the daemon that regularly and automatically fetches the newest virus signatures from a ClamAV mirror) because it contains a small bug. Open /etc/clamav/freshclam.conf and modify the NotifyClamd line as shown below: vi /etc/clamav/freshclam.conf
Then restart Freshclam (make sure no other Freshclam process (maybe of another ClamAV installation) is running because then our Freshclam will fail to start): /etc/init.d/clamav-freshclam restart Now we have to configure Postfix to pipe incoming email through amavisd-new: postconf -e 'content_filter = amavis:[127.0.0.1]:10024' Afterwards append the following lines to /etc/postfix/master.cf: vi /etc/postfix/master.cf
Then restart Postfix: /etc/init.d/postfix restart Now run netstat -tap and you should see Postfix (master) listening on port 25 (smtp) and 10025, and amavisd-new on port 10024: root@server1:/usr/local/sbin# netstat -tap
10 Install Razor, Pyzor And DCC And Configure SpamAssassinRazor, Pyzor and DCC are spamfilters that use a collaborative filtering network. To install them, run apt-get install razor pyzor dcc-client Now we have to tell SpamAssassin to use these three programs. Edit /etc/spamassassin/local.cf and add the following lines to it: vi /etc/spamassassin/local.cf
Restart amavisd-new afterwards: /etc/init.d/amavis restart
|
www.seamlessenterprise.com
One number. One voicemail. Seize the lead. Sprint Mobile Integration.
www.seamlessenterprise.com
One Number. One Voicemail.
Make it easier for clients to reach you. Turn your desk phone and mobile phone into one with Sprint Mobile Integration.
www.seamlessenterprise.com
One number. One voicemail. Sprint Mobile Integration.
www.seamlessenterprise.com
AT&T Synaptic Compute as a Service. Boost your power on demand.
Trial: IBM Cognos Express Reporting, Analysis & Planning



![Creative Commons Attribution License [Creative Commons Attribution License]](http://creativecommons.org/images/public/somerights20.gif)

print: 

Recent comments
9 hours 40 min ago
13 hours 34 min ago
14 hours 21 min ago
17 hours 44 min ago
21 hours 17 min ago
22 hours 51 min ago
1 day 53 min ago
1 day 5 hours ago
1 day 5 hours ago
1 day 9 hours ago