Yahoo Groups archive

Milter-greylist

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

Message

Problem in the spec file

2007-10-23 by Michael Mansour

Hi,

I just downloaded the latest milter-greylist 4.0rc1.

It has a problem with the spec file contained in the package, which I've
discussed here with Dries (when I originally asked if he could make it
available in rpmforge):

http://www.mail-archive.com/suggest@.../msg00048.html

and to which he committed a fix here:

http://lists.rpmforge.net/pipermail/svn-commits/2007-September/004904.html

But after creating the 4.0rc1 RPM, I notice the problem is still there:

drwxr-xr-x   2 root    root     4096 Oct 23 14:07 milter-greylist

which has to be set to:

drwxr-xr-x   2 smmsp   smmsp    4096 Oct 23 14:07 milter-greylist

otherwise milter-greylist bombs out with the error:

Oct 23 13:35:47 server milter-greylist: greylist: Unable to bind to port
/var/milter-greylist/milter-greylist.
sock: Permission denied
Oct 23 13:35:47 server milter-greylist: greylist: Unable to create listening
socket on conn /var/milter-greyli
st/milter-greylist.sock

Could you please fix the spec file in the package.

Also, just for your interest, I went from the 3.0 stable to 4.01rc1, and also
got the following error:

Oct 23 13:35:46 server milter-greylist: unknown token "[" line 105771, skipping
Oct 23 13:35:46 server milter-greylist: dump error at line 105771: syntax error
Oct 23 13:35:46 server milter-greylist: unknown token "]" line 105771, skipping
Oct 23 13:35:46 server milter-greylist: unknown token ">" line 105771, skipping
Oct 23 13:35:46 server milter-greylist: unknown token "[" line 105772, skipping
Oct 23 13:35:46 server milter-greylist: dump error at line 105772: syntax error
Oct 23 13:35:46 server milter-greylist: unknown token "]" line 105772, skipping
Oct 23 13:35:46 server milter-greylist: unknown token ">" line 105772, skipping

which had to do with these entries in /var/milter-greylist/greylist.db:

xx.xx.xx.xxx    <>      <postmaster@[IP_of_OneOfMy_MX_servers]>    1196078149
AUTO # 2007-11-26 22:55:49
xx.xx.xx.xxx    <>      <postmaster@[IP_of_AnotherOfMy_MX_servers]>   
1196078149 AUTO # 2007-11-26 22:55:49

I deleted the two entries and restarted milter-greylist, all was fine then.

Regards,

Michael.

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.