Re: [Clamav-users] problems using sendmail with clamav on rh7.3
Raul Elizondo wrote: This wont do. Get a newer sendmail or compile one your self from www.sendmail.org Usualy if you do the latter it is a drop in replacement. i didnt get it, you mean this version of sendmail wont work? it is working right now with the changes i did in my last email, it is detectig/blocking viruses regards, -=Raul=- This means that the sendmail you are using is 3 years old, assuming it has been security patched by RH. There were real milter improvements in 8.12 (among much else), including making it a supported feature, instead of a _FFR --- 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
RE: [Clamav-users] problems using sendmail with clamav on rh7.3
> This wont do. Get a newer sendmail or compile one your self from > www.sendmail.org > > Usualy if you do the latter it is a drop in replacement. i didnt get it, you mean this version of sendmail wont work? it is working right now with the changes i did in my last email, it is detectig/blocking viruses regards, -=Raul=- --- 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
Re: [Clamav-users] problems using sendmail with clamav on rh7.3
Raul Elizondo wrote: Run m4? make -C /etc/mail should compile the .m4 file into the .cf result. -- Steve sorry, but that does not make sense, at least with RH7.3 Make sure that sendmail-cf is installed. -- Regards... Todd [EMAIL PROTECTED] mail]# rpm -qa | grep sendmail sendmail-cf-8.11.6-27.73 sendmail-8.11.6-27.73 sendmail-devel-8.11.6-27.73 <> This wont do. Get a newer sendmail or compile one your self from www.sendmail.org Usualy if you do the latter it is a drop in replacement. --- 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
RE: [Clamav-users] problems using sendmail with clamav on rh7.3
> Run m4? > > make -C /etc/mail > > should compile the .m4 file into the .cf result. > -- > Steve sorry, but that does not make sense, at least with RH7.3 > Make sure that sendmail-cf is installed. > -- > Regards...Todd [EMAIL PROTECTED] mail]# rpm -qa | grep sendmail sendmail-cf-8.11.6-27.73 sendmail-8.11.6-27.73 sendmail-devel-8.11.6-27.73 sendmail-doc-8.11.6-27.73 > Check to see if it has compiled into the binary: > > $ sendmail -d0 < /dev/null | grep MILTER > Compiled with: DNSMAP LOG MATCHGECOS MILTER MIME7TO8 MIME8TO7 [EMAIL PROTECTED] mail]# sendmail -d0 < /dev/null Version 8.11.6 Compiled with: LDAPMAP MAP_REGEX LOG MATCHGECOS MIME7TO8 MIME8TO7 NAMED_BIND NETINET NETINET6 NETUNIX NEWDB NIS QUEUE SASL SCANF SMTP TCPWRAPPERS USERDB Warning: Option: CACERTPath requires TLS support Warning: Option: CACERTFile requires TLS support Warning: Option: ServerCertFile requires TLS support Warning: Option: Serverkeyfile requires TLS support ... > add the followings lines to sendmail.mc and run again m4 > >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 > > Roberto Done that, didn't work in the way i was doing it. > Please enclose your sendmail.mc and the command you used to produce the > senmail.cf > > (typicaly you can use > m4 < sendmail.mc > sendmail.cf > > JM that was actually my problem, on RH8.0 and RH9, i actually can do "m4 sendmail.mc > sendmail.cf, that explain why i didnt see any of the changes i was doing or the changes Roberto mentioned. At least with RH7.3 distro, it has to be "m4 < sendmail.mc > ../sendmail.cf" Now it is working. Thanks guys! Regard, -=Raul=- --- 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
Fw: [Clamav-users] problems using sendmail with clamav on rh7.3
add the followings lines to sendmail.mc and run again m4 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 Roberto - Original Message - From: "Todd Lyons" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, May 04, 2004 5:32 PM Subject: Re: [Clamav-users] problems using sendmail with clamav on rh7.3 > Raul Elizondo wanted us to know: > > >Perhaps rh7.3 (sendmail 8.11.6) need someother command rather than > >INPUT_MAIL_FILTER and define? > > Make sure that sendmail-cf is installed. > -- > Regards... Todd > They that can give up essential liberty to obtain a little temporary > safety deserve neither liberty nor safety. --Benjamin Franklin > Linux kernel 2.6.3-8mdkenterprise 2 users, load average: 0.00, 0.02, 0.00 > > > --- > This SF.Net email is sponsored by: Oracle 10g > Get certified on the hottest thing ever to hit the market... Oracle 10g. > Take an Oracle 10g class now, and we'll give you the exam FREE. > http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click > ___ > Clamav-users mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/clamav-users > > > --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click ___ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users
Re: [Clamav-users] problems using sendmail with clamav on rh7.3
Raul Elizondo wanted us to know: >Perhaps rh7.3 (sendmail 8.11.6) need someother command rather than >INPUT_MAIL_FILTER and define? Make sure that sendmail-cf is installed. -- Regards... Todd They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety. --Benjamin Franklin Linux kernel 2.6.3-8mdkenterprise 2 users, load average: 0.00, 0.02, 0.00 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click ___ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users
[Clamav-users] problems using sendmail with clamav on rh7.3
add the followings lines to sendmail.mc and run again m4 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 Roberto - Original Message - From: "Steven Stern" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, May 04, 2004 2:22 PM Subject: Re: [Clamav-users] problems using sendmail with clamav on rh7.3 > On Tue, 4 May 2004 11:16:20 -0600, "Raul Elizondo" > <[EMAIL PROTECTED]> wrote: > > > >and when i run m4, this 2 lines does not even make any change in > >sendmail.cf. > > > > Run m4? > >make -C /etc/mail > > should compile the .m4 file into the .cf result. > -- >Steve > > > > --- > This SF.Net email is sponsored by: Oracle 10g > Get certified on the hottest thing ever to hit the market... Oracle 10g. > Take an Oracle 10g class now, and we'll give you the exam FREE. > http://ads.osdn.com/?ad_id149&alloc_id66&opÌk > ___ > Clamav-users mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/clamav-users > > > --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id149&alloc_id66&op=click ___ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users
Re: [Clamav-users] problems using sendmail with clamav on rh7.3
Check to see if it has compiled into the binary: $ sendmail -d0 < /dev/null | grep MILTER Compiled with: DNSMAP LOG MATCHGECOS MILTER MIME7TO8 MIME8TO7 At 10:16 AM Tuesday, 5/4/2004, Raul wrote -=> I finnally could compile it and it runs at least the tests, but now the problem comes when i try to add it in sendmail INPUT_MAIL_FILTER(`clamav', `S=local:/usr/local/clamav/clamav.sock, F=, T=S:4m;R:4m')dnl define(`confINPUT_MAIL_FILTERS', `clamav')dnl This worked for me on RH 7.2, Sendmail 8.12.11. Try it step by step: http://sial.org/howto/clamav/clamav-milter/ "Adding MILTER support to Sendmail usually involves adding the following entries to a site.config.m4 used to build Sendmail from source then rebuilding Sendmail. The second entry is disabled here by default for debugging, though can be enabled if clamav-milter is not running as the root user." APPENDDEF(`confENVDEF', `-DMILTER') dnl APPENDDEF(`conf_libmilter_ENVDEF', `-D_FFR_MILTER_ROOT_UNSAFE') Then add the following to the sendmail.mc and rebuild the cf: INPUT_MAIL_FILTER(`clamav', `S=local:/var/run/clamav/clmilter.sock, F=S, T=S:4m;R:4m;E:10m')dnl define(`confINPUT_MAIL_FILTERS', `clamav')dnl I tried to copy/paste these lines in a sendmail.cf from another running Never a good idea Ed . . . . . . . . An optimist is someone who hasn't learned all the facts yet. --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click ___ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users
Re: [Clamav-users] problems using sendmail with clamav on rh7.3
On Tue, 4 May 2004 11:16:20 -0600, "Raul Elizondo" <[EMAIL PROTECTED]> wrote: >and when i run m4, this 2 lines does not even make any change in >sendmail.cf. > Run m4? make -C /etc/mail should compile the .m4 file into the .cf result. -- Steve --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id149&alloc_id66&op=click ___ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users
Re: [Clamav-users] problems using sendmail with clamav on rh7.3
Raul Elizondo wrote: Hi agian, I finnally could compile it and it runs at least the tests, but now the problem comes when i try to add it in sendmail INPUT_MAIL_FILTER(`clamav', `S=local:/usr/local/clamav/clamav.sock, F=, T=S:4m;R:4m')dnl define(`confINPUT_MAIL_FILTERS', `clamav')dnl and when i run m4, this 2 lines does not even make any change in sendmail.cf. I tried to copy/paste these lines in a sendmail.cf from another running system (rh9) with clamav to see if at least i could have an idea, but i get errors regarding to a TSL path not found. Perhaps rh7.3 (sendmail 8.11.6) need someother command rather than INPUT_MAIL_FILTER and define? Regards, -=Raul=- Please enclose your sendmail.mc and the command you used to produce the senmail.cf (typicaly you can use m4 < sendmail.mc > sendmail.cf on a redhat system. Please sanity check the above before doing something you might regret) --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click ___ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users
[Clamav-users] problems using sendmail with clamav on rh7.3
Hi agian, I finnally could compile it and it runs at least the tests, but now the problem comes when i try to add it in sendmail INPUT_MAIL_FILTER(`clamav', `S=local:/usr/local/clamav/clamav.sock, F=, T=S:4m;R:4m')dnl define(`confINPUT_MAIL_FILTERS', `clamav')dnl and when i run m4, this 2 lines does not even make any change in sendmail.cf. I tried to copy/paste these lines in a sendmail.cf from another running system (rh9) with clamav to see if at least i could have an idea, but i get errors regarding to a TSL path not found. Perhaps rh7.3 (sendmail 8.11.6) need someother command rather than INPUT_MAIL_FILTER and define? Regards, -=Raul=- --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click ___ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users