Yahoo Groups archive

Milter-greylist

Index last updated: 2026-04-28 23:32 UTC

Thread

milter-greylist 4.6alpha1 is available

milter-greylist 4.6alpha1 is available

2016-01-18 by manu@...

Here is our first alpha for upcoming milter-greylsit 4.6

https://ftp.espci.fr/pub/milter-greylist/milter-greylist-4.6a1.tgz
MD5 (milter-greylist-4.6a1.tgz) = 75cbb240c801aec7f5a702b3ebea02b6

Changelog since milter-greylist 4.4:

4.6a1
        Support IPv6 DNSRBL (Kazuyuki YOSHIDA, Hajimu UMEMOTO)
4.5.16
        Reflect config syntax in addhheader logs (Steven Hiscocks)
        Honour daemon option in Redhat startup script (Attila Bruncsak)
        Fix crash in SPF code
4.5.15
        Use QueueId on Postfix (Steven Hiscocks)
        Only change socket ownership if it exists in filesystem
        Index option for the addheader clause (Steven Hiscocks)
        Add format strings for SPF and DKIM results (Steven Hiscocks)
        Update author list
4.5.14
        Build fixes
4.5.13
        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
4.5.12
        Prevent buffer overflow on IP address in DRAC code (David Binderman)
        Remove duplicate dkim check in configure (Jim Klimov)
        Let MX clause work if a MX has no DNS A record (Rudy Eschauzier)
        Fix build on CentOS (Mart Pirita)
4.5.11
        Use asynchronous LDAP calls to reduce lock contention on heavy load
4.5.10
        Fix msgcount miscomputation and crashes
4.5.9
        multiracl option to disable sticky whitelisting among recipients
4.5.8
        FreeBSD build fix (John Wood)
        Fix CRLF in multiline headers for DKIM (John Wood)
        Support OpenDKIM (John Wood)
        Build if PACKAGE_URL is not defined
        res_state Solaris build fix  (Attila Bruncsak) 
        Fix maxpeek usage for body matching clauses (Jean-Jacques Puig)
4.5.7
        Do not use strndup() for POSIX.1-2001 compatibility
4.5.6
        Fix bug that replaced first character of hostname by '['
        Do not force into lowercases properties set using the set clause
        Add %cA and %ca to report current ACL line number and id
        Increase format string maximum length to 4096
        Break long SMTP replies in mutiple lines
        Add configure --disable-parallel-make in case make -j is unsupported
4.5.5
        Documentation update
4.5.4
        Fix memory leak in log ACL clause
        Updated AUTHORS in man page
        Typos in man page, style (Jim Klimov)
        Numeric operator tests for property versus number
        Numeric operator tests for property versus property
4.5.3
        format string expanstion now honour %r everywhere possible
        unbracket option to resolved MTA-passed bracketed unresolved IP
        set ACL clause to set/increment/decrement properties
        log ACL clause to send formatted string to syslog
4.5.2
        Fix crash when chown socket without group
        Fix memory leak in nsupdate config reload
        Fix nsupdate servers option
        Build fixes (John Wood)
        Fix ACL bypass for second recipient when sender passed auth/tls/spf
        Parallel build (Jim Klimov)
        Configurable package information (Jim Klimov)
        More verbosity in SPF logs (Jim Klimov)
        Use localaddr for p0f and %V format string (Jim Klimov)
        Search . first for includes (Jim Klimov)
        Make unknown AF family non fatal in p0f, report errors once (Jim Klimov)
4.5.1
        DNS update support
        make clean clears milter-greylist.spec
        Use ZZ for unknown GeoIP country
        Add IPv6 support for MX sync (Hajimu UMEMOTO)
4.4.3
        More Solaris build fixes (Jim Klimov)
        Fix swapped %f and %r for stat example in default greylist.conf
        Support p0f v3.06 and up with --with-p0f-src or --enable-p0f306
4.4.2
        Solaris build fixes (Jim Klimov, Matthias Scheler)
4.4.1
        Make sure socket ownership will not cause sendmail to complain



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

Re: [milter-greylist] milter-greylist 4.6alpha1 is available

2016-01-18 by Christian Pélissier

4.6a1 compilation is OK with the following warning (Linux RHEL 6.7)



milter-greylist.c:3072: warning: dereferencing pointer 'addr.101' does
break strict-aliasing rules
milter-greylist.c:3072: warning: dereferencing pointer 'addr.101' does
break strict-aliasing rules
milter-greylist.c:2812: warning: 'last' may be used uninitialized in
this function
pending.c:212: warning: dereferencing type-punned pointer will break
strict-aliasing rules
pending.c:212: warning: dereferencing type-punned pointer will break
strict-aliasing rules
pending.c:212: warning: dereferencing type-punned pointer will break
strict-aliasing rules
pending.c:212: warning: dereferencing type-punned pointer will break
strict-aliasing rules
pending.c:212: warning: dereferencing type-punned pointer will break
strict-aliasing rules
pending.c:212: warning: dereferencing type-punned pointer will break
strict-aliasing rules
pending.c:241: warning: dereferencing type-punned pointer will break
strict-aliasing rules
pending.c:241: warning: dereferencing type-punned pointer will break
strict-aliasing rules
pending.c:305: warning: dereferencing type-punned pointer will break
strict-aliasing rules
pending.c:305: warning: dereferencing type-punned pointer will break
strict-aliasing rules
pending.c:370: warning: dereferencing type-punned pointer will break
strict-aliasing rules
pending.c:370: warning: dereferencing type-punned pointer will break
strict-aliasing rules
pending.c:516: warning: dereferencing type-punned pointer will break
strict-aliasing rules
pending.c:516: warning: dereferencing type-punned pointer will break
strict-aliasing rules
pending.c:582: warning: dereferencing type-punned pointer will break
strict-aliasing rules
pending.c:582: warning: dereferencing type-punned pointer will break
strict-aliasing rules
dnsrbl.c:232: warning: dereferencing pointer 'result.7' does break
strict-aliasing rules
dnsrbl.c:232: warning: dereferencing pointer 'result.7' does break
strict-aliasing rules
dkimcheck.c:173: warning: pointer targets in passing argument 2 of
'dkim_verify' differ in signedness
dkimcheck.c:181: warning: pointer targets in assignment differ in
signedness
dkimcheck.c:281: warning: comparison between pointer and integer
conf_lex.c:2906: warning: 'yyunput' defined but not used
conf_lex.c:2947: warning: 'input' defined but not used
dump_lex.c:1274: warning: 'yyunput' defined but not used
dump_lex.c:1315: warning: 'input' defined but not used



