You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Matt <ma...@gmail.com> on 2014/02/25 22:22:12 UTC
Mail SPF Check
When doing sa-update -D I get this:
dbg: diag: [...] module not installed: Mail::SPF ('require' failed)
What do I need to get this on Centos?
I see this:
# yum list available |grep -i spf
libspf2.x86_64 1.2.9-1.el6.rf rpmforge
libspf2-devel.x86_64 1.2.9-1.el6.rf rpmforge
perl-Mail-SPF-Query.noarch 1.999.1-2.el6.rf rpmforge
Re: Mail SPF Check (3rd party repositories)
Posted by Thomas Harold <th...@nybeta.com>.
On 2/26/2014 10:57 AM, Kris Deugau wrote:
>
> Try enabling the RPMForge "extras" repository - it's disabled by default
> because all or most of the packages there conflict or overwrite packages
> from the base distro.
>
My rule for the past few years when dealing with the "catch-all" 3rd
party repositories like RPMForge, ATRPMs, EPEL, and a few others is that
you should always make use of the "includepkgs=" line and only let
through the absolute minimum number of RPMs needed to get up and running.
For instance, my [rpmforge] entry in /etc/yum.repos.d/rpmforge.repo has
the following:
includepkgs=amavisd-new spamassass* clam* perl* lha zoo ripole unrar
cabextract altermime freeze arc unarj p7zip nomarch
All of the other [rpmforge-*] sections have:
includepkgs=zzzzzzzzzzzzzzzzzzzz
This has kept the breakage from doing a "yum update" to a minimum.
Re: Mail SPF Check
Posted by Kris Deugau <kd...@vianet.ca>.
John Hardin wrote:
> On Tue, 25 Feb 2014, Matt wrote:
>
>> When doing sa-update -D I get this:
>>
>> dbg: diag: [...] module not installed: Mail::SPF ('require' failed)
>>
>> What do I need to get this on Centos?
>>
>> I see this:
>>
>> # yum list available |grep -i spf
>>
>> libspf2.x86_64
>> 1.2.9-1.el6.rf rpmforge
>> libspf2-devel.x86_64
>> 1.2.9-1.el6.rf rpmforge
>> perl-Mail-SPF-Query.noarch
>> 1.999.1-2.el6.rf rpmforge
Try enabling the RPMForge "extras" repository - it's disabled by default
because all or most of the packages there conflict or overwrite packages
from the base distro.
$ rpm -qa |grep -i spf
perl-Mail-SPF-2.8.0-1.el5.rfx
> perl modules named "X::Y" are typically in "perl-X-Y.noarch".
>
> perl-Mail-SPF-Query.noarch *may* satisfy Mail::SPF.
On CentOS, or any other RedHat-ish rpm-based platform using yum, you can
also do:
# yum install 'perl(Mail::SPF)'
and it will install the necessary package to provide that Perl module,
assuming there's one available. There's similar support for Python
modules too, and possibly Ruby in eg recent Fedora releases.
I like that Debian(-derived) systems have so many Perl modules
packaged... but when you're looking for something odd, and you don't
know which actual package it may be in, the dependency system in rpm has
dpkg beat hands-down because it's not limited to just package names.
-kgd
Re: Mail SPF Check
Posted by Benny Pedersen <me...@junc.eu>.
On 2014-02-25 22:32, John Hardin wrote:
> perl-Mail-SPF-Query.noarch *may* satisfy Mail::SPF.
http://search.cpan.org/dist/Mail-SPF/
download tarball, edit the spec file, use rpmbuild to build a new rpm,
then after that install the rpm module, this will then not break
dependice, dont install cpan modules via cpan shell
http://www.rpmfind.net/linux/rpm2html/search.php?query=perl-Mail-SPF&submit=Search+...&system=&arch=
Re: Mail SPF Check
Posted by Amir Caspi <ce...@3phase.com>.
On Feb 25, 2014, at 2:32 PM, John Hardin <jh...@impsec.org> wrote:
> perl modules named "X::Y" are typically in "perl-X-Y.noarch".
>
> perl-Mail-SPF-Query.noarch *may* satisfy Mail::SPF.
perl-Mail-SPF is available from rpmforge-extras, which must be manually enabled (do a yum list available --enablerepo=rpmforge-extras | grep -i spf).
-- Amir
Re: Mail SPF Check
Posted by John Hardin <jh...@impsec.org>.
On Tue, 25 Feb 2014, Matt wrote:
> When doing sa-update -D I get this:
>
> dbg: diag: [...] module not installed: Mail::SPF ('require' failed)
>
> What do I need to get this on Centos?
>
> I see this:
>
> # yum list available |grep -i spf
>
> libspf2.x86_64 1.2.9-1.el6.rf rpmforge
> libspf2-devel.x86_64 1.2.9-1.el6.rf rpmforge
> perl-Mail-SPF-Query.noarch 1.999.1-2.el6.rf rpmforge
perl modules named "X::Y" are typically in "perl-X-Y.noarch".
perl-Mail-SPF-Query.noarch *may* satisfy Mail::SPF.
--
John Hardin KA7OHZ http://www.impsec.org/~jhardin/
jhardin@impsec.org FALaholic #11174 pgpk -a jhardin@impsec.org
key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C AF76 D822 E6E6 B873 2E79
-----------------------------------------------------------------------
Your mouse has moved. Your Windows Operating System must be
relicensed due to this hardware change. Please contact Microsoft
to obtain a new activation key. If this hardware change results in
added functionality you may be subject to additional license fees.
Your system will now shut down. Thank you for choosing Microsoft.
-----------------------------------------------------------------------
635 days since the first successful private support mission to ISS (SpaceX)