Date: Wed, 30 Mar 2005 00:00:55 -0300 From: Marcus Grando <marcus@corp.grupos.com.br> To: Lefteris Tsintjelis <lefty@ene.asda.gr> Cc: freebsd-ports@freebsd.org Subject: Re: libspf2 breaks Postfix under FreeBSD4 Message-ID: <424A1667.4040907@corp.grupos.com.br> In-Reply-To: <4249F7F0.EF04452B@ene.asda.gr> References: <4249EB65.96F2E6DC@ene.asda.gr> <4249F0F7.4070308@corp.grupos.com.br> <4249F7F0.EF04452B@ene.asda.gr>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, If you need libspf2 in postfix try this: #cd /usr/ports/mail/libspf2 #make configure Edit work/libspf2-1.0.4/src/libspf2/Makefile and remove getopt_long_only$U.o and getopt_long_only$U.lo #make all deinstall install clean After that reinstall postfix with SPF. I think that solve your problem. After ports freeze, i submit new patch to upgrade libspf2 to 1.2.5. Regards Lefteris Tsintjelis wrote: > I have already looked at similar pages without much luck. > > http://readlist.com/lists/postfix.org/postfix-users/4/20359.html > > Without SPF (works OK): > # ldd /usr/local/sbin/postfix > /usr/local/sbin/postfix: > libssl.so.3 => /usr/lib/libssl.so.3 (0x48075000) > libcrypto.so.3 => /usr/lib/libcrypto.so.3 (0x480a5000) > libpcre.so.0 => /usr/local/lib/libpcre.so.0 (0x481a5000) > libc.so.4 => /usr/lib/libc.so.4 (0x481b1000) > > With SPF (broken): > # ldd /usr/local/sbin/postfix > /usr/local/sbin/postfix: > libspf2.so.1 => /usr/local/lib/libspf2.so.1 (0x48075000) > libssl.so.3 => /usr/lib/libssl.so.3 (0x4808c000) > libcrypto.so.3 => /usr/lib/libcrypto.so.3 (0x480bc000) > libpcre.so.0 => /usr/local/lib/libpcre.so.0 (0x481bc000) > libc.so.4 => /usr/lib/libc.so.4 (0x481c8000) > > Seems like either libspf2 or libc is broken because there is no > other library other than the libspf2 that is compiled with. > Unfortunately that goes beyond my knowledge. > > Marcus Grando wrote: > >>Please look: >>http://groups.google.com/groups?q=pipe+getopt&hl=pt-BR&lr=&group=mailing.postfix.users&selm=ci0amd%247k8%241%40FreeBSD.csie.NCTU.edu.tw&rnum=2 >> >>Try to use mail/policyd for check SPF in this case. > > > I have used that but the code is pretty broken. specially with > IPv6 support. I was hoping libspf would have some of those problems > resolved. > > >>Regards -- Marcus Grando Grupos Internet S/A marcus(at)corp.grupos.com.br
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?424A1667.4040907>