Yahoo Groups archive

Milter-greylist

Index last updated: 2026-04-13 23:57 UTC

Thread

milter-greylist 4.5.13 is available

milter-greylist 4.5.13 is available

2015-06-17 by manu@...

Here is milter-greylist 4.5.13, out latest develomement snapshot:
https://ftp.espci.fr/pub/milter-greylist/milter-greylist-4.5.13.tgz
MD5 (milter-greylist-4.5.13.tgz) = edf6c3b070982c60f8443bfdffa94e3c

Changes since 4.5.12:
        Accept format strings in helo acl and compare without case (Jim Klimov)
        Improve configure ability to run with -Werror (Jim Klimov)
        Overcome select(2) file descriptor limit (Attila Bruncsak)
        Support glob(7) pattern matching for properties

NB: we droped select(2) for poll(2) in MX sync. Please raise your voice if it
causes regressions.

-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu@...

RE: [milter-greylist] milter-greylist 4.5.13 is available

2015-06-17 by Bruncsak, Attila

>         Support glob(7) pattern matching for properties
> 

I got:

cc -g -I/usr/local/src/sendmail/libmilter/include -DUSE_SPAMD -DHAVE_DATA_CALLBACK -pthread -D_XOPEN_SOURCE=500 -D_OSF_SOURCE -DCONFFILE=\"/etc/mail/greylist.conf\" -DDUMPFILE=\"/var/milter-greylist/greylist.db\" -D_BSD_SOURCE -I. -I.  -c prop.c
cc: Error: prop.c, line 200: In this statement, "FNM_CASEFOLD" is not declared. (undeclared)
		if (fnmatch(up->up_value, string, FNM_CASEFOLD) == 0) {
--------------------------------------------------^
*** Exit 1
Stop.

From "man fnmatch" on Linux:

CONFORMING TO
       POSIX.2.  The FNM_FILE_NAME, FNM_LEADING_DIR, and FNM_CASEFOLD flags are GNU extensions.

Is everybody having that GNU extension (including BSD),
only my old Tru64 UNIX misses it?

RE: [milter-greylist] milter-greylist 4.5.13 is available

2015-06-17 by Bruncsak, Attila

> NB: we droped select(2) for poll(2) in MX sync. Please raise your voice if it
> causes regressions.
> 

I got:

gcc -g -O2 -Wall -I/usr/local/src/sendmail/libmilter/include -I/usr/local/src/spf/libspf2/include -DUSE_SPAMD -DHAVE_DATA_CALLBACK -DCONFFILE=\"/etc/mail/greylist.conf\" -DDUMPFILE=\"/var/milter-greylist/greylist.db\" -D_BSD_SOURCE -I. -I.    -c -o sync.o sync.c
sync.c: In function 'sync_waitdata':
sync.c:1325: error: 'INFTIM' undeclared (first use in this function)
sync.c:1325: error: (Each undeclared identifier is reported only once
sync.c:1325: error: for each function it appears in.)
make: *** [sync.o] Error 1

From the man page of poll on Linux:

NOTES
       Some implementations define the non-standard constant INFTIM with the value -1 for use as a timeout.  This con-
       stant is not provided in glibc.

RE: [milter-greylist] milter-greylist 4.5.13 is available

2015-06-17 by Stefan Gatterbauer

same problem on Fedora 8 64 bit :

gcc -g -O2 -Wall -I/usr/local/libspf2/include -DHAVE_DATA_CALLBACK  
-DCONFFILE=\"/usr/local/etc/mail/greylist.conf\"  
-DDUMPFILE=\"/usr/local/var/milter-greylist/greylist.db\"  
-D_BSD_SOURCE -I. -I.    -c -o prop.o prop.c
prop.c: In function 'prop_glob_validate':
prop.c:200: error: 'FNM_CASEFOLD' undeclared (first use in this function)

and there is also an error before regarding undeclared INFTIM :
gcc -g -O2 -Wall -I/usr/local/libspf2/include -DHAVE_DATA_CALLBACK  
-DCONFFILE=\"/usr/local/etc/mail/greylist.conf\"  
-DDUMPFILE=\"/usr/local/var/milter-greylist/greylist.db\"  
-D_BSD_SOURCE -I. -I.    -c -o sync.o sync.c
sync.c: In function 'sync_waitdata':
sync.c:1325: error: 'INFTIM' undeclared (first use in this function)



Once upon a time (Wed, 17 Jun 2015 10:48:30 +0000), "'Bruncsak,  
Attila' attila.bruncsak@... [milter-greylist]"  
<milter-greylist@yahoogroups.com> wrote :

>>         Support glob(7) pattern matching for properties
>>
>
> I got:
>
> cc -g -I/usr/local/src/sendmail/libmilter/include -DUSE_SPAMD  
> -DHAVE_DATA_CALLBACK -pthread -D_XOPEN_SOURCE=500 -D_OSF_SOURCE  
> -DCONFFILE=\"/etc/mail/greylist.conf\"  
> -DDUMPFILE=\"/var/milter-greylist/greylist.db\" -D_BSD_SOURCE -I.  
> -I.  -c prop.c
> cc: Error: prop.c, line 200: In this statement, "FNM_CASEFOLD" is  
> not declared. (undeclared)
> 		if (fnmatch(up->up_value, string, FNM_CASEFOLD) == 0) {
> --------------------------------------------------^
> *** Exit 1
> Stop.
>
> From "man fnmatch" on Linux:
>
> CONFORMING TO
>        POSIX.2.  The FNM_FILE_NAME, FNM_LEADING_DIR, and  
> FNM_CASEFOLD flags are GNU extensions.
>
> Is everybody having that GNU extension (including BSD),
> only my old Tru64 UNIX misses it?
>



----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

RE: [milter-greylist] milter-greylist 4.5.13 is available

2015-06-17 by Bruncsak, Attila

> 
> From the man page of poll on Linux:
> 
> NOTES
>        Some implementations define the non-standard constant INFTIM with the value -1 for use as a timeout.  This con-
>        stant is not provided in glibc.
> 

This is just a side note. The name INFTIM is very selfish.
It declares himself in a global context. There might be other time related calls,
where the "infinite time" has different value.
Therefore it would be more appropriate if the name of that constant would be
POLLINFTIM instead of INFTIM, like other standard names do: POLLIN, POLLPRI,
POLLHUP, etc...

Re: [milter-greylist] milter-greylist 4.5.13 is available

2015-06-17 by manu@...

'Bruncsak, Attila' attila.bruncsak@... [milter-greylist]
<milter-greylist@yahoogroups.com> wrote:

> Is everybody having that GNU extension (including BSD),
> only my old Tru64 UNIX misses it?

No problem, you will have 4.5.14 soon with appropriate ifdef

-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu@...

Re: [milter-greylist] milter-greylist 4.5.13 is available

2015-06-18 by Jim Klimov

Hi all,

Tested and got similar problems while building in Solaris 10:

:; make -k all

gcc -L/lib -L/usr/lib -L/usr/local/ssl/lib -L/usr/local/lib 
-L/usr/sfw/lib -L/opt/sfw/lib -I. -I.. -DMAXREPLYLEN=255  -Wall 
-I/usr/local/ssl/include -I/usr/local/include -DUSE_LDAP 
-DLDAP_DEPRECATED -I/usr/local/include -DUSE_CURL 
-I/home/jim/BuildNew/milter-greylist-buildzone/__installroot_i386_build-sol10-x86_8.13.8+Sun//opt/COSmail/include 
-DUSE_FD_POOL -DUSE_P0F -DHAVE_P0F3 -DHAVE_P0F306 
-I'/home/jim/BuildNew/milter-greylist-buildzone/_milter-greylist-git-jimbuild/p0f-3.08b' 
-DP0F_QUERY_FROM_P0F_DIST -DUSE_DNSRBL -DUSE_MX 
-DCONFFILE=\"/etc/mail/greylist.conf\" 
-DDUMPFILE=\"/var/milter-greylist/greylist.db\" -D_BSD_SOURCE -I. -I.. 
-c  ../sync.c
../sync.c: In function `sync_waitdata':
../sync.c:1325: error: `INFTIM' undeclared (first use in this function)
../sync.c:1325: error: (Each undeclared identifier is reported only once
../sync.c:1325: error: for each function it appears in.)
*** Error code 1

gcc -L/lib -L/usr/lib -L/usr/local/ssl/lib -L/usr/local/lib 
-L/usr/sfw/lib -L/opt/sfw/lib -I. -I.. -DMAXREPLYLEN=255  -Wall 
-I/usr/local/ssl/include -I/usr/local/include -DUSE_LDAP 
-DLDAP_DEPRECATED -I/usr/local/include -DUSE_CURL 
-I/home/jim/BuildNew/milter-greylist-buildzone/__installroot_i386_build-sol10-x86_8.13.8+Sun//opt/COSmail/include 
-DUSE_FD_POOL -DUSE_P0F -DHAVE_P0F3 -DHAVE_P0F306 
-I'/home/jim/BuildNew/milter-greylist-buildzone/_milter-greylist-git-jimbuild/p0f-3.08b' 
-DP0F_QUERY_FROM_P0F_DIST -DUSE_DNSRBL -DUSE_MX 
-DCONFFILE=\"/etc/mail/greylist.conf\" 
-DDUMPFILE=\"/var/milter-greylist/greylist.db\" -D_BSD_SOURCE -I. -I.. 
-c  ../prop.c
../prop.c: In function `prop_glob_validate':
../prop.c:200: error: `FNM_CASEFOLD' undeclared (first use in this function)
../prop.c:200: error: (Each undeclared identifier is reported only once
../prop.c:200: error: for each function it appears in.)
*** Error code 1


So indeed, a few ifdef's are due ;)

Thanks,
Jim Klimov


On 2015-06-17 13:47, 'Bruncsak, Attila' attila.bruncsak@... 
[milter-greylist] wrote:
Show quoted textHide quoted text
>  > NB: we droped select(2) for poll(2) in MX sync. Please raise your
> voice if it
>  > causes regressions.
>  >
>
> I got:
>
> gcc -g -O2 -Wall -I/usr/local/src/sendmail/libmilter/include
> -I/usr/local/src/spf/libspf2/include -DUSE_SPAMD -DHAVE_DATA_CALLBACK
> -DCONFFILE=\"/etc/mail/greylist.conf\"
> -DDUMPFILE=\"/var/milter-greylist/greylist.db\" -D_BSD_SOURCE -I. -I. -c
> -o sync.o sync.c
> sync.c: In function 'sync_waitdata':
> sync.c:1325: error: 'INFTIM' undeclared (first use in this function)
> sync.c:1325: error: (Each undeclared identifier is reported only once
> sync.c:1325: error: for each function it appears in.)
> make: *** [sync.o] Error 1
>
>  From the man page of poll on Linux:
>
> NOTES
> Some implementations define the non-standard constant INFTIM with the
> value -1 for use as a timeout. This con-
> stant is not provided in glibc.
>
> 
> ------------------------------------------------------------------------
> Posted by: "Bruncsak, Attila" <attila.bruncsak@...>
> ------------------------------------------------------------------------

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.