Thanks!! I can see the changes in sendmail.cf now! But a new problem as occur :P
I have added to sendmail.mc: define(_FFR_MILTER)dnl INPUT_MAIL_FILTER(`clamav', `S=local:/var/run/clmilter.sock, F=,T=S:4m;R:4m')dnl define(`confINPUT_MAIL_FILTERS', `clamav')dn
I use /var/run/clmilter.sock because I am running clamav-milter like this: clamav-milter -DloHNP /var/run/clmilter.sock
Now I see the changes wen I run m4 sendmail.mc > sendmail.cf, sendmail.cf: [...] # Input mail filters O InputMailFilters=clamav
# Milter options
O Milter.macros.connect=j, _, {daemon_name}, {if_name}, {if_addr}
O Milter.macros.helo={tls_version}, {cipher}, {cipher_bits}, {cert_subject}, {cert_issuer}
O Milter.macros.envfrom=i, {auth_type}, {auth_authen}, {auth_ssf}, {auth_author}, {mail_mailer}, {mail_host}, {mail_addr}
O Milter.macros.envrcpt={rcpt_mailer}, {rcpt_host}, {rcpt_addr}
[...]
##### MAIL FILTER DEFINITIONS
Xclamav, S=local:/var/run/clmilter.sock,
F=,T=S:4m;R:4m
#^L
[...]
Wen I restart sendmail I get:
Starting sendmail: 554 5.0.0 /etc/sendmail.cf: line 1353: Xclamav: `=' expected
451 4.0.0 /etc/sendmail.cf: line 1354: fileclass: cannot open ',T=S:4m;R:4m': No such file or directory
451 4.0.0 InputFilter clamav not defined: No such file or directory
[FAILED]
How can I fix this? Any ideas??
Thanks in advanced! Best Regards! Matías.
Roberto Espinosa wrote:
Hi>>
I test adding the followings lines to sendmail.mc
define(_FFR_MILTER)dnl INPUT_MAIL_FILTER(`clamav', `S=local:/var/clamav/clamav.sock, F=,T=S:4m;R:4m')dnl define(`confINPUT_MAIL_FILTERS', `clamav')dnl
Now see the changes in sendmail.cf
Roberto
----- Original Message ----- From: "Matias Lopez Bergero" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, May 04, 2004 4:25 PM
Subject: [Clamav-users] Re: clamav-milter doesn't "see" virus on emails?
(help!)
I think that I have found the problem. Wen I regenerate the sendmail.cf the file laks of the filter options. I am doing this with the following command: m4 sendmail.mc > sendmail.cf It creates the file, but can't find anything about filters, milter, clamav or something like that.
I hav add the following lines in sendmail.mc: INPUT_MAIL_FILTER(`clamav', `S=local:/var/run/clamav.sock, F=, T=S:4m;R:4m')dnl define(`confINPUT_MAIL_FILTERS', `clamav')
-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users