-- 
Christian P�lissier / 34419
ONERA DRI/RSC
BP72 92322 Chatillon CEDEX

Re: [milter-greylist] milter-greylist 4.6alpha1 is available

2016-01-18 by manu@...

Christian Pélissier Christian.Pelissier@... [milter-greylist]
<milter-greylist@yahoogroups.com> wrote:

> 4.6a1 compilation is OK with the following warning (Linux RHEL 6.7)

Feel free to send patches to fix that.

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

RE: [milter-greylist] milter-greylist 4.6alpha1 is available

2016-01-19 by Bruncsak, Attila

> > 4.6a1 compilation is OK with the following warning (Linux RHEL 6.7)
> 
> Feel free to send patches to fix that.
> 

At least the attached patch probably good for:

> milter-greylist.c:2812: warning: 'last' may be used uninitialized in this function

From the manual page of strtok_r():

"  In the initial call to strtok_r(), the *savept must be the null pointer. "

I went through all the code and checked to use of the strtok_r()
function in that respect. Please see the attached patches.

Best,
Attila

Attachments

Re: [milter-greylist] milter-greylist 4.6alpha1 is available

2016-01-22 by Bob Friesenhahn

On Mon, 18 Jan 2016, manu@... [milter-greylist] wrote:

> Christian P\ufffdlissier Christian.Pelissier@... [milter-greylist]
> <milter-greylist@yahoogroups.com> wrote:
>
>> 4.6a1 compilation is OK with the following warning (Linux RHEL 6.7)
>
> Feel free to send patches to fix that.

Without Attila's patches, I get the following warnings under OmniOS 
r151016 with GCC 5.1.  Most of the warnings seem different.

I configured with:

./configure '--prefix=/usr/local' '--sysconfdir=/etc' 
'--localstatedir=/var' '--with-libcurl=/usr' 
'--with-libspf2=/usr/local' '--enable-stdio-hack' '--enable-dnsrbl' 
'--with-user=smmsp' '--with-conffile=/etc/mail/greylist.conf' 
'--with-drac-db=/etc/mail/dracdb.db'


gcc -g -O2 -Wall -I/usr/include -DUSE_CURL -I/usr/local/include -DUSE_FD_POOL -DHAVE_DATA_CALLBACK -DUSE_DNSRBL -DCONFFILE=\"/etc/mail/greylist.conf\" -DDUMPFILE=\"/var/milter-greylist/greylist.db\" -DDRACDB=\"/etc/mail/dracdb.db\" -D_BSD_SOURCE -I. -I.    -c -o milter-greylist.o milter-greylist.c
milter-greylist.c: In function 'prefix2mask6':
milter-greylist.c:2367:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
     *(uint32_t *)&mask->s6_addr[i] = htonl(m);
     ^
In file included from dump.h:67:0,
                  from milter-greylist.c:83:
milter-greylist.c: In function 'unmappedaddr':
milter-greylist.h:96:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  #define SA6(sa)  ((struct sockaddr_in6 *)(sa))
                            ^
milter-greylist.h:97:22: note: in expansion of macro 'SA6'
  #define SADDR6(sa) (&SA6(sa)->sin6_addr)
                       ^
milter-greylist.c:2390:31: note: in expansion of macro 'SADDR6'
   addr4.s_addr = *(uint32_t *)&SADDR6(sa)->s6_addr[12];
                                ^
milter-greylist.c: In function 'fstring_expand':
milter-greylist.c:3087:6: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
       &= *(uint32_t *)&mask.in6.s6_addr[i];
       ^
milter-greylist.c:3087:6: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
gcc -g -O2 -Wall -I/usr/include -DUSE_CURL -I/usr/local/include -DUSE_FD_POOL -DHAVE_DATA_CALLBACK -DUSE_DNSRBL -DCONFFILE=\"/etc/mail/greylist.conf\" -DDUMPFILE=\"/var/milter-greylist/greylist.db\" -DDRACDB=\"/etc/mail/dracdb.db\" -D_BSD_SOURCE -I. -I.    -c -o pending.o pending.c
In file included from pending.c:44:0:
pending.c: In function 'pending_get':
milter-greylist.h:96:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  #define SA6(sa)  ((struct sockaddr_in6 *)(sa))
                            ^
