Re: Disk quotas for Sendmail

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Jussi Hirvi schrieb:
> Jussi Hirvi (greenspot@xxxxxxxxxxxx) kirjoitteli (21.8.2008 15:56):
>> I didn't find milterquota with yum so I guess I have to build it... The
>> Makefile asks me to locate a file that I cannot find:
>>
>>> # change this to the object directory in the sendmail build
>>> treeSENDMAIL_OBJ=/usr/src/packages/sendmail-8.12.9/obj.Linux.2.4.21.i586
> 
> Maybe I should add that my Sendmail is 8.13.8, not 8.12.9, as mentioned in
> that Makefile sample. Maybe file names in the Sm build have changed.
> 
> - Jussi

The Sendmail objects directory is the one where the libmilter and libsm
subdirectories are inside. There should normally be no problem wit SM
8.12 vs SM 8.13 regarding the milter code.

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.

Alexander

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux