Control Web Panel

WebPanel => E-Mail => Topic started by: venty on May 14, 2016, 04:55:17 PM

Title: I can not enabled clamav?!?
Post by: venty on May 14, 2016, 04:55:17 PM
I can not enabled clamav?!?

BR
Venty
Title: Re: I can not enabled clamav?!?
Post by: Sandeep on May 14, 2016, 06:45:56 PM
Error message/log???
Server specs??
Title: Re: I can not enabled clamav?!?
Post by: venty on May 15, 2016, 08:13:05 AM
Server specs
Intel(R) Core(TM) i3 CPU 540 @ 3.07GHz
CPU Details: 4 Core (3680 MHz)
Distro Name: CentOS release 6.7 (Final)
Kernel Version: 2.6.32-573.26.1.el6.x86_64
4 GB RAM

Error message/log??? - where?!?

Mail Server Services
Postfix Mail Server      master (pid 18373) is running...    Start  Stop  Restart
Dovecot IMAP/POP3 Server      dovecot (pid 18272) is running...    Start  Stop  Restart
AMaViS (A Mail Virus Scanner)      amavisd (pid 18402 18401 18250) is running...    Start  Stop  Restart
OpenDKIM      opendkim (pid 18392) is running...    Start  Stop  Restart
SpamAssassin      spamd (pid 18226) is running...    Start 

NO ClamAV???
Title: Re: I can not enabled clamav?!?
Post by: Sandeep on May 15, 2016, 12:27:00 PM
did you rebuild the postfix with anti virus option enabled ?

(http://i.imgur.com/dtkBj6H.png)
Title: Re: I can not enabled clamav?!?
Post by: venty on May 15, 2016, 02:28:15 PM
Yes, I did, here's the result:

Stopping spamd: [  OK  ]
Starting spamd: [  OK  ]
Shutting down Mail Virus Scanner (amavisd): [  OK  ]
Starting Mail Virus Scanner (amavisd): [  OK  ]
Stopping Dovecot Imap: [  OK  ]
Starting Dovecot Imap: [  OK  ]
Shutting down postfix: [  OK  ]
Starting postfix: [  OK  ]
Stopping OpenDKIM Milter: [  OK  ]
Starting OpenDKIM Milter: [  OK  ]

and ClamAV  is still missing on the main screen...

BR
Venty
Title: Re: I can not enabled clamav?!?
Post by: Sandeep on May 15, 2016, 09:26:25 PM
restart all mail server services
(http://i.imgur.com/08NWZVq.png)

if this fails then do this :

unchecked DKIM and rebuild postfix with 1st option checked i.e. "ClamAV, Amavis & Spamassassin, Requires 1Gb+ RAM"
after that check two option dkim and antivirus option enabled, again you have to rebuild the the postfix when done restart all mail server services
Title: Re: I can not enabled clamav?!?
Post by: venty on May 16, 2016, 03:50:47 PM
I tried everything, but it does not... ClamAV not in the list...

My friend mentioned to me that ClamAV is now part of Amavis, is this true???

But how can I check whether mails are tested for viruses???

BR
Venty
Title: Re: I can not enabled clamav?!?
Post by: Sandeep on May 16, 2016, 08:02:10 PM
Amavis will scan the mail for the virus
Title: Re: I can not enabled clamav?!?
Post by: venty on May 17, 2016, 10:16:51 AM
ClamAV???
Title: Re: I can not enabled clamav?!?
Post by: venty on May 24, 2016, 05:44:55 AM
hi,
in daily root messeges, in the end I have the following records:

cpulimit: no process killed
/etc/cron.daily/freshclam:

touch: cannot touch `/var/log/clamav/freshclam.log': No such file or directory
chmod: cannot access `/var/log/clamav/freshclam.log': No such file or directory
chown: cannot access `/var/log/clamav/freshclam.log': No such file or directory
ERROR: Problem with internal logger (UpdateLogFile = /var/log/clamav/freshclam.log).
ERROR: Can't open /var/log/clamav/freshclam.log in append mode (check permissions!).
/etc/cron.daily/logrotate:

error: stat of /var/log/lfd.log failed: No such file or directory

My ClamAV still does not work .. What to do?!!?

BR
Venty

Title: Re: I can not enabled clamav?!?
Post by: cubehost on June 24, 2016, 05:53:05 PM
http://forum.centos-webpanel.com/centos-6-problems/clamav-update-problem/