milter-greylist.h:119:11: note: in expansion of macro 'IN6CAST32'
    ((ntohl(IN6CAST32(v6a)[0] & IN6CAST32(v6m)[0]) ^  \
            ^
milter-greylist.h:132:4: note: in expansion of macro 'BUCKET_HASH_V6'
     BUCKET_HASH_V6(SADDR6(sa),     \
     ^
milter-greylist.h:97:22: note: in expansion of macro 'SA6'
  #define SADDR6(sa) (&SA6(sa)->sin6_addr)
                       ^
milter-greylist.h:132:19: note: in expansion of macro 'SADDR6'
     BUCKET_HASH_V6(SADDR6(sa),     \
                    ^
pending.c:212:37: note: in expansion of macro 'BUCKET_HASH'
   TAILQ_INSERT_TAIL(&pending_buckets[BUCKET_HASH(pending->p_sa,
                                      ^
conf.h:159:29: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  #define GET_CONF() ((struct conf_rec *)pthread_getspecific(conf_key))
                              ^
milter-greylist.h:119:31: note: in expansion of macro 'IN6CAST32'
    ((ntohl(IN6CAST32(v6a)[0] & IN6CAST32(v6m)[0]) ^  \
                                ^
milter-greylist.h:132:4: note: in expansion of macro 'BUCKET_HASH_V6'
     BUCKET_HASH_V6(SADDR6(sa),     \
     ^
conf.h:160:16: note: in expansion of macro 'GET_CONF'
  #define conf (*GET_CONF())
                 ^
milter-greylist.h:133:6: note: in expansion of macro 'conf'
      &conf.c_match_mask6,     \
       ^
pending.c:212:37: note: in expansion of macro 'BUCKET_HASH'
   TAILQ_INSERT_TAIL(&pending_buckets[BUCKET_HASH(pending->p_sa,
                                      ^
milter-greylist.h:96:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  #define SA6(sa)  ((struct sockaddr_in6 *)(sa))
                            ^
milter-greylist.h:119:11: note: in expansion of macro 'IN6CAST32'
    ((ntohl(IN6CAST32(v6a)[0] & IN6CAST32(v6m)[0]) ^  \
            ^
milter-greylist.h:132:4: note: in expansion of macro 'BUCKET_HASH_V6'
     BUCKET_HASH_V6(SADDR6(sa),     \
     ^
milter-greylist.h:97:22: note: in expansion of macro 'SA6'
  #define SADDR6(sa) (&SA6(sa)->sin6_addr)
                       ^
milter-greylist.h:132:19: note: in expansion of macro 'SADDR6'
     BUCKET_HASH_V6(SADDR6(sa),     \
                    ^
pending.c:212:37: note: in expansion of macro 'BUCKET_HASH'
   TAILQ_INSERT_TAIL(&pending_buckets[BUCKET_HASH(pending->p_sa,
                                      ^
conf.h:159:29: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  #define GET_CONF() ((struct conf_rec *)pthread_getspecific(conf_key))
                              ^
milter-greylist.h:119:31: note: in expansion of macro 'IN6CAST32'
    ((ntohl(IN6CAST32(v6a)[0] & IN6CAST32(v6m)[0]) ^  \
                                ^
milter-greylist.h:132:4: note: in expansion of macro 'BUCKET_HASH_V6'
     BUCKET_HASH_V6(SADDR6(sa),     \
     ^
conf.h:160:16: note: in expansion of macro 'GET_CONF'
  #define conf (*GET_CONF())
                 ^
milter-greylist.h:133:6: note: in expansion of macro 'conf'
      &conf.c_match_mask6,     \
       ^
pending.c:212:37: note: in expansion of macro 'BUCKET_HASH'
   TAILQ_INSERT_TAIL(&pending_buckets[BUCKET_HASH(pending->p_sa,
                                      ^
milter-greylist.h:96:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  #define SA6(sa)  ((struct sockaddr_in6 *)(sa))
                            ^
milter-greylist.h:119:11: note: in expansion of macro 'IN6CAST32'
    ((ntohl(IN6CAST32(v6a)[0] & IN6CAST32(v6m)[0]) ^  \
            ^
milter-greylist.h:132:4: note: in expansion of macro 'BUCKET_HASH_V6'
     BUCKET_HASH_V6(SADDR6(sa),     \
     ^
milter-greylist.h:97:22: note: in expansion of macro 'SA6'
  #define SADDR6(sa) (&SA6(sa)->sin6_addr)
                       ^
milter-greylist.h:132:19: note: in expansion of macro 'SADDR6'
     BUCKET_HASH_V6(SADDR6(sa),     \
                    ^
pending.c:212:37: note: in expansion of macro 'BUCKET_HASH'
   TAILQ_INSERT_TAIL(&pending_buckets[BUCKET_HASH(pending->p_sa,
                                      ^
conf.h:159:29: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  #define GET_CONF() ((struct conf_rec *)pthread_getspecific(conf_key))
                              ^
milter-greylist.h:119:31: note: in expansion of macro 'IN6CAST32'
    ((ntohl(IN6CAST32(v6a)[0] & IN6CAST32(v6m)[0]) ^  \
                                ^
milter-greylist.h:132:4: note: in expansion of macro 'BUCKET_HASH_V6'
     BUCKET_HASH_V6(SADDR6(sa),     \
     ^
conf.h:160:16: note: in expansion of macro 'GET_CONF'
  #define conf (*GET_CONF())
                 ^
milter-greylist.h:133:6: note: in expansion of macro 'conf'
      &conf.c_match_mask6,     \
       ^
pending.c:212:37: note: in expansion of macro 'BUCKET_HASH'
   TAILQ_INSERT_TAIL(&pending_buckets[BUCKET_HASH(pending->p_sa,
                                      ^
pending.c: In function 'pending_rem':
milter-greylist.h:96:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  #define SA6(sa)  ((struct sockaddr_in6 *)(sa))
                            ^
milter-greylist.h:119:11: note: in expansion of macro 'IN6CAST32'
    ((ntohl(IN6CAST32(v6a)[0] & IN6CAST32(v6m)[0]) ^  \
            ^
milter-greylist.h:132:4: note: in expansion of macro 'BUCKET_HASH_V6'
     BUCKET_HASH_V6(SADDR6(sa),     \
     ^
milter-greylist.h:97:22: note: in expansion of macro 'SA6'
  #define SADDR6(sa) (&SA6(sa)->sin6_addr)
                       ^
milter-greylist.h:132:19: note: in expansion of macro 'SADDR6'
     BUCKET_HASH_V6(SADDR6(sa),     \
                    ^
pending.c:241:32: note: in expansion of macro 'BUCKET_HASH'
   TAILQ_REMOVE(&pending_buckets[BUCKET_HASH(pending->p_sa,
                                 ^
conf.h:159:29: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  #define GET_CONF() ((struct conf_rec *)pthread_getspecific(conf_key))
                              ^
milter-greylist.h:119:31: note: in expansion of macro 'IN6CAST32'
    ((ntohl(IN6CAST32(v6a)[0] & IN6CAST32(v6m)[0]) ^  \
                                ^
milter-greylist.h:132:4: note: in expansion of macro 'BUCKET_HASH_V6'
     BUCKET_HASH_V6(SADDR6(sa),     \
     ^
conf.h:160:16: note: in expansion of macro 'GET_CONF'
  #define conf (*GET_CONF())
                 ^
milter-greylist.h:133:6: note: in expansion of macro 'conf'
      &conf.c_match_mask6,     \
       ^
pending.c:241:32: note: in expansion of macro 'BUCKET_HASH'
   TAILQ_REMOVE(&pending_buckets[BUCKET_HASH(pending->p_sa,
                                 ^
In file included from pending.h:69:0,
                  from sync.h:36,
                  from pending.c:66:
pending.c: In function 'pending_del':
milter-greylist.h:96:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  #define SA6(sa)  ((struct sockaddr_in6 *)(sa))
                            ^
milter-greylist.h:116:39: note: in definition of macro 'IN6CAST32'
  #define IN6CAST32(_a) ((uint32_t *)(&(_a)->s6_addr))
                                        ^
milter-greylist.h:132:4: note: in expansion of macro 'BUCKET_HASH_V6'
     BUCKET_HASH_V6(SADDR6(sa),     \
     ^
milter-greylist.h:97:22: note: in expansion of macro 'SA6'
  #define SADDR6(sa) (&SA6(sa)->sin6_addr)
                       ^
milter-greylist.h:132:19: note: in expansion of macro 'SADDR6'
     BUCKET_HASH_V6(SADDR6(sa),     \
                    ^
pending.c:305:23: note: in expansion of macro 'BUCKET_HASH'
   b = &pending_buckets[BUCKET_HASH(sa, from, rcpt, PENDING_BUCKETS)];
                        ^
conf.h:159:29: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  #define GET_CONF() ((struct conf_rec *)pthread_getspecific(conf_key))
                              ^
milter-greylist.h:116:39: note: in definition of macro 'IN6CAST32'
  #define IN6CAST32(_a) ((uint32_t *)(&(_a)->s6_addr))
                                        ^
milter-greylist.h:132:4: note: in expansion of macro 'BUCKET_HASH_V6'
     BUCKET_HASH_V6(SADDR6(sa),     \
     ^
conf.h:160:16: note: in expansion of macro 'GET_CONF'
  #define conf (*GET_CONF())
                 ^
milter-greylist.h:133:6: note: in expansion of macro 'conf'
      &conf.c_match_mask6,     \
       ^
pending.c:305:23: note: in expansion of macro 'BUCKET_HASH'
   b = &pending_buckets[BUCKET_HASH(sa, from, rcpt, PENDING_BUCKETS)];
                        ^
pending.c: In function 'pending_check':
milter-greylist.h:96:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  #define SA6(sa)  ((struct sockaddr_in6 *)(sa))
                            ^
milter-greylist.h:116:39: note: in definition of macro 'IN6CAST32'
  #define IN6CAST32(_a) ((uint32_t *)(&(_a)->s6_addr))
                                        ^
milter-greylist.h:132:4: note: in expansion of macro 'BUCKET_HASH_V6'
     BUCKET_HASH_V6(SADDR6(sa),     \
     ^
milter-greylist.h:97:22: note: in expansion of macro 'SA6'
  #define SADDR6(sa) (&SA6(sa)->sin6_addr)
                       ^
milter-greylist.h:132:19: note: in expansion of macro 'SADDR6'
     BUCKET_HASH_V6(SADDR6(sa),     \
                    ^
pending.c:370:23: note: in expansion of macro 'BUCKET_HASH'
   b = &pending_buckets[BUCKET_HASH(sa, from, rcpt, PENDING_BUCKETS)];
                        ^
conf.h:159:29: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  #define GET_CONF() ((struct conf_rec *)pthread_getspecific(conf_key))
                              ^
milter-greylist.h:116:39: note: in definition of macro 'IN6CAST32'
  #define IN6CAST32(_a) ((uint32_t *)(&(_a)->s6_addr))
                                        ^
milter-greylist.h:132:4: note: in expansion of macro 'BUCKET_HASH_V6'
     BUCKET_HASH_V6(SADDR6(sa),     \
     ^
conf.h:160:16: note: in expansion of macro 'GET_CONF'
  #define conf (*GET_CONF())
                 ^
milter-greylist.h:133:6: note: in expansion of macro 'conf'
      &conf.c_match_mask6,     \
       ^
pending.c:370:23: note: in expansion of macro 'BUCKET_HASH'
   b = &pending_buckets[BUCKET_HASH(sa, from, rcpt, PENDING_BUCKETS)];
                        ^
pending.c: In function 'pending_tarpitted':
milter-greylist.h:96:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  #define SA6(sa)  ((struct sockaddr_in6 *)(sa))
                            ^
milter-greylist.h:116:39: note: in definition of macro 'IN6CAST32'
  #define IN6CAST32(_a) ((uint32_t *)(&(_a)->s6_addr))
                                        ^
milter-greylist.h:132:4: note: in expansion of macro 'BUCKET_HASH_V6'
     BUCKET_HASH_V6(SADDR6(sa),     \
     ^
milter-greylist.h:97:22: note: in expansion of macro 'SA6'
  #define SADDR6(sa) (&SA6(sa)->sin6_addr)
                       ^
milter-greylist.h:132:19: note: in expansion of macro 'SADDR6'
     BUCKET_HASH_V6(SADDR6(sa),     \
                    ^
pending.c:516:23: note: in expansion of macro 'BUCKET_HASH'
   b = &pending_buckets[BUCKET_HASH(sa, from, rcpt, PENDING_BUCKETS)];
                        ^
conf.h:159:29: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  #define GET_CONF() ((struct conf_rec *)pthread_getspecific(conf_key))
                              ^
milter-greylist.h:116:39: note: in definition of macro 'IN6CAST32'
  #define IN6CAST32(_a) ((uint32_t *)(&(_a)->s6_addr))
                                        ^
milter-greylist.h:132:4: note: in expansion of macro 'BUCKET_HASH_V6'
     BUCKET_HASH_V6(SADDR6(sa),     \
     ^
conf.h:160:16: note: in expansion of macro 'GET_CONF'
  #define conf (*GET_CONF())
                 ^
milter-greylist.h:133:6: note: in expansion of macro 'conf'
      &conf.c_match_mask6,     \
       ^
pending.c:516:23: note: in expansion of macro 'BUCKET_HASH'
   b = &pending_buckets[BUCKET_HASH(sa, from, rcpt, PENDING_BUCKETS)];
                        ^
pending.c:507:9: warning: variable 'now' set but not used [-Wunused-but-set-variable]
   time_t now;
          ^
In file included from pending.h:69:0,
                  from sync.h:36,
                  from pending.c:66:
pending.c: In function 'pending_update':
milter-greylist.h:96:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  #define SA6(sa)  ((struct sockaddr_in6 *)(sa))
                            ^
milter-greylist.h:116:39: note: in definition of macro 'IN6CAST32'
  #define IN6CAST32(_a) ((uint32_t *)(&(_a)->s6_addr))
                                        ^
milter-greylist.h:132:4: note: in expansion of macro 'BUCKET_HASH_V6'
     BUCKET_HASH_V6(SADDR6(sa),     \
     ^
milter-greylist.h:97:22: note: in expansion of macro 'SA6'
  #define SADDR6(sa) (&SA6(sa)->sin6_addr)
                       ^
milter-greylist.h:132:19: note: in expansion of macro 'SADDR6'
     BUCKET_HASH_V6(SADDR6(sa),     \
                    ^
pending.c:582:23: note: in expansion of macro 'BUCKET_HASH'
   b = &pending_buckets[BUCKET_HASH(sa, from, rcpt, PENDING_BUCKETS)];
                        ^
conf.h:159:29: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  #define GET_CONF() ((struct conf_rec *)pthread_getspecific(conf_key))
                              ^
milter-greylist.h:116:39: note: in definition of macro 'IN6CAST32'
  #define IN6CAST32(_a) ((uint32_t *)(&(_a)->s6_addr))
                                        ^
milter-greylist.h:132:4: note: in expansion of macro 'BUCKET_HASH_V6'
     BUCKET_HASH_V6(SADDR6(sa),     \
     ^
conf.h:160:16: note: in expansion of macro 'GET_CONF'
  #define conf (*GET_CONF())
                 ^
milter-greylist.h:133:6: note: in expansion of macro 'conf'
      &conf.c_match_mask6,     \
       ^
pending.c:582:23: note: in expansion of macro 'BUCKET_HASH'
   b = &pending_buckets[BUCKET_HASH(sa, from, rcpt, PENDING_BUCKETS)];
                        ^
pending.c: In function 'ip_match':
milter-greylist.h:96:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  #define SA6(sa)  ((struct sockaddr_in6 *)(sa))
                            ^
milter-greylist.h:97:22: note: in expansion of macro 'SA6'
  #define SADDR6(sa) (&SA6(sa)->sin6_addr)
                       ^
pending.c:784:23: note: in expansion of macro 'SADDR6'
     if ((*(uint32_t *)&SADDR6(sa)->s6_addr[i] &
                        ^
pending.c:785:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
          *(uint32_t *)&mask->in6.s6_addr[i]) !=
          ^
In file included from pending.h:69:0,
                  from sync.h:36,
                  from pending.c:66:
milter-greylist.h:96:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  #define SA6(sa)  ((struct sockaddr_in6 *)(sa))
                            ^
milter-greylist.h:97:22: note: in expansion of macro 'SA6'
  #define SADDR6(sa) (&SA6(sa)->sin6_addr)
                       ^
pending.c:786:23: note: in expansion of macro 'SADDR6'
         (*(uint32_t *)&SADDR6(pat)->s6_addr[i] &
                        ^
pending.c:787:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
          *(uint32_t *)&mask->in6.s6_addr[i]))
          ^
gcc -g -O2 -Wall -I/usr/include -DUSE_CURL -I/usr/local/include -DUSE_FD_POOL -DHAVE_DATA_CALLBACK -DUSE_DNSRBL -DCONFFILE=\"/etc/mail/greylist.conf\" -DDUMPFILE=\"/var/milter-greylist/greylist.db\" -DDRACDB=\"/etc/mail/dracdb.db\" -D_BSD_SOURCE -I. -I.    -c -o sync.o sync.c
gcc -g -O2 -Wall -I/usr/include -DUSE_CURL -I/usr/local/include -DUSE_FD_POOL -DHAVE_DATA_CALLBACK -DUSE_DNSRBL -DCONFFILE=\"/etc/mail/greylist.conf\" -DDUMPFILE=\"/var/milter-greylist/greylist.db\" -DDRACDB=\"/etc/mail/dracdb.db\" -D_BSD_SOURCE -I. -I.    -c -o dnsrbl.o dnsrbl.c
dnsrbl.c: In function 'dnsrbl_check_source':
dnsrbl.c:242:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
          *(uint32_t *)&source->d_mask.in6.s6_addr[i];
          ^
In file included from dnsrbl.c:80:0:
dnsrbl.c: In function 'dnsrbl_source_add':
milter-greylist.h:96:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  #define SA6(sa)  ((struct sockaddr_in6 *)(sa))
                            ^
milter-greylist.h:97:22: note: in expansion of macro 'SA6'
  #define SADDR6(sa) (&SA6(sa)->sin6_addr)
                       ^
dnsrbl.c:353:18: note: in expansion of macro 'SADDR6'
     *(uint32_t *)&SADDR6(blacklisted)->s6_addr[i] &=
                   ^
dnsrbl.c:354:8: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
         *(uint32_t *)&de->d_mask.in6.s6_addr[i];
         ^
gcc -g -O2 -Wall -I/usr/include -DUSE_CURL -I/usr/local/include -DUSE_FD_POOL -DHAVE_DATA_CALLBACK -DUSE_DNSRBL -DCONFFILE=\"/etc/mail/greylist.conf\" -DDUMPFILE=\"/var/milter-greylist/greylist.db\" -DDRACDB=\"/etc/mail/dracdb.db\" -D_BSD_SOURCE -I. -I.    -c -o list.o list.c
gcc -g -O2 -Wall -I/usr/include -DUSE_CURL -I/usr/local/include -DUSE_FD_POOL -DHAVE_DATA_CALLBACK -DUSE_DNSRBL -DCONFFILE=\"/etc/mail/greylist.conf\" -DDUMPFILE=\"/var/milter-greylist/greylist.db\" -DDRACDB=\"/etc/mail/dracdb.db\" -D_BSD_SOURCE -I. -I.    -c -o macro.o macro.c
gcc -g -O2 -Wall -I/usr/include -DUSE_CURL -I/usr/local/include -DUSE_FD_POOL -DHAVE_DATA_CALLBACK -DUSE_DNSRBL -DCONFFILE=\"/etc/mail/greylist.conf\" -DDUMPFILE=\"/var/milter-greylist/greylist.db\" -DDRACDB=\"/etc/mail/dracdb.db\" -D_BSD_SOURCE -I. -I.    -c -o conf.o conf.c
gcc -g -O2 -Wall -I/usr/include -DUSE_CURL -I/usr/local/include -DUSE_FD_POOL -DHAVE_DATA_CALLBACK -DUSE_DNSRBL -DCONFFILE=\"/etc/mail/greylist.conf\" -DDUMPFILE=\"/var/milter-greylist/greylist.db\" -DDRACDB=\"/etc/mail/dracdb.db\" -D_BSD_SOURCE -I. -I.    -c -o store.o store.c
gcc -g -O2 -Wall -I/usr/include -DUSE_CURL -I/usr/local/include -DUSE_FD_POOL -DHAVE_DATA_CALLBACK -DUSE_DNSRBL -DCONFFILE=\"/etc/mail/greylist.conf\" -DDUMPFILE=\"/var/milter-greylist/greylist.db\" -DDRACDB=\"/etc/mail/dracdb.db\" -D_BSD_SOURCE -I. -I.    -c -o dump.o dump.c
gcc -g -O2 -Wall -I/usr/include -DUSE_CURL -I/usr/local/include -DUSE_FD_POOL -DHAVE_DATA_CALLBACK -DUSE_DNSRBL -DCONFFILE=\"/etc/mail/greylist.conf\" -DDUMPFILE=\"/var/milter-greylist/greylist.db\" -DDRACDB=\"/etc/mail/dracdb.db\" -D_BSD_SOURCE -I. -I.    -c -o spf.o spf.c
gcc -g -O2 -Wall -I/usr/include -DUSE_CURL -I/usr/local/include -DUSE_FD_POOL -DHAVE_DATA_CALLBACK -DUSE_DNSRBL -DCONFFILE=\"/etc/mail/greylist.conf\" -DDUMPFILE=\"/var/milter-greylist/greylist.db\" -DDRACDB=\"/etc/mail/dracdb.db\" -D_BSD_SOURCE -I. -I.    -c -o acl.o acl.c
In file included from pending.h:69:0,
                  from acl.h:146,
                  from spf.h:53,
                  from acl.c:63:
acl.c: In function 'acl_add_netblock':
milter-greylist.h:96:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  #define SA6(sa)  ((struct sockaddr_in6 *)(sa))
                            ^
milter-greylist.h:97:22: note: in expansion of macro 'SA6'
  #define SADDR6(sa) (&SA6(sa)->sin6_addr)
                       ^
acl.c:1475:18: note: in expansion of macro 'SADDR6'
     *(uint32_t *)&SADDR6(sa)->s6_addr[i] &=
                   ^
acl.c:1476:8: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
         *(uint32_t *)&mask.in6.s6_addr[i];
         ^
gcc -g -O2 -Wall -I/usr/include -DUSE_CURL -I/usr/local/include -DUSE_FD_POOL -DHAVE_DATA_CALLBACK -DUSE_DNSRBL -DCONFFILE=\"/etc/mail/greylist.conf\" -DDUMPFILE=\"/var/milter-greylist/greylist.db\" -DDRACDB=\"/etc/mail/dracdb.db\" -D_BSD_SOURCE -I. -I.    -c -o urlcheck.o urlcheck.c
gcc -g -O2 -Wall -I/usr/include -DUSE_CURL -I/usr/local/include -DUSE_FD_POOL -DHAVE_DATA_CALLBACK -DUSE_DNSRBL -DCONFFILE=\"/etc/mail/greylist.conf\" -DDUMPFILE=\"/var/milter-greylist/greylist.db\" -DDRACDB=\"/etc/mail/dracdb.db\" -D_BSD_SOURCE -I. -I.    -c -o stat.o stat.c
gcc -g -O2 -Wall -I/usr/include -DUSE_CURL -I/usr/local/include -DUSE_FD_POOL -DHAVE_DATA_CALLBACK -DUSE_DNSRBL -DCONFFILE=\"/etc/mail/greylist.conf\" -DDUMPFILE=\"/var/milter-greylist/greylist.db\" -DDRACDB=\"/etc/mail/dracdb.db\" -D_BSD_SOURCE -I. -I.    -c -o clock.o clock.c
gcc -g -O2 -Wall -I/usr/include -DUSE_CURL -I/usr/local/include -DUSE_FD_POOL -DHAVE_DATA_CALLBACK -DUSE_DNSRBL -DCONFFILE=\"/etc/mail/greylist.conf\" -DDUMPFILE=\"/var/milter-greylist/greylist.db\" -DDRACDB=\"/etc/mail/dracdb.db\" -D_BSD_SOURCE -I. -I.    -c -o geoip.o geoip.c
gcc -g -O2 -Wall -I/usr/include -DUSE_CURL -I/usr/local/include -DUSE_FD_POOL -DHAVE_DATA_CALLBACK -DUSE_DNSRBL -DCONFFILE=\"/etc/mail/greylist.conf\" -DDUMPFILE=\"/var/milter-greylist/greylist.db\" -DDRACDB=\"/etc/mail/dracdb.db\" -D_BSD_SOURCE -I. -I.    -c -o fd_pool.o fd_pool.c
fd_pool.c: In function 'get_pool_desc':
fd_pool.c:275:6: warning: variable 'fd' set but not used [-Wunused-but-set-variable]
   int fd;
       ^
In file included from fd_pool.c:105:0:
fd_pool.c: In function 'fopen_ext':
milter-greylist.h:392:20: warning: passing argument 1 of 'fcntl' makes integer from pointer without a cast [-Wint-conversion]
   int flags = fcntl((fd), F_GETFD, 0);       \
                     ^
fd_pool.c:346:3: note: in expansion of macro 'SET_CLOEXEC'
    SET_CLOEXEC(stream);
    ^
In file included from fd_pool.c:89:0:
/usr/include/fcntl.h:131:12: note: expected 'int' but argument is of type 'FILE * {aka struct __FILE *}'
  extern int fcntl(int, int, ...);
             ^
In file included from fd_pool.c:105:0:
fd_pool.c:346:15: warning: passing argument 1 of 'fcntl' makes integer from pointer without a cast [-Wint-conversion]
    SET_CLOEXEC(stream);
                ^
milter-greylist.h:395:15: note: in definition of macro 'SET_CLOEXEC'
    (void)fcntl(fd, F_SETFD, flags|FD_CLOEXEC); \
                ^
In file included from fd_pool.c:89:0:
/usr/include/fcntl.h:131:12: note: expected 'int' but argument is of type 'FILE * {aka struct __FILE *}'
  extern int fcntl(int, int, ...);
             ^
gcc -g -O2 -Wall -I/usr/include -DUSE_CURL -I/usr/local/include -DUSE_FD_POOL -DHAVE_DATA_CALLBACK -DUSE_DNSRBL -DCONFFILE=\"/etc/mail/greylist.conf\" -DDUMPFILE=\"/var/milter-greylist/greylist.db\" -DDRACDB=\"/etc/mail/dracdb.db\" -D_BSD_SOURCE -I. -I.    -c -o prop.o prop.c
gcc -g -O2 -Wall -I/usr/include -DUSE_CURL -I/usr/local/include -DUSE_FD_POOL -DHAVE_DATA_CALLBACK -DUSE_DNSRBL -DCONFFILE=\"/etc/mail/greylist.conf\" -DDUMPFILE=\"/var/milter-greylist/greylist.db\" -DDRACDB=\"/etc/mail/dracdb.db\" -D_BSD_SOURCE -I. -I.    -c -o ldapcheck.o ldapcheck.c
gcc -g -O2 -Wall -I/usr/include -DUSE_CURL -I/usr/local/include -DUSE_FD_POOL -DHAVE_DATA_CALLBACK -DUSE_DNSRBL -DCONFFILE=\"/etc/mail/greylist.conf\" -DDUMPFILE=\"/var/milter-greylist/greylist.db\" -DDRACDB=\"/etc/mail/dracdb.db\" -D_BSD_SOURCE -I. -I.    -c -o dkimcheck.o dkimcheck.c
gcc -g -O2 -Wall -I/usr/include -DUSE_CURL -I/usr/local/include -DUSE_FD_POOL -DHAVE_DATA_CALLBACK -DUSE_DNSRBL -DCONFFILE=\"/etc/mail/greylist.conf\" -DDUMPFILE=\"/var/milter-greylist/greylist.db\" -DDRACDB=\"/etc/mail/dracdb.db\" -D_BSD_SOURCE -I. -I.    -c -o p0f.o p0f.c
gcc -g -O2 -Wall -I/usr/include -DUSE_CURL -I/usr/local/include -DUSE_FD_POOL -DHAVE_DATA_CALLBACK -DUSE_DNSRBL -DCONFFILE=\"/etc/mail/greylist.conf\" -DDUMPFILE=\"/var/milter-greylist/greylist.db\" -DDRACDB=\"/etc/mail/dracdb.db\" -D_BSD_SOURCE -I. -I.    -c -o spamd.o spamd.c
gcc -g -O2 -Wall -I/usr/include -DUSE_CURL -I/usr/local/include -DUSE_FD_POOL -DHAVE_DATA_CALLBACK -DUSE_DNSRBL -DCONFFILE=\"/etc/mail/greylist.conf\" -DDUMPFILE=\"/var/milter-greylist/greylist.db\" -DDRACDB=\"/etc/mail/dracdb.db\" -D_BSD_SOURCE -I. -I.    -c -o mx.o mx.c
gcc -g -O2 -Wall -I/usr/include -DUSE_CURL -I/usr/local/include -DUSE_FD_POOL -DHAVE_DATA_CALLBACK -DUSE_DNSRBL -DCONFFILE=\"/etc/mail/greylist.conf\" -DDUMPFILE=\"/var/milter-greylist/greylist.db\" -DDRACDB=\"/etc/mail/dracdb.db\" -D_BSD_SOURCE -I. -I.    -c -o ratelimit.o ratelimit.c
gcc -g -O2 -Wall -I/usr/include -DUSE_CURL -I/usr/local/include -DUSE_FD_POOL -DHAVE_DATA_CALLBACK -DUSE_DNSRBL -DCONFFILE=\"/etc/mail/greylist.conf\" -DDUMPFILE=\"/var/milter-greylist/greylist.db\" -DDRACDB=\"/etc/mail/dracdb.db\" -D_BSD_SOURCE -I. -I.    -c -o nsupdate.o nsupdate.c
gcc -g -O2 -Wall -I/usr/include -DUSE_CURL -I/usr/local/include -DUSE_FD_POOL -DHAVE_DATA_CALLBACK -DUSE_DNSRBL -DCONFFILE=\"/etc/mail/greylist.conf\" -DDUMPFILE=\"/var/milter-greylist/greylist.db\" -DDRACDB=\"/etc/mail/dracdb.db\" -D_BSD_SOURCE -I. -I.    -c -o brokenmfapi.o brokenmfapi.c
=== Call make sequential for objects sensitive to that (current make='gmake' MAKEFLAGS=' -- V=0'):
gmake -j 1 bld-seq
gmake[1]: Entering directory '/scratch/bfriesen/OmniOS/tarballs/milter-greylist-4.6a1'
bison -y -p`echo conf_yacc.c|sed 's/^\([^_]\{1,\}_\).*$/\1/'` conf_yacc.y
mv y.tab.c conf_yacc.c
flex -oconf_lex.c conf_lex.l
gcc -g -O2 -Wall -I/usr/include -DUSE_CURL -I/usr/local/include -DUSE_FD_POOL -DHAVE_DATA_CALLBACK -DUSE_DNSRBL -DCONFFILE=\"/etc/mail/greylist.conf\" -DDUMPFILE=\"/var/milter-greylist/greylist.db\" -DDRACDB=\"/etc/mail/dracdb.db\" -D_BSD_SOURCE -I. -I.    -c -o conf_yacc.o conf_yacc.c
In file included from conf_yacc.y:2337:0:
conf_lex.c:2910:17: warning: 'yyunput' defined but not used [-Wunused-function]
      static void yyunput (int c, register char * yy_bp )
                  ^
conf_lex.c:2951:16: warning: 'input' defined but not used [-Wunused-function]
      static int input  (void)
                 ^
bison -y -p`echo dump_yacc.c|sed 's/^\([^_]\{1,\}_\).*$/\1/'` dump_yacc.y
mv y.tab.c dump_yacc.c
flex -odump_lex.c dump_lex.l
gcc -g -O2 -Wall -I/usr/include -DUSE_CURL -I/usr/local/include -DUSE_FD_POOL -DHAVE_DATA_CALLBACK -DUSE_DNSRBL -DCONFFILE=\"/etc/mail/greylist.conf\" -DDUMPFILE=\"/var/milter-greylist/greylist.db\" -DDRACDB=\"/etc/mail/dracdb.db\" -D_BSD_SOURCE -I. -I.    -c -o dump_yacc.o dump_yacc.c
In file included from dump_yacc.y:97:0:
dump_lex.c:1278:17: warning: 'yyunput' defined but not used [-Wunused-function]
      static void yyunput (int c, register char * yy_bp )
                  ^
dump_lex.c:1319:16: warning: 'input' defined but not used [-Wunused-function]
      static int input  (void)
                 ^
test -f .objseq-built || touch .objseq-built
gmake[1]: Leaving directory '/scratch/bfriesen/OmniOS/tarballs/milter-greylist-4.6a1'
sync || true
=== Linking milter-greylist:
gcc -o milter-greylist milter-greylist.o pending.o sync.o dnsrbl.o list.o macro.o conf.o store.o dump.o spf.o acl.o urlcheck.o stat.o clock.o geoip.o fd_pool.o prop.o ldapcheck.o dkimcheck.o p0f.o spamd.o mx.o ratelimit.o nsupdate.o brokenmfapi.o conf_yacc.o dump_yacc.o -L/usr/lib -Wl,-R/usr/lib -L/usr/local/lib -Wl,-R/usr/local/lib -lcurl  -lpthread -lspf2 -lsocket -lresolv -lnsl -lsocket -lsocket -lmilter
sed "s|@BINDIR[@]|/usr/local/bin|g; s|@SBINDIR[@]|/usr/local/sbin|g; s|@USER[@]|smmsp|g" ./rc-bsd.sh.in > rc-bsd.sh
sed "s|@BINDIR[@]|/usr/local/bin|g; s|@SBINDIR[@]|/usr/local/sbin|g; s|@USER[@]|smmsp|g" ./rc-redhat.sh.in > rc-redhat.sh
sed "s|@BINDIR[@]|/usr/local/bin|g; s|@SBINDIR[@]|/usr/local/sbin|g; s|@USER[@]|smmsp|g" ./rc-solaris.sh.in > rc-solaris.sh
sed "s|@BINDIR[@]|/usr/local/bin|g; s|@SBINDIR[@]|/usr/local/sbin|g; s|@USER[@]|smmsp|g" ./rc-debian.sh.in > rc-debian.sh
sed "s|@BINDIR[@]|/usr/local/bin|g; s|@SBINDIR[@]|/usr/local/sbin|g; s|@USER[@]|smmsp|g" ./rc-gentoo.sh.in > rc-gentoo.sh
sed "s|@BINDIR[@]|/usr/local/bin|g; s|@SBINDIR[@]|/usr/local/sbin|g; s|@USER[@]|smmsp|g" ./rc-suse.sh.in > rc-suse.sh

-- 
Bob Friesenhahn
bfriesen@..., http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/

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.