Richard Valk
2011-08-09 19:24:41 UTC
I've just got sqlgrey-1.8.0-rc2 working on a Mac mini running Lion, but during the process I ran into issues which I think solved successfully but I had to make some alterations to the Makefile. I'm not sure I've done it correctly and would like to share my adjustments.
Too install sqlgrey in /usr/local/ which would be good practice (but that is a different discussion) I tried to changing the ROOTDIR var by using:
make -e ROOTDIR=/usr/local install
but then I found out that the bin and sbin stuff ended up wrongly. So I had too make the following changes to the directory structure in Makefile:
ETCDIR = $(ROOTDIR)/etc
CONFDIR = $(ETCDIR)/sqlgrey
SBINDIR = $(ROOTDIR)/sbin
BINDIR = $(ROOTDIR)/bin
INITDIR = $(ETCDIR)/init.d
MANDIR = $(ROOTDIR)/share/man/man1
I'm not an expert in these matters therefore looking for validation or second opinion on my changes. If I should have done it another way please tell me.
For the rest it is running great on my machine and solved a lot of my spam issues.
For people curious on how to install it on a Mac with Lion here are the instructions: http://diymacserver.com/mail/lion/setting-up-greylisting-with-sqlgrey/
Regards,
Richard
Too install sqlgrey in /usr/local/ which would be good practice (but that is a different discussion) I tried to changing the ROOTDIR var by using:
make -e ROOTDIR=/usr/local install
but then I found out that the bin and sbin stuff ended up wrongly. So I had too make the following changes to the directory structure in Makefile:
ETCDIR = $(ROOTDIR)/etc
CONFDIR = $(ETCDIR)/sqlgrey
SBINDIR = $(ROOTDIR)/sbin
BINDIR = $(ROOTDIR)/bin
INITDIR = $(ETCDIR)/init.d
MANDIR = $(ROOTDIR)/share/man/man1
I'm not an expert in these matters therefore looking for validation or second opinion on my changes. If I should have done it another way please tell me.
For the rest it is running great on my machine and solved a lot of my spam issues.
For people curious on how to install it on a Mac with Lion here are the instructions: http://diymacserver.com/mail/lion/setting-up-greylisting-with-sqlgrey/
Regards,
Richard