Re: spf problems
"Michael F. Sprague" <[email protected]>
| Newsgroups | gmane.mail.exim.exiscan.user |
|---|---|
| Message-ID | <[email protected]> |
Hmmm, I haven't tried a compile on FreeBSD; my last one was on Debian sarge and it worked fine. Which ACL are you trying to use it in? I have it in acl_smtp_rcpt. If your's in a different ACL, maybe that's the issue? M ----- Forwarded message from 'andy' <[email protected]> ----- ok, compile flags for spf inclusion are as follows: from the ports Makefile: # Enable Sender Policy Framework (SPF) checking in exiscan-acl # WITH_SPF= yes LIB_DEPENDS+= spf_alt.1:${PORTSDIR}/mail/libspf-alt CFLAGS+= -DSPF SEDLIST+= -e 's,XX_SPF_LIBS_XX,-lspf_alt,' still doesnt work when forcing these flags and removing all the ifdefined stuff. :( On Tue, Jun 22, 2004 at 03:37:18PM +0100, Bassett A wrote: > > Did you -DSPF to your CFLAGS in your exim makefile? Compiling the spf > library in alone is not enough in itself. > > -----Original Message----- > From: andy [mailto:[email protected]] > Sent: 22 June 2004 15:12 > To: [email protected] > Subject: Re: [exiscanusers] spf problems] > > > Yes, sorry, its freebsd 4.10 stable with exim-mysql from ports and > libspf-alt from ports. > > I have added the libspf library to ldconfig > > as you can see, exim does have libspf compiled into it. > > [root@ns1 exim]# ldd /usr/local/sbin/exim > /usr/local/sbin/exim: > libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x28123000) > libcrypt.so.2 => /usr/lib/libcrypt.so.2 (0x281ff000) > libpam.so.1 => /usr/lib/libpam.so.1 (0x28219000) > libspf_alt.so.1 => /usr/local/lib/libspf_alt.so.1 (0x28223000) > libmysqlclient.so.10 => /usr/lib/libmysqlclient.so.10 (0x2823c000) > libperl.so => /usr/local/lib/perl5/5.8.2/mach/CORE/libperl.so > (0x2825a000) > libm.so.2 => /usr/lib/libm.so.2 (0x28358000) > libutil.so.3 => /usr/lib/libutil.so.3 (0x28375000) > libc.so.4 => /usr/lib/libc.so.4 (0x2837f000) > libssl.so.3 => /usr/lib/libssl.so.3 (0x28423000) > libcrypto.so.3 => /usr/lib/libcrypto.so.3 (0x28453000) > libintl.so.5 => /usr/local/lib/libintl.so.5 (0x28559000) > libz.so.2 => /usr/lib/libz.so.2 (0x28563000) > > > > [root@ns1 exim]# ls /usr/local/lib/libspf_alt.so.1 > /usr/local/lib/libspf_alt.so.1 > [root@ns1 exim]# ldconfig -r | grep spf > 40:-lspf_alt.1 => /usr/local/lib/libspf_alt.so.1 > > > any other tips? > > On Tue, Jun 22, 2004 at 08:59:53AM -0400, Michael F. Sprague wrote: > > You don't mention which OS this is on, but I have a few suggestions. IIRC > > I had to make sure the compile could find the spf library. It's installed > in > > /usr/local/lib on my box. In linux you need to make sure that path is in > > /etc/ld.so.conf and then run ldconfig. On Solaris, make sure you add the > -L > > and -R flags to, I believe EXTRALIBS, in Local/Makefile. After a make it > > should find the library and then work. :) > > > > Thanks, > > mikeS > > > > ----- Forwarded message from andy <[email protected]> ----- > > Hi, Ive just compiled spf into exiscan and it cant find the "fail" part. > > > > deny message = $sender_host_address is not allowed to send mail from > $sender_address_domain > > spf = fail > > > > > > > > [root@ns2 exim]# /usr/local/etc/rc.d/exim.sh restart > > Stopping exim. > > Starting exim. > > 2004-06-22 13:15:48 Exim configuration error in line 280 of > /usr/local/etc/exim/configure: > > error in ACL: unknown ACL condition/modifier in "spf = fail" > > > > > > > > is there any way to check that its been compiled in ok, Ive followed the > instructions carefully and recompiled a few times going over everything. > > > > cheers > > ----- End forwarded message ----- > > > > -- > > Michael Sprague | [email protected] > > Partner | System and Network Engineering (SaNE), LLC > > use STD::disclaimer; > > > > > > -- > Andrew Wilson [email protected] > Senior Network Administrator > Accelerate Broadband AS29349 > Tel: 0131 440 4313 > -- Andrew Wilson [email protected] Senior Network Administrator Accelerate Broadband AS29349 Tel: 0131 440 4313 ----- End forwarded message ----- -- Michael Sprague | [email protected] Partner | System and Network Engineering (SaNE), LLC use STD::disclaimer;