Yahoo Groups archive

Milter-greylist

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

Message

milter-greylist 1.6rc1 and Solaris 9 (sparc)

2004-12-14 by fredrik.pettai@vattenfall.com

Hello list!

I've compiled and installed milter-greylist-1.6rc1 on Solaris 9 (sparc).
It works fine to compile if you install the following:
- gcc
- flex
- bison
(and add the option CFLAGS=-D__EXTENSIONS__ to the Makefile)

(This, because of that Solaris lex and yacc is missing to many important feature)

Everything works fine, except for "peer" option (replication of greylist/whitelist data between MX-peers). I've tried to truss and "debug" as much as i can with the help from Emmanuel Dreyfus, but i'm stuck...

The message i get in the syslog looks like this:

Dec 13 20:00:55 gemini milter-greylist: [ID 226885 mail.debug] iBDJ0rOa004257: addr = 151.156.192.51, from = <root@...>, rcpt = <kalle@...>
Dec 13 20:00:55 gemini milter-greylist: [ID 173742 mail.debug] created: 151.156.192.51 from <root@...> to <kalle@....se> delayed for 60s
Dec 13 20:00:55 gemini milter-greylist: [ID 928669 mail.info] iBDJ0rOa004257: addr 151.156.192.51 from <root@...> to <kalle@...> delayed for 00:01:00
Dec 13 20:00:55 gemini sendmail[4257]: [ID 801593 mail.info] iBDJ0rOa004257: milter=greylist, action=rcpt, reject=451 4.7.1 Greylisting in action, please come back in 00:01:00
Dec 13 20:00:55 gemini milter-greylist: [ID 795507 mail.debug] sync_sender running
Dec 13 20:00:55 gemini milter-greylist: [ID 634049 mail.error] local_addr: bind failed: Error 0
Dec 13 20:00:55 gemini milter-greylist: [ID 750011 mail.debug] sync_sender sleeping, done 0 entries in 0.010411s

Apparently "sync_sender" routine fails (problem binding a free port on the local machine?). I've also snoop:ed the network, and i can't see any milter-greylist "sync"-trafic. Has someone running Solaris noticed or fixed this problem for version 1.6rc1?
If so, please send a patch to Emmanuel Dreyfus...

I've noticed that most milter coding is done on BSD-systems.
But the company that i work for prefers Solaris :-(

TIA,
/P

Attachments

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.