On Tue, 2005-06-21 at 18:26 -0700, Ed Kasky wrote:
> At 01:43 PM Tuesday, 6/21/2005, you wrote -=>
> 
> >>Since sendmail 8.13.3 was released 1/12/2005, and your mfapi.h files date 
> >>shows
> >>Aug 20 2004, its probably from a previous (older) version of sendmail.
> >>
> >>Get the latest/greatest sendmail and install it and libmilter.
> >mfapi.h is dated Aug 20 2004 for both the 8.13.3 and 8.13.4 versions of 
> >sendmail, 8.13.4 being the latest non-alpha/beta.  But if that works, PLMK!
> >
> >I too get this when trying to compile clamAV from CVS (.86rc1) with 
> >Sendmail 8.13.3 & libmilter installed of course.
> 
> In fact, the libmilter folders are identical in both versions:
> 
> # ls -al sendmail-8.13.3/include/libmilter/
> total 16
> drwxr-xr-x    2 1037     root         4096 Jun 21 11:57 .
> drwxr-xr-x    6 1037     root         4096 Jan 11 20:36 ..
> -rw-r--r--    1 1037     root        13830 Aug 20  2004 mfapi.h
> -rw-r--r--    1 1037     root         3725 Jul  7  2004 mfdef.h
> -rw-r--r--    1 1037     root         1447 Dec  1  2003 milter.h
> 
> # ls -al sendmail-8.13.4/include/libmilter/
> total 16
> drwxr-xr-x    2 1037     root         4096 Jun 21 11:57 .
> drwxr-xr-x    6 1037     root         4096 Jan 11 20:36 ..
> -rw-r--r--    1 1037     root        13830 Aug 20  2004 mfapi.h
> -rw-r--r--    1 1037     root         3725 Jul  7  2004 mfdef.h
> -rw-r--r--    1 1037     root         1447 Dec  1  2003 milter.h
> 
> But, I'm game so I built a new sendmail from src and then clamav 0.86.  I 
> am happy to report that it worked!
> 
> I may be a little thick here, but I still fail to understand why 0.85.1 
> will compile with sendmail 8.13.3 but 0.86 will not...
> 
The "problem" is in clamav-milter/clamav-milter.c , line 1576


#if     ((SENDMAIL_VERSION_A > 8) || ((SENDMAIL_VERSION_A == 8) &&
(SENDMAIL_VERSION_B >= 13)))
        if(smfi_opensocket(1) == MI_FAILURE) {
                cli_errmsg("Can't open/create %s\n", port);
                return EX_CONFIG;
        }
#endif


If you comment these, clamav will compile.


> Ed
> 
> . . . . . . . . . . . . . . . . . .
> Randomly Generated Quote (132 of 978):
> "Let no one come to you without leaving better and happier."
>          - Mother Teresa
> 
> _______________________________________________
> http://lurker.clamav.net/list/clamav-users.html
-- 
nizar <[EMAIL PROTECTED]>

_______________________________________________
http://lurker.clamav.net/list/clamav-users.html

Reply via email to