HowTo: MailScanner 4.24 for Exim 4.24

clamd is missing

Hello all!!!

I though may be there are some missing things in the server. So i did a clean reinstall the server again with Centos 4.3 and directadmin. And installed the MailScanner.

This time i see its listening on the 25 port. E-Mail sending/recieving are okie. but i see the emails which are coming through are not scanned.

Upon searching in the server i could not found "clamd"

I have installed 2 RPM's for clamav.

clamav-db-0.88.2-1.el4.rf.i386.rpm
clamav-0.88.2-1.el4.rf.i386.rpm

and when i tried to run

/usr/bin/freshcalm
it gives me:-
--------------------------
[root@host bin]# ./freshclam
ClamAV update process started at Sat Jun 24 18:44:13 2006
Downloading main.cvd [*]
main.cvd updated (version: 39, sigs: 58116, f-level: 8, builder: tkojm)
Downloading daily.cvd [*]
daily.cvd updated (version: 1562, sigs: 1966, f-level: 8, builder: ccordes)
Database updated (60082 signatures) from db.nl.clamav.net (IP: 194.109.6.74)
ERROR: Clamd was NOT notified: Can't find or parse configuration file /etc/clamd.conf
--------------------------

I think Clamav is not fully installed? this is why i won't able to locate clamd?

any help plz

regards
Saeed
 
Last edited:
Re: clamd is missing

saeed said:
Hello all!!!

I though may be there are some missing things in the server. So i did a clean reinstall the server again with Centos 4.3 and directadmin. And installed the MailScanner.

This time i see its listening on the 25 port. E-Mail sending/recieving are okie. but i see the emails which are coming through are not scanned.

Upon searching in the server i could not found "clamd"

I have installed 2 RPM's for clamav.

clamav-db-0.88.2-1.el4.rf.i386.rpm
clamav-0.88.2-1.el4.rf.i386.rpm

and when i tried to run

/usr/bin/freshcalm
it gives me:-
--------------------------
[root@host bin]# ./freshclam
ClamAV update process started at Sat Jun 24 18:44:13 2006
Downloading main.cvd [*]
main.cvd updated (version: 39, sigs: 58116, f-level: 8, builder: tkojm)
Downloading daily.cvd [*]
daily.cvd updated (version: 1562, sigs: 1966, f-level: 8, builder: ccordes)
Database updated (60082 signatures) from db.nl.clamav.net (IP: 194.109.6.74)
ERROR: Clamd was NOT notified: Can't find or parse configuration file /etc/clamd.conf
--------------------------

I think Clamav is not fully installed? this is why i won't able to locate clamd?

any help plz

regards
Saeed

you need conf file
Code:
cd /etc/ ; wget [url]http://www.web4host.net/tools/MailScanner/clamd.conf[/url] ; wget [url]http://www.web4host.net/tools/MailScanner/freshclam.conf[/url]


Wael
 
Re: Re: clamd is missing

Hello,

Even i could not found clamd "executable" file.
then i downloaded the rpm "clamd-0.88.2-1.el4.rf.i386.rpm" and install in the server. which creates both files clamd and clamd.conf.

but i have a this problem at the moment here:-
==================================
Test MTA
*********************************
Stop the MailScanner process if it's running and restart the exim processes

# service MailScanner stop
# service exim restart

Try to send an email to an account that the exim is handling. When the email arrives it should be placed in the
directory. If it doesn't then the exim incoming process isn't working properly.

===================================

When i tried to send email it won't come to var/spool/exim.in/input instead its went to var/spool/exim/input.

do i have something wrong in configuration... but i am sure have done things step by step..

regards
Saeed

@how@ said:
you need conf file
Code:
cd /etc/ ; wget [url]http://www.web4host.net/tools/MailScanner/clamd.conf[/url] ; wget [url]http://www.web4host.net/tools/MailScanner/freshclam.conf[/url]


Wael
 
I'm getting this:

2006-06-25 08:22:46 1FuO15-0003hZ-I6 == [email protected] R=virtual_user T=virtual_localdelivery defer (13): Permission denied: stat() error for /home/admin/imap/testing.nl/support/Maildir: Permission denied
2006-06-25 08:23:46 1FuO1y-0003i3-W1 => dhotjai <[email protected]> F=<[email protected]> R=virtual_user T=virtual_localdelivery S=1819
2006-06-25 08:23:46 1FuO1y-0003i3-W1 Completed
2006-06-25 08:23:48 1FuO26-0003i3-1x == [email protected] R=virtual_user T=virtual_localdelivery defer (13): Permission denied: stat() error for /home/admin/imap/testing.nl/info/Maildir: Permission denied
 
Tried dovecot, now this

Starting dovecot: Fatal: listen(143) failed: Address already in use
[FAILED]

//edit

I think i fixed it,
1. restarted xinetd
2. restarted dovecot
3. restarted mailscanner

All is working properly now i think :)
 
Last edited:
DhoTjai said:
Tried dovecot, now this



//edit

I think i fixed it,
1. restarted xinetd
2. restarted dovecot
3. restarted mailscanner

All is working properly now i think :)
Code:
cd /usr/local/directadmin/customapache
rm -fr build
wget http://files.directadmin.com/services/customapache/build
chmod 755 build
./build update
./build clean
./build update_dovecot
./build dovecot
./build todovecot
patch -p0 < exim.conf.dovecot.patch
echo "action=delete&value=mbox" >> /usr/local/directadmin/data/task.queue
service dovecot restart
 
DhoTjai said:
Then I get
. . .
What do you get when you try this:

$ telnet localhost 25p/b]

???

(You do NOT type the $ sign; it's there to let you know you don't have to be root to execute this command.)

Jeff
 
Back
Top