From owner-freebsd-ports@FreeBSD.ORG Wed Mar 30 03:12:37 2005 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4FCA316A4CE for ; Wed, 30 Mar 2005 03:12:37 +0000 (GMT) Received: from gwmail1.grupos.com.br (gwmail1.grupos.com.br [66.90.64.125]) by mx1.FreeBSD.org (Postfix) with ESMTP id F2C0043D4C for ; Wed, 30 Mar 2005 03:12:36 +0000 (GMT) (envelope-from marcus@corp.grupos.com.br) Received: from corp.grupos.com.br (unknown [150.162.166.55]) by gwmail1.grupos.com.br (Postfix) with ESMTP id BA5353EAAF; Wed, 30 Mar 2005 00:00:30 -0300 (BRT) Received: from [192.168.1.3] (200-180-011-172.fnsce7006.dsl.brasiltelecom.net.br [200.180.11.172]) by corp.grupos.com.br (Postfix) with ESMTP id AF83E20A22; Wed, 30 Mar 2005 00:00:29 -0300 (BRT) Message-ID: <424A1667.4040907@corp.grupos.com.br> Date: Wed, 30 Mar 2005 00:00:55 -0300 Organization: Grupos Internet S/A From: Marcus Grando User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Lefteris Tsintjelis References: <4249EB65.96F2E6DC@ene.asda.gr> <4249F0F7.4070308@corp.grupos.com.br> <4249F7F0.EF04452B@ene.asda.gr> In-Reply-To: <4249F7F0.EF04452B@ene.asda.gr> Content-Type: text/plain; charset=ISO-8859-7; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-ports@freebsd.org Subject: Re: libspf2 breaks Postfix under FreeBSD4 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Mar 2005 03:12:37 -0000 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