Results 1 to 6 of 6

Thread: [SOLVED] Update ClamAV via Proxy

  1. #1
    Join Date
    May 2008
    Posts
    3
    Rep Power
    7

    Default [SOLVED] Update ClamAV via Proxy

    Hey Guys,

    this is my first attempt to install zimbra and i really liked it from the start. Only problem i have is clamav. After a while the antivirus just stops working. This is because clamav cannot update its database.

    What i tried is enabling the proxy in the /opt/zimbra/conf/freshclam.conf file. But every time i restart the zmclamdctl it resets the config file to the old state without the proxy entry.

    Maybe i am too stupid but i cant get it working with my proxy settings.

    Any kind of help is appreciated.

  2. #2
    Join Date
    May 2007
    Location
    Oklahoma
    Posts
    703
    Rep Power
    9

    Default

    It's probably being overwritten by the contents of the /opt/zimbra/conf/freshclam.conf.in file. You might try changing this file to make changes permanent.

  3. #3
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,587
    Rep Power
    58

    Default

    Quote Originally Posted by xclone1098 View Post
    What i tried is enabling the proxy in the /opt/zimbra/conf/freshclam.conf file. But every time i restart the zmclamdctl it resets the config file to the old state without the proxy entry.

    Maybe i am too stupid but i cant get it working with my proxy settings.

    Any kind of help is appreciated.
    Why are you using the proxy, it's not necessary for a single server install. Do you have a single or multi-server install?
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  4. #4
    Join Date
    May 2008
    Posts
    3
    Rep Power
    7

    Default

    Quote Originally Posted by Bill Brock View Post
    It's probably being overwritten by the contents of the /opt/zimbra/conf/freshclam.conf.in file. You might try changing this file to make changes permanent.
    Great that did it. ClamAV is updating its database successfully. Thanks.


    Quote Originally Posted by phoenix
    Why are you using the proxy, it's not necessary for a single server install. Do you have a single or multi-server install?
    Its a single server installation and i am not talking about the zimbraproxy. I am talking about the proxy server i am using to access the internet.

  5. #5
    Join Date
    May 2007
    Location
    Oklahoma
    Posts
    703
    Rep Power
    9

    Default

    Glad that helped.

  6. #6
    Join Date
    Feb 2009
    Location
    Shawnigan Lake, BC, Canada
    Posts
    66
    Rep Power
    6

    Default

    Quote Originally Posted by Bill Brock View Post
    It's probably being overwritten by the contents of the /opt/zimbra/conf/freshclam.conf.in file. You might try changing this file to make changes permanent.
    I tried this, but now get the following in my freshclam.log: (and it doesn't appear to be updating)

    WARNING: Insecure permissions (for HTTPProxyPassword): /opt/zimbra/conf/freshclam.conf must have no more than 0700 permissions.

    How do I tell Zimbra to set the correct perms on the conf file it re-writes?

Similar Threads

  1. [SOLVED] Howto: Update ClamAV
    By unilogic in forum Administrators
    Replies: 9
    Last Post: 12-12-2007, 05:28 AM
  2. Antivirus and Antispam update trought proxy
    By stefanorossi in forum Administrators
    Replies: 1
    Last Post: 05-18-2007, 04:21 PM
  3. zimbra antivirus update clamav 0.90 failed
    By NIRMESH KUMAR in forum Administrators
    Replies: 3
    Last Post: 02-21-2007, 02:48 AM
  4. can clamav update the virus database automatically?
    By nxzwt in forum Administrators
    Replies: 1
    Last Post: 02-01-2007, 12:11 AM
  5. ClamAV update
    By johndevine in forum Administrators
    Replies: 3
    Last Post: 11-29-2005, 02:58 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •