The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

ClamAV Connector

Discussion in 'General Discussion' started by torwill, Nov 9, 2004.

  1. torwill

    torwill Well-Known Member

    Joined:
    Jun 25, 2002
    Messages:
    141
    Likes Received:
    0
    Trophy Points:
    16
    Hello,

    I have installed Clam AV Connector, and found the following in exim.conf,

    #!!# ACL that is used after the DATA command
    check_message:
    require verify = header_sender
    $
    deny message = This message contains a virus or other harmful content ($malware_name)
    malware = *
    demime = *


    accept


    But after using Exim Configuration Editor to add some entries to exim.conf, lines above just disappear, hence making email scan useless till I add them back manually.


    Is this the way it supposed to be (has to be added manyally)? Because I found another file /etc/exim.conf.exiscan which has simmilar lines,

    #!!# ACL that is used after the DATA command
    check_message:
    require verify = header_sender

    ##### clamav ACL, reject virus infected mails with proper error

    deny message = This message contains malformed MIME ($demime_reason).
    demime = *
    condition = ${if >{$demime_errorlevel}{2}{1}{0}}

    deny message = This message contains a virus or other harmful content \
    ($malware_name)
    demime = *
    malware = *

    deny message = Potentially executable content. If you meant to send this file \
    then please package it up as a zip file and resend it.
    demime = ade:adp:bas:bat:chm:cmd:com:cpl:crt:eml:exe:hlp:hta:inf:ins:isp:jse:lnk:mdb:mde:msc:msi:msp:pcd:reg:scr:sct:shs:url:vbs:vb$

    # Add X-Scanned Header

    warn message = X-Antivirus-Scanner: Clean mail though you should still use an Antivirus

    ##### end clamav ACL

    accept


    Thank you.
     
  2. rvskin

    rvskin Well-Known Member
    PartnerNOC

    Joined:
    Feb 19, 2003
    Messages:
    400
    Likes Received:
    1
    Trophy Points:
    18
  3. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    If you're finding that using the Exim Configuration Editor is wiping out clamavconnector lines, log it in bugzilla if it's not already been reported as cPanel need to know about it:
    http://bugzilla.cpanel.net
     
Loading...

Share This Page