![]() |
||
|
Use Exiscan to Scan For Viruses Most responsible system administrators have implemented some form of virus scanning of incoming email to protect their users from getting viruses and to help stem the flow of these resource stealing entities. If you are a cPanel administrator, then about your only option has been Mailscanner. There are a number of HOWTOs out there that have shown people how to install Mailscanner, but just recently we've been given a much more integrated and less resource intensive solution. Enter Exiscan. Exiscan is a patch against exim version 4, providing support for content scanning in email messages received by exim. It works after the sending client has completed the SMTP data phase and waits for an answer from the server. Messages containing unwanted content can be rejected at that stage, so the job of generating a bounce message is the job of the sending host. Four different scanning facilities are supported: antivirus, antispam, regular expressions, and file extensions. The beauty of this is that, as noted above, the email is rejected during the receiving process, so the unwanted message never actually enters your server, and notifies the sending server that this message is not being accepted. This takes much of the burden of processing off your server and puts it back on the server that is trying to send this to you. This system even allows for filetype rejection! .exe, .scr, .pif, whatever you want to exclude and be excluded. cPanel included this patch in a recent update for Exim, and you probably already have it installed, but it has not been 'plugged in' to your server. The exiscan-acl patch adds content scanning to the exim4 ACL * MIME ACL that is called for all MIME parts in incoming MIME messages. These features are hooked into exim by extending exim's ACL
Configuring ClamAV for Exim / Exiscan: cd /usr/src Configuring Exim for use with exiscan: ( you should always backup your configuration file before any changes) find the lines: ###################################################################### Add the following under it: av_scanner = clamd:/var/run/clamav/clamd it should now look like ###################################################################### next find the following check_message: modify it so it looks like the following (notice the bold part): check_message: Save the file. Restart exim /sbin/service exim restart It should result with the following: root@w00t [~]# /sbin/service exim restart
If something dont work correctly, restore from your backup exim.conf or run /scripts/exim4 and try agian. If you still cannot get it to work contact steve @ rack911 Thanks to: Jon of Got-Management.com and to Steve of Rack911.com
Similar Articles : Change All Packages Themes cPanel/WHM, Change All User Themes cPanel/WHM, Official cPanel/WHM Newbies Guide, Updating Apache Using cPanel/WHM Easy Apache, Extended Exim Logging, Linux Apache ASP for cPanel/WHM, How to Hide Bind Version cPanel/WHM, Fix cPanel/WHM Quotas, Disabling Password Reset Option cPanel/WHM, Setting up Private Reseller Name Servers, Installing DrWEB antivirus cPanel/WHM Linux, Properly Reject Invalid Email, Securing /tmp partition, Force Secure Login cPanel/WHM SSL, Default Index cPanel/WHM, Modify Bandwidth Exceeded cPanel/WHM, Use Exiscan to Scan For Viruses, Fix Log Rotation Problems cPanel, Installing mod_bandwidth For the Ultimate in Apache Utilization Control, Linux Distributions, UNIX Flavors (Distributions), Installing and Configuring CSF Firewall |
||
Quick Links: Debian Dedicated Servers, Direct Deposit Hosting, Unmetered Dedicated Servers, Virtual Dedicated Servers, Windows Server Management, High Traffic Web Hosting - Load Balanced Clusters, Windows 2008 Server Virtual Dedicated Servers © Copyright 2003-2008 ABN 97 125 618 662 |
||