Fixed!!
The space after the clmilter.sock, was wrong.
I write all the sentence in one line y regenerate the cf file and it's working!! :D
There is a tool to generate reports on clamav-milter activity like viruses blocked, type of virus found, etc??
Thanks a loot for the help!!
Best regards! Matías.
Matias Lopez Bergero wrote:
Hi Roberto,
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.
-------------------------------------------------------
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