Hello list !

Quite new to clamav and sendmail in the same time, I ran into the following 
problem:

Using a Mandrake 9.1 
Sendmail 8-12-10
clamav 0.60

I add 

APPENDDEF(`conf_sendmail_ENVDEF', `-DMILTER')
to the {sendmail}/devtools/Site/site.config.m4

Then sh Build  and sh Build install.
I created the following sendmail.mc : 

VERSIONID(`$Id: mail.mc,v 8.18 1999/02/07 07:26:04 gshapiro Exp $')
OSTYPE(linux)dnl
MASQUERADE_AS(adomain.net)dnl
MAILER(local)dnl
MAILER(smtp)dnl

INPUT_MAIL_FILTER(`clamav',`S=local:/var/run/clamav.sock,F=, T=S:4m;R:4m')dnl
define(`confINPUT_MAIL_FILTERS', `clamav')

(Before that I managed to run sendmail with a simple sendmail.mc file -without 
the milters lines-, it worked)

For Clamav, 
I created the user, group and compile with the --enable-milter option.
(Actually I followed exactly the clamav-milter doc)

I start clamav and sendmail as follow : 

/usr/local/sbin/clamd > /var/log/clamdlog.log 2>&1

/usr/local/sbin/clamav-milter -blo local:/var/run/clamav.sock > 
/var/log/clamav_milter.log 2>&1

sendmail -bd -q30m

(I also set Uers root in clamav.conf to avoid a bind() error ( I will check 
the permissions later)

BUT !

When I telnet on the port 25 and try to sent a test mail, I always receive 
this message when trying to enter the MAIL FROM: 

451 4.7.1 Please try again later

Hereunder find some excerpt of different log files.
If you have any hint/solution/links(I searched a lot though)/... Please Tell 
me !!!

All the Best 
Jerome.

clamd.log
------------


Wed Oct 15 17:35:57 2003 -> +++ Started at Wed Oct 15 17:35:57 2003
Wed Oct 15 17:35:57 2003 -> Log file size limited to 20971520 bytes.
Wed Oct 15 17:35:57 2003 -> Verbose logging activated.
Wed Oct 15 17:35:57 2003 -> Running as user root (UID 0, GID 0)
Wed Oct 15 17:35:57 2003 -> Reading databases from /usr/local/share/clamav
Wed Oct 15 17:35:57 2003 -> Protecting against 7846 viruses.
Wed Oct 15 17:35:57 2003 -> Unix socket file /var/run/clamav.sock
Wed Oct 15 17:35:57 2003 -> Setting connection queue length to 30
Wed Oct 15 17:35:57 2003 -> Listening daemon: PID: 26687
Wed Oct 15 17:35:57 2003 -> Maximal number of threads: 10
Wed Oct 15 17:35:57 2003 -> Archive: Archived file size limit set to 104857600 
bytes.
Wed Oct 15 17:35:57 2003 -> Archive: Recursion level limit set to 50.
Wed Oct 15 17:35:57 2003 -> Archive: Files limit set to 1000.
Wed Oct 15 17:35:57 2003 -> Archive support enabled.
Wed Oct 15 17:35:57 2003 -> Mail files support enabled.
Wed Oct 15 17:35:57 2003 -> ThreadWatcher: Started in process 26692
Wed Oct 15 17:35:57 2003 -> Self checking every 3600 seconds.
Wed Oct 15 17:35:57 2003 -> Timeout set to 500 seconds.
Wed Oct 15 17:35:57 2003 -> SelfCheck: Database status OK.
Wed Oct 15 17:35:57 2003 -> SelfCheck: Integrity OK


---------------------------------------------------------
/var/log/clamdlog.log EMPTY

----------------------------------------------------------

/var/log/clamav_milter.log
-------------------------------

recv: Connection reset by peer

----------------------------------------------------------
/var/log/messages
----------------------

Oct 15 17:35:15 nextenso clamav-milter: ClamAv: mi_stop=1

----------------------------------------------------------
/var/log/mail/warnings
-------------------------

Oct 15 17:36:00 nextenso sendmail[26697]: daemon invoked without full 
pathname; kill -1 won't work

----------------------------------------------------------
/var/log/mail/errors EMPTY
----------------------------------------------------------
/var/log/mail/infos
----------------------

Oct 15 17:36:00 nextenso sendmail[26698]: starting daemon (8.12.10): 
[EMAIL PROTECTED]:30:00
Oct 15 17:39:59 nextenso sendmail[26700]: h9FLdW5k026700: Milter: 
[EMAIL PROTECTED], reject=451 4.7.1 Please try again later
Oct 15 17:45:53 nextenso sendmail[26715]: h9FLge5k026715: 
[EMAIL PROTECTED], size=0, class=0, nrcpts=0, proto=SMTP, daemon=MTA, 
relay=js.nexantis.net [10.0
.1.196]







-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to