Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Mail Server
  • Search

uninstall clamd fix for broken mail server config exim4.conf.templat

Questions regarding the Mail Server
Dovecot, Exim, RoundCube
Post Reply
  • Print view
Advanced search
1 post • Page 1 of 1
anthonyrossbach
Posts: 21
Joined: Thu May 21, 2015 6:00 am

uninstall clamd fix for broken mail server config exim4.conf.templat
  • Quote

Post by anthonyrossbach » Sat Oct 08, 2016 2:55 pm

This is at least on Ubuntu, after following guide at viewtopic.php?f=12&t=11279#p43123 to remove clamd I ran into a problem, setting "CLAMD = no" in exim4.conf.template did not work, as it still has propertys later on. You will need to comment out the following chunks.

Code: Select all

.ifdef CLAMD
#av_scanner = clamd: /var/run/clamav/clamd.ctl
.endif

#.ifdef CLAMD
#  warn    set acl_m0    = no
#
#  warn    condition     = ${if exists {/etc/exim4/domains/$domain/antivirus}{yes}{no}}
#          set acl_m0    = yes
#.endif

#.ifdef CLAMD
#  deny   message        = Message contains a virus ($malware_name) and has been rejected
#         malware        = *
#         condition      = ${if eq{$acl_m0}{yes}{yes}{no}}
#.endif
Otherwise the server will still try and connect to AV. I would have added to the topic listed but it was locked.

I hope this helps as I had a 4 hour stumper as every guide and article is to fix clamd not remove it.
Top


Post Reply
  • Print view
1 post • Page 1 of 1

Return to “Mail Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password