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 only for file checking - not exim

Discussion in 'E-mail Discussions' started by santrix, Sep 3, 2009.

  1. santrix

    santrix Well-Known Member

    Joined:
    Nov 30, 2008
    Messages:
    223
    Likes Received:
    2
    Trophy Points:
    18
    I have installed clamavconnector and all is fine.

    However, I don't really wan to scan every single email that comes in or out of my servers - but the ability for users to scan their mail manually, or to scan file uploads with filemanager is useful.

    Is there a way to just take clamav out of the tests that exim performs without disabling clamav from the cpanel interfaces altogether?

    I have the following at the top of my exim.conf:

    Code:
    #!!# These options specify the Access Control Lists (ACLs) that
    #!!# are used for incoming SMTP messages - after the RCPT and DATA
    #!!# commands, respectively.
    
    av_scanner = clamd:/var/clamd
    
    acl_smtp_rcpt = check_recipient
    acl_smtp_data = check_message
    Can I just remove the av_scanner = clamd:/var/clamd line?

    Steve
     
    #1 santrix, Sep 3, 2009
    Last edited: Sep 3, 2009
  2. MattCurry

    MattCurry Well-Known Member

    Joined:
    Aug 18, 2009
    Messages:
    275
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Houston, Tx
    Exim.conf

    Hello,


    You can make edits to this through WHM, but not directly. The reason behind this is it will be overwritten after you make the changes. There is a way to make your changes stay, however if you do that it will not receive updates, and you may run into other problems. That is why making changes of this nature are unsupported.

    "chatter -i /etc/exim.conf"

    Thank you,
    Matthew Curry
     
  3. santrix

    santrix Well-Known Member

    Joined:
    Nov 30, 2008
    Messages:
    223
    Likes Received:
    2
    Trophy Points:
    18
    Thanks Matthew,

    So, if I do remove that line, can you confirm that this would indeed simply prevent exim from scanning all mail with clamav?

    Are you saying it would just be overwritten when I run upcp?

    If that's the case then I don't mind manually removing the line each time I update the servers.

    Steve
     
  4. MattCurry

    MattCurry Well-Known Member

    Joined:
    Aug 18, 2009
    Messages:
    275
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Houston, Tx
    Exim.conf

    Hello,


    Yes you are correct, that would work and yes it would be removed next upcp. Hope that helps you out. Please let me know if you have any other questions.

    Thank you,
    Matthew Curry
     
Loading...

Share This Page