Red Hat / Fedora :: Mailserver Setup Clamav Won't Install
Apr 25, 2010
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?
I hope someone can help me setting up receiving e-mail on my home server. Ubuntu Lucid and Zarafa from repository. Zarafa is running well. I can send e-mail via the relay smtp host from my ISP. But though the e-mail address should be correct I never see this e-mail appear in zarafa inbox.The e-mail reaches the server via an open 25 port forwarded to my server, but it seems postfix does not know how to handle it. Or is there something else going wrong here? Below are my settings. These are the settings I added or edited. the rest is Ubuntu Lucid (10.04) standard.
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: /
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.
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 ).
Does a mailserver have to have direct access to WAN or can it be a LAN device with just one NIC ?
We have two WAN access points.
One is an adsl router joined to the switch and all seems fine for internet browsing.
The other is a wireless system with a linksys router joining by way of PPPoE and this appears to connect fine.
This PPPoE is direct to our ISP and where we need to downlod our mail to our pending mailserver.
When the linksys router is also joined to the switch all devices can use either the adsl or linksys to roam the net. 192.168.1.1 linksys & 192.168.1.10 is adsl.
When I join the linksys direct to the mailserver I will then need two NIC's. One for the Linksys and one for the LAN.
This is where the fun has started.
So.... Can I just have one NIC (connected to the switch) on the mailserver?
I am trying to set up a Mail Server -- Virtual Users with Postfix, PostfixAdmin, Courier, Mailscanner, ClamAV On CentOS 5.5 using this guide. These are the version and softwares I have used till now:-
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 find it incredible that installing and running reputable software such as Clamav on my system should be a major problem. I have openSUSE 11.3 with kde 4.5.2 desktop and when I try and install clamav using Yast the files are downloaded into old kde3 directory and nothing works.
I downloaded the latest ClamAV (clamav-0.96-27.1.x86_64.rpm) from the opensuse ftp site and when i double-click on the RPM and choose 'install' it says this:[PK_TMP_DIR|dir:///var/tmp/TmpDir.h1Oz1u] Repository already exists.I looked in the software manager in opensuse to see if it has the latest ClamAV package but it doesn't have the latest package or any package of ClamAV.
what a horrendous piece of software. Ive been at it 3 days trying to do something that ought to be simple and everytime i solve one problem another problem arises. at first I removed the old clamav 9.5 or something. I got the latest ubuntu release btw, and Clamav used to work when i first installed it in the previous ubuntu release. anyway, it asked me to upgrade, so since synaptic doesnt have the latest, i downloaded from sourceforge. I did the whole ./configure gave me errors like need build-essentials-- which i then did, error: need zlib.dv--- I did that one too. Now two more errors that i need to fix so I can compile it.
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.
I 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 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
In 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...
I recently set up a mailserver on ubuntu using postfix. I set up the MX record with my router's ip address and I have port 25 forwarding all the mails to the ubuntu server. Everything works fine but I am unable to access my email using example.com/squirrelmail from any other machine apart from the server.
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?
The 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)
I have two boxes, 1- Centos router, 2- centos web/mail server..
When trying to receive mail using mail.xxx.xxx in the mail client server settings, it will not resolve to any machine on the internal network... I have to enter the internal IP address in the incoming and outgoing email settings..
Same with the website I host.. I have to enter the internal IP to get access..
It just will not resolve the DNS on the internal network.
I am trying to set up a mailer server on Lucid Lynx using mostly this guide: [url]
I believe I have most of the basics covered. But before launching into the the advanced set up, I want to see if I can get help with one thing I am finding difficult to understand.
In terms of my domain name www.example.com, do I have to do anything on my hosting company's side? That is, www.example.com currently have my web site and it is hosted on a private server at a hosting company. I have the ip address of the server. When I configured postfix, i used this same domain name in the configurations so I want to know what else to do to get it working.
It works good , but sometime it NEVER respond (neither after 1 hour) , so I receive no notification . DO you know alternative command to the command above ?
Iam handling mail server in redhat.MTA using is qmail.since last 1 month it get overload and get hang...since in morning its time for user to loging into mail through web interface.though suddenly login in to mail it get overload and server got hang.we need to restart the server...did not get time to kill https also some time MP port work to save us...still didnot get command to overcome the over load in server...