iTechLogixiTechLogix

CALL NOW : +92 (322) 884 8882
Menu
  • About
    • Close
    • About Us
    • Our Portfolio
    • Close
  • Register
    • Close
    • Domain Registration
    • Web Hosting
    • VPS/ Dedicated Server
    • Close
  • Design
    • Close
    • Web Design Services
    • Corporate Identity Design
    • Close
  • Develop
    • Close
    • Website Development
    • Static Website Development
    • CMS Website Development
    • E-Commerce Website
    • Basic Website Package
    • Pro Website Package
    • Pro Plus Website Package
    • E-Commerce Package
    • Close
  • Market
    • Close
    • Online Marketing
    • Social Media Marketing Services
    • Pay Per Click Services
    • Content Writing Services
    • Link Building Services
    • Basic SEO Package
    • Pro SEO Package
    • Ultimate SEO Package
    • Close
  • Apps
    • Close
    • Mobile Apps Development
    • Close
  • Contact Us
  • Blog
FREE QUOTE
Avatar
Saif
Sunday, 16 April 2017 / Published in Servers

Vesta Control Panel – How to install ClamAV and SpamAssassin on a Ubuntu

This tutorial is created for servers with less than 3Gb of ram availalbe. On “big” servers installation is fully automatic.

ClamAV installation

apt-get install clamav-daemon
wget http://c.vestacp.com/0.9.8/ubuntu/clamd.conf -O /etc/clamav/clamd.conf
gpasswd -a clamav mail
gpasswd -a clamav Debian-exim
freshclam
update-rc.d clamav-daemon defaults
service clamav-daemon restart

SpamAssassin installation

apt-get install spamassassin
update-rc.d spamassassin defaults
sed -i "s/ENABLED=0/ENABLED=1/" /etc/default/spamassassin
service spamassassin restart

Exim configuration

sed -i "s/^#SPAMASSASSIN/SPAMASSASSIN/g" /etc/exim4/exim4.conf.template
sed -i "s/^#CLAMD/CLAMD/g" /etc/exim4/exim4.conf.template
sed -i "s/^#SPAM_SCORE/SPAM_SCORE/g" /etc/exim4/exim4.conf.template
service exim4 restart

Vesta configuration

sed -i "s/ANTIVIRUS.*/ANTIVIRUS_SYSTEM='clamav-daemon'/" /usr/local/vesta/conf/vesta.conf
sed -i "s/ANTISPAM.*/ANTISPAM_SYSTEM='spamassassin'/" /usr/local/vesta/conf/vesta.conf

Comments

comments

Tagged under: clamav, control, install, panel, spamassassin, ubuntu, vesta

What you can read next

How to Install Vesta Control panel on Your Linux VPS / Dedicated Server
Linux Keep a Process Running even If SSH Session is Interrupted
Vesta Control Panel – How to install ClamAV and SpamAssassin on a RHEL or CentOS

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

RECENT POSTS

  • Best Method to Add Custom CSS
    May 7, 2017
    Modren day websites rely heavily on CSS. When using a […]
  • Linux Keep a Process Running even If SSH Session is Interrupted
    May 6, 2017
    Often a long running process like scp, zip or backup […]
  • Format Gravity Form Fields with CSS Ready Classes
    May 2, 2017
    To add a Ready Class to a field, just edit your form […]
  • Install Imagick Extension for PHP on Ubuntu
    April 24, 2017
    It’s fairly straightforward to install imagick […]
  • Vesta Control Panel – How to install ClamAV and SpamAssassin on …
    April 16, 2017
    This tutorial is created for servers with less than […]

Categories

  • Marketing
  • Servers
  • web development

Archives

  • May 2017
  • April 2017
January 2021
M T W T F S S
« May    
 123
45678910
11121314151617
18192021222324
25262728293031

About iTechLogix

iTechLogix is a US based technology consulting firm specializing in providing scalable technology solutions to small and medium-sized businesses throughout the globe. Over a course of 6 years, we have helped hundreds of businesses with our web development, design and marketing services. We offer seamless integration, re-usabty and guaranteed flexibility

iTechLogix at Twitter

over a year agoIs #Featured #Snippet #Reign #Finally over?- -https://t.co/RBJSjIyGSp https://t.co/FOkWOg2tlu
over a year agoIs #Featured #Snippet #Reign #Finally over?- -https://t.co/RBJSjIyGSp https://t.co/Kh5mD0n8Ge
over a year ago#Google Lens is #Interesting and #Promising but far from #Perfect yet- -https://t.co/s4e0HRMSim https://t.co/D2HI8vT4VU
over a year ago#Google Lens is #Interesting and #Promising but far from #Perfect yet- -https://t.co/s4e0HRMSim https://t.co/tR1tQsGAph
over a year ago#Apple #Launches its new #Search Ads #Basic for app #Store- -https://t.co/4XhnUBIlKN https://t.co/gI75lhrrb0
over a year ago#Featured #Snippets now #Offer more #Content with #Latest #Google #Search updates- -https://t.co/l5KgZgO8Nc https://t.co/1NuJzh1TRL
Follow @iTechLogix

Quick Links

Menu
  • Website Development
  • Online Marketing
  • App Development
  • VPS/ Dedicated Server

Get a Callback

  • Home
  • Contact Us

© 2017. All rights reserved. iTechLogix.

TOP
Graphic Design Quotation
  • Please enter a value between 200 and 10000.
Get Shared Hosting
VPS/ Dedicated Server Quote
Get a free Mobile App Quotatio
Get a Free Quotation
Contact Us