Re: spamassassin and perl-net-dns fail to find nameserver

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



On 06/05/2014 10:27 PM, Florian Pritz wrote:
> Hi,
> 
> I've worked around the error caused by net-dns being a developer
> release, but SA still fails to find nameservers so DNSBL checks will not
> be used.
> 
> If you have the same problem add 'dns_server 127.0.0.1' or similar to
> your /etc/mail/spamassassin/local.cf or better yet figure out why it
> fails and contact the right people.
> 
> I currently don't have enough time to take a good look at the issue, but
> I figured I should probably write this so you can at least properly
> block spam.
> 
> Happy mailing and sorry for all the perl breakage. Ideas on how to
> prevent them (library soname? sadly that seems unsupported by upstream
> afaict) are very welcome.
> 

Speaking of soname, I have been using that one on my custom Linux OS. I
borrowed it from Debian. The script part is down below:

make libperl.so.${VER} SHRPLDFLAGS='$(LDDLFLAGS)
-Wl,-soname,libperl.so.${MAJOR_VER}'

ln -s libperl.so.${VER} libperl.so.${MAJOR_VER}
ln -s libperl.so.${MAJOR_VER} libperl.so

...

rm -f ${DEST}/usr/lib/perl/${MAJOR_VER}/CORE/libperl.so
rm -f ${DEST}/usr/lib/perl/${MAJOR_VER}/CORE/libperl.so.${MAJOR_VER}

mv ${DEST}/usr/lib/perl/${MAJOR_VER}/CORE/libperl.so.${VER} ${DEST}/usr/lib
ln -sf libperl.so.${VER} ${DEST}/usr/lib/libperl.so.${MAJOR_VER}
ln -sf libperl.so.${MAJOR_VER} ${DEST}/usr/lib/libperl.so

...

-- 
Note: My last name is not Krejzi.


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux