Alexander Dalloz ad+lists@uni-x.org escribio (21.8.2008 16:44)
What I would do is following: change this line in the Makefile
$(CC) $(OPTS) $(DEFINES) $(EFENCE) -o milterquota milterquota.c $(SENDMAIL_OBJ)/libmilter/libmilter.a $(SENDMAIL_OBJ)/libsm/libsm.a -pthread
replace $(SENDMAIL_OBJ)/libmilter/libmilter.a with /usr/lib64/libmilter.a and replace $(SENDMAIL_OBJ)/libsm/libsm.a with /usr/lib64/libsm.a OR /usr/lib/libsm.a (if not x86_64 but i386 CentOS)
You need to "yum install sendmail-devel" to have these files. That should be sufficient.
Thanks Alex,
You made me realize the obj.Linux is not important in itself - it's only important to indicate where libmilter.a and libsm.a are. That was easy. On my CentOS 5 system, the path is simply /usr/lib/.
Now milterquota is up and running. Only so far it doesn't seem to respect my milterquota.conf. I will probably work it out soon.
Thanks also for "rpm -q --list", whoever mentioned that (I don't have that message on my home box).
- Jussi
-- Jussi Hirvi * Green Spot Topeliuksenkatu 15 C * 00250 Helsinki * Finland Tel. & fax +358 9 493 981 * SMS +358 40 771 2098 jussi.hirvi@greenspot.fi * http://www.greenspot.fi