Fedora Servers :: ClamAV-milter Working On F11
Nov 27, 2009I'm replacing my trusty old F5 firewall/mail server with a new(er) F11 box. Using yum, I have these packages installed:
[Code].....
I'm replacing my trusty old F5 firewall/mail server with a new(er) F11 box. Using yum, I have these packages installed:
[Code].....
Code:
* Starting ClamAV daemon clamd
WARNING: Ignoring deprecated option MailFollowURLs at line 33
ERROR: Can't initialize the internal logger
ERROR: Can't open /var/log/clamav/clamav.log in append mode (check permissions!).
...fail!
[Code]...
I have two servers complaining about ClamAV being outdated:
WARNING: Your ClamAV installation is OUTDATED!
WARNING: Local version: 0.96.1 Recommended version: 0.96.3
Doing an aptitude update says I don't have to upgrade anything. Why is this? Must ClamAV be updated manually?
I have a server im trying to use with clamAV to scan it all and with cron job. it worked fine for few days, sending me emails with reports, i was happy. now i get ERR emails and when running manually i get the follwing message output: Script: clamav-cron v. 0.6 - Copyright 2009, Stefano Stagnaro Scanned: /
[Code]...
I am semi new to UBUNTU worked a bit with it in the passed on vps and that. but i am currentaly tring to make a module for *Zpanel* i am making an anti virus module and am going to be using clamav. up to now everything has been going smoothly but i have hit massive problem.
I am tring to do this:
Code:
And i get this in return
Code:
Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming.
The following information may resolve the situation:
The following packages have unmet dependencies.
I dont get any install. and the information i have collect from people say that and install should not be stopped becuase of an depend
So as any one who is semi new would do i then tried installing the depend
Code:
And i get this in return
Code:
E: Package 'phpapi-20060613+lfs' has no installation candidate
So it look like problem after problem
Does any one know why i can not install php5-clamavlib
I have UBUNTU 11.04 desktop (with zpanel installed on it)
*zpanel an open source web hosting panel for windows and NOW LINUX (zpanel has just been release on UBUNTU ONLY ).
I am trying to install proftpd from source with the mod_clamav-0.10. I am using CentOS 5.5. I would love to get proftpd with clamav working. I had it installed previously through yum and uninstalled it before trying to do reinstall it through source.
yum erase proftpd
I have installed my first Ubuntu server today. It is connected to our corporate network. On this network there is a Windows 2008 R2 server that serves as DNS Exchange and file server. For some unknown reason this Windows server looses network connection when the ubuntu server comes online. After some investigation the network connection is instantly restored when I stop the clamav-freshclam service on the ubuntu server. When I start the service the network connection of the Windows server goes down.The only "link" with the Windows service and the Ubuntu server is that the Windows server is configure as the nameserver on the ubuntu server.
I want to run this in production because the ubuntu will serve as anti-spam server. I need to understand what is happing and why to prevent this.
I am currently running Ubuntu Server 9.10 and followed this HOWTO on setting up my email server.
[url]
Everything seems to work correctly. If I look in the Maildir the emails I send to test are there.
The problem is when I try to sync my email via IMAP from my windows box (on a different network) it doesn't show any of my email nor does it deliver new email. My email app doesn't give any errors nor does the logs on the server.
How can I get it so my email syncs to windows computer? I am sure it is something really small that I am over looking but I can't seem to find it anywhere. I don't know if you need to see any of my config files but I can post them if needed.
This started happening sometime yesterday afternoon on a server that's been trouble free for years.
My Ubuntu update is scheduled to run every month on the 5th, so this was roughly 10 days after that. So it seems to me it's not update related. The only thing I've done on the server lately is update a spamassassin rule which required an amavis restart. That was done earlier in the week.
I've already reviewed issues at [url] and all the conditions are correct for the more recent How to.
I can also confirm that, in fact, /var/run/clamav/clamd.ctl does not exist.
I configured dk-milter on a server and created dns records for that, But I'm not getting sendmail to sign emails. dk-milter configuration is correct but the problem with sendmail.
[Code]...
I have Postfix and Spamassassin setup on Ubuntu Server 9.10. The mail is working perfectly. Spamassassin is correctly marking messages as spam. My problem is with the milter and procmail. On past servers I was able to reject spam based on score via the spamass-milter. For whatever reason I can not get it to work. I have also tried with procmail, again, it does not work. Here are the relative lines in their respective config files:
[Code]....
I just tried to compile dk-milter (DomainKeys Milter) on a Fedora 13 x64 system and got this error:
Code:
make[2]: Leaving directory `/home/popicait/dk-milter-1.0.2/obj.Linux.2.6.34.7-61.fc13.x86_64.x86_64/libsm'
cc -O2 -I. -I../../include -D_REENTRANT -DXP_MT -c -o dk.o dk.c
cc -O2 -I. -I../../include -D_REENTRANT -DXP_MT -c -o rfc2822.o rfc2822.c
cc -O2 -I. -I../../include -D_REENTRANT -DXP_MT -c -o util.o util.c
ar crv libdk.a dk.o rfc2822.o util.o
[Code]...
I am trying to built a mailserver using Sendmail + cyrus + amavisd + TLS authentication. All programs used are the latest versions shipped with OpenSUSE 11.4 I have set-up successfully sendmail+cyrus and I can send e-mail anywhere without a problem using authentication. But when I try to integrate amavisd-milter mail delivery hangs at 63% and the following message appears in /var/log/mail
[code]....
I have also uninstall all involved programs, deleted all conf files and re-installed them but alas without any success. The same configuration was used at least once with almost all previous SuSE/openSUSE versions since 1998.
I have installed CLAMAV in Fedora 11 and when I try to update it says update failed I have tried to find a reason why but unfortunately I am lost. Sony VAIO VGN TXHP1 laptop Fedora 11 Gnome i1568 Wireless connection seems fine.
View 8 Replies View RelatedI am trying to upgrade my clam AV to latest 0.9.6.1. Last times I just uploaded to the server and used RPM command and it was installing. Now I cant find RPM for this ver. So I guess I need to prepare one.
I used the guide here:
Packaging software with RPM, Part 1: Building and distributing packages
by IBM
Changing all wget -> clamav
But when run this I got:
# rpmbuild -v -bb --clean clamav.spec
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.74542
+ umask 022
+ cd /home/myclamav/BUILD
+ cd /home/myclamav/BUILD
+ rm -rf clamav-0.96.1
+ /bin/gzip -dc /home/myclamav/SOURCES/clamav-0.96.1.tar.gz
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd clamav-0.96.1
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ $'
'
: command not found542: line 35:
error: Bad exit status from /var/tmp/rpm-tmp.74542 (%prep)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.74542 (%prep)
Is there a better way to create RPMs? or Where do I get RPM for this version? I couldn't find it through their site.
I have gone through a good number of distros all the way back to Slackware but I'm struggling to get my brain moving in the right direction again. I am working to enable sendmail and, from what I've read, it appears that newer version of sendmail are installed with milter but I can't seem to locate this. I am running v11.4 so I'm wondering if this is just not the case? I don't have a problem reconfiguring/recompiling the sendmail conf files but would rather not if it's not required. For the record my ultimate goal is to have the spamassassin and clamav milter's installed and using the home server as our primary email.
View 7 Replies View Relatedi was using mandriva before and fedora is new i have installed clamav antivirus but clamav won update i must change clamd.d and maybe freshlam.conf but how do i that under mandriva clamav-freshclam does the job but here it is different
View 8 Replies View RelatedI get constantly this error, how can disable clamav in SElinux, or there is maybe a rule for it?
SELinux is preventing the clamscan from using potentially mislabeled files (./clamav-366ce73c2b6ad30d9e062d
SELinux is preventing the clamscan from using potentially mislabeled files (/tmp/clamav.577/clamav-9c353ad9c85b
I have been trying to update the gui version 4.10 and the antivirus engine 0.95.1 but to no avail.
View 9 Replies View RelatedIn short, I've written a bash script (available from github) for configuring and removing instances of clamav-server on Fedora (clamd). It lets you create and remove individual instances with a specific user and port (if you specify them) and will install the required packages if not already present on the system and remove them if you want to. In long, we use Clam AntiVirus as our antivirus protection for Digital Preservation Recorder and talk to it over the default port, 3310 (clamd). Installing the clamav-server package under Fedora however, doesn't actually set up an instance. In fact, it doesn't copy any system configuration files into place at all. This means that the system is left without any working ClamAV server out of the box.
Under Fedora, ClamAV server is configured on a per user basis. This is actually quite important (unless you run as root) because the daemon needs at minimum read access (and we've found also write) on the files/directory being passed for scanning. The instructions on how to configure it are located under /usr/share/doc/clamav-server-[version]/ but I have taken these instructions and written a bash script to configure all of this for you. The script is available from github. It can create or remove an individual instance of clamav-server using a specific username and/or port (if you want to specify them, else it defaults to clamav on port 3310). The script will also install any required packages, if you don't already have them on the system. You also have the option of removing the required packages when you remove an instance. The script now also configures freshclam for you (the definitions updater), which needs to run as your user too.
I have installed clamav antivirus,and while scanning it shows the following warning
LibClamAV Warning: **************************************************
LibClamAV Warning: *** The virus database is older than 7 days! ***
LibClamAV Warning: *** Please update it as soon as possible. ***
LibClamAV Warning: **************************************************
And so i have tried to update the virus database as root,using this command
# freshclam
bash: freshclam: command not found
but i cant,can you pls say me how to update the virus database...
Still trying to get that elusive simple mail server. Have install Centos 5 (20 time!) and updated software. Have got the system to see www and now about to do the mailserver thing. One of the first steps is to install Clamav yet this does not show on the package list for the program add delete gui. Tried yum install clamav and got message back that it wasn't available.
Google advises that I must first install rpmforge but at the same time has a warning from the maker of yum that this is dangerous to do Clamav is clearly a very popular antivirus scanner yet Centos 5 does not include it or allow you to install it?
How to determine what type of files clamav can scan? For example, if there is no unrar installed it can't scan files in it. So is there any way to find out all types of files that clamav can't scan?
View 2 Replies View RelatedThe mail server keeps getting locked up with tens of thousands of spam emails.So, i followed some instructions similar to this : [URL]I can clear the queue spams, easy, but after an hour or so the server is dead again.. not receiving emails and not sending out emails.
Code:
Received: (qmail 356 invoked by uid 509); 4 Mar 2011 21:39:10 +0800
Received: from 125.110.124.51 by host1.wemotor.com (envelope-from <oiazfkdvd@yahoo.com.tw>, uid 508) with qmail-scanner-1.25-st-qms
Received: from unknown (HELO 202.46.116.119) (125.110.124.51)
[code]....
I am running a Fedora 3 that I had installed from a slightly outdated disk. and I have been making updates by using YUM. But I have a policy of only updating just what is needed and leaving the rest alone. This was fine until some time (I think is was) last year, when our friends at fedora had discontinued support for Fedora 3 and then unwisely deleted all the packages for fedora 3 and fedora 4 off there server. Now it has been a struggle just administer updates when application that I am adding become unhappy with the version that come off of the disk, and I end up with versions that are more current then I wanted. All I wanted is to have access to the packages that were left when the music stopped.
Hear is my current pediment. I now need to run PHP (something I never used until now) and version that came with the disk (ver 4.3.9) is too low for the scripts that I will be running. They need PHP 5. Now I know that were up to something like PHP 5.3.x. But I don't really need that. I am shore there is a version of PHP 5, like versions 5.1, that was available though YUM. If they only just left it there. At least Microsoft leaves all of there window 98 updates on there server for people to use, even though they don't support windows 98 any more.
The biggest reason I want to use YUM or even up2date for my installs and updates, is they minimized the risk of screwing something up.
Here is my question. Dos, anyone know where there is a mirror of fedora 3 updates that fedora used to have on there site?
I am hopping to be able to adjust the baseurl= line in the fedora.repo file to point it to this new mirror and make YUM work like NEW.
I've read through these pages [URL] but can't seem to get Samba server working. I am using Gnome and I go to System - Administration - Services
In there I can see smb and nmb. Both are enabled, but both have a status of unknown. I can't seem to start or stop either of them. I can just enable or disable them. I've tried using the gui, as well as command line.
I'd really like to get this going as I'd like to copy files from my XP Pro box to my Linux box (F9). I have WinSCP, but am having permission issues and I can only copy to a folder on my desktop on the Linux box (I'd like to get this fixed too, but that's a different thread at a later time)
I've been running a F10 based Samba Server a few months without trouble. Now, after an update, samba is not working any more. When I try to start it manually, it reports the following error:
[root@hawkeye ~]# /etc/rc.d/init.d/smb start
Starting SMB services: /bin/bash: line 1: 3403 Aborted (core dumped) smbd -D [FAILED]
[root@hawkeye ~]#
I've re/installed all samba packages and configure the smb server again from scratch but the problem was not solved. My samba packages are:
[root@hawkeye samba]# rpm -q --all | grep samba
samba-winbind-3.2.8-0.27.fc10.i386
samba-client-3.2.8-0.27.fc10.i386
samba-3.2.8-0.27.fc10.i386
[Code]....
I tried to set up vnc following the steps of this webpage:
[URL]
which did not work. I changed everything back the way it was, but when I tried to ssh in to my remote server, the connection timed out? It showed nothing in secure logs. I tried to ssh in through webmin, in asked for auth but did not connect. The logs said this:
Jul 30 12:05:10 server sshd[2829]: Did not receive identification string from 209.139.209.100
I tried to telnet port 22 through the shell in webmin and got this:
> telnet 209.139.209.100 22
Trying 209.139.209.100...
Connected to 209.139.209.100.
Escape character is '^]'.
Connection closed by foreign host.
I tried reinstalling ssh, but got the same errors...It worked fine before the howto. I can't imagine how it changed something in ssh...
I've been googling this for a while now, and trying different examples, like:
iptables -A INPUT -s 3.2.1.0 -j DROP
iptables -A INPUT -s 3.2.1.0/24 -j DROP
service iptables restart
[code]....
I'm trying to get ChrootDirectory working with SFTP. I understand the chroot directory is not writable by the user, so I have to create a sub-directory the user is supposed to write to. I keeping getting write permission denied when uploading a file to this sub directory? how to troubleshoot this or know what i'm doing wrong? Here's how I have it setup.
Fedora 15, OpenSSH 5.6p1
/etc/ssh/sshd_config looks like this
Code:
Subsystem sftp internal-sftp
Match Group sftp
ChrootDirectory %h
[code]...
I created the sftp group and created a test user.
Code:
groupadd sftp
useradd -g sftp -s /bin/false -d /home/test test
Then gave root access to the test user's home directory so chroot will work.
Code:
chown root:root /home/test
chmod 755 /home/test
Since the user's home directory is the chroot directory, the user will not have write access to it. So I created a sub-directory that the user will have write access to.
Code:
mkdir /home/test/data
chown test:test /home/test/data
chmod 755 /home/test/data
I can successfully sftp into the server and download files. But I cannot upload files to the data directory? I get write permission denied.