[users] Clash of 2 SPF packages

Michael Mansour mic at npgx.com.au
Thu Oct 4 11:33:30 CEST 2007


Hi Nigel,

> When you do sa-update -D it runs a debug which outputs what Hugo is
> seeing.

Yes I know, but just because it says "require failed" doesn't mean he needs to
install it.

> If he wants to use any of the spf plugins or rulesets he will need to
> fix those problems. The are specific to CentOS 5. One possible way
> round that will be to use cpan to install the required modules.

No, he should either install Mail::SPF or Mail::SPF::Query, not both.

> His other alternative would be to disable the spf bits which I think
> are in the .pre files in /etc/mail/spamassassin (at least they are on
> my 4.5 boxes).

No, there is one line in the init.pre which says:

loadplugin Mail::SpamAssassin::Plugin::SPF

this line loads the SPF plugin that is installed, which could be *either*
Mail::SPF or Mail::SPF::Query.

> He's also perhaps as well asking this on the spamassassin list.
> 
> list-help: <mailto:users-help at spamassassin.apache.org>

He'll get the same answer from them as I've said above, since this has been
discussed there before. As I said, he should use one or the other, not both
(and preferrably Mail::SPF), rpmforge should not try and fix a clash when the
person needs to only use one of the modules.

Regards,

Michael.

> Nigel
> 
> On Thu, 4 Oct 2007 18:39:53 +1000, "Michael Mansour" 
> <mic at npgx.com.au> wrote:
> 
> >Hi Hugo,
> >
> >> Hi,
> >> 
> >> I need both Mail::SPF and Mail::SPF::Query for sa-update to work properly.
> >> (sa-update is part of spamassassin.)
> >
> >I'm not sure where you got this information from but it is completely
> >incorrect. I use sa-update and do not require both the packages you're
> >referring to, as a matter of fact, SpamAssassin themselves only advise you to
> >use the perl-Mail-SPF (Mail::SPF) package since it follows the current
> >reference implementation RFC 4408, which Mail::SPF::Query does not.
> >
> >You can visit the SpamAssassin website for those details.
> >
> >In summary, only install perl-Mail-SPF from rpmforge and do not install
> >perl-Mail-SPF-Query.
> >
> >Regards,
> >
> >Michael.
> >
> >> Un fortunatly the packages are mutally exclusive. Is this just a 
> >> packaging issue where perl-Mail-SPF got a few files too many?
> >> 
> >> [root at balin spamassassin]# yum install perl-Mail-SPF-Query perl-Mail-
> >> SPF Loading "installonlyn" plugin Setting up Install Process Setting 
> >> up repositories Reading repository metadata in from local files 
> >> Parsing package install arguments Resolving Dependencies --> 
> >> Populating transaction set with selected packages. Please wait.
> >> ---> Package perl-Mail-SPF-Query.noarch 0:1.999.1-1.2.el5.rf set to be 
> >> updated
> >> ---> Package perl-Mail-SPF.noarch 0:2.005-1.el5.rf set to be updated
> >> --> Running transaction check
> >> 
> >> Dependencies Resolved
> >> 
> >> =============================================================================
> >>   Package                 Arch       Version          Repository     
> >>    Size
> >> =============================================================================
> >> Installing:
> >>   perl-Mail-SPF           noarch     2.005-1.el5.rf   rpmforge       
> >>    142 k  perl-Mail-SPF-Query     noarch     1.999.1-1.2.el5.rf  
> >> rpmforge           46 k
> >> 
> >> Transaction Summary
> >> =============================================================================
> >> Install      2 Package(s)
> >> Update       0 Package(s)
> >> Remove       0 Package(s)
> >> 
> >> Total download size: 188 k
> >> Is this ok [y/N]: y
> >> Downloading Packages:
> >> Running Transaction Test
> >> Finished Transaction Test
> >> 
> >> Transaction Check Error:
> >>    file /usr/bin/spfquery conflicts between attempted installs of 
> >> perl-Mail-SPF-2.005-1.el5.rf and perl-Mail-SPF-Query-1.999.1-1.2.el5.rf
> >>    file /usr/share/man/man1/spfquery.1.gz conflicts between 
> >> attempted installs of perl-Mail-SPF-2.005-1.el5.rf and perl-Mail-SPF-
> >> Query-1.999.1-1.2.el5.rf
> >> 
> >> The remainder of the list of requirements fo sa-update I got installed:
> >> 
> >> [28242] dbg: logger: adding facilities: all
> >> [28242] dbg: logger: logging level is DBG
> >> [28242] dbg: generic: SpamAssassin version 3.2.3
> >> [28242] dbg: config: score set 0 chosen.
> >> [28242] dbg: dns: is Net::DNS::Resolver available? yes
> >> [28242] dbg: dns: Net::DNS version: 0.61
> >> [28242] dbg: generic: sa-update version svn540384
> >> [28242] dbg: generic: using update directory: /var/lib/spamassassin/3.002003
> >> [28242] dbg: diag: perl platform: 5.008008 linux
> >> [28242] dbg: diag: module installed: Digest::SHA1, version 2.11
> >> [28242] dbg: diag: module installed: HTML::Parser, version 3.55
> >> [28242] dbg: diag: module installed: Net::DNS, version 0.61
> >> [28242] dbg: diag: module installed: MIME::Base64, version 3.07
> >> [28242] dbg: diag: module installed: DB_File, version 1.814
> >> [28242] dbg: diag: module installed: Net::SMTP, version 2.29
> >> [28242] dbg: diag: module not installed: Mail::SPF ('require' failed)
> >> [28242] dbg: diag: module not installed: Mail::SPF::Query ('require' 
> >> failed) [28242] dbg: diag: module installed: IP::Country::Fast,
> >>  version 604.001 [28242] dbg: diag: module installed: 
> >> Razor2::Client::Agent, version 2.84 [28242] dbg: diag: module 
> >> installed: Net::Ident, version 1.20 [28242] dbg: diag: module 
> >> installed: IO::Socket::INET6, version 2.51 [28242] dbg: diag: module 
> >> installed: IO::Socket::SSL, version 1.07 [28242] dbg: diag: module 
> >> installed: Compress::Zlib, version 2.005 [28242] dbg: diag: module 
> >> installed: Time::HiRes, version 1.86 [28242] dbg: diag: module 
> >> installed: Mail::DomainKeys, version 1.0 [28242] dbg: diag: module 
> >> installed: Mail::DKIM, version 0.26 [28242] dbg: diag: module 
> >> installed: DBI, version 1.58 [28242] dbg: diag: module installed: 
> >> Getopt::Long, version 2.35 [28242] dbg: diag: module installed: 
> >> LWP::UserAgent, version 2.033 [28242] dbg: diag: module installed: 
> >> HTTP::Date, version 1.47 [28242] dbg: diag: module installed: 
> >> Archive::Tar, version 1.32 [28242] dbg: diag: module installed: 
> >> IO::Zlib, version 1.05 [28242] dbg: diag: module installed: 
> >> Encode::Detect, version 1.00
> >> 
> >> If someone can fix the anomaly it would be appreciated.
> >> 
> >> Thanks,
> >> Hugo.
> >> 
> >> -- 
> >>  	hvdkooij at vanderkooij.org	http://hugo.vanderkooij.org/
> >>  	    This message is using 100% recycled electrons.
> >> 
> >>  	Some men see computers as they are and say "Windows"
> >>  	I use computers with Linux and say "Why Windows?"
> >>  	(Thanks JFK, for this quote of George Bernard Shaw.)
> >> _______________________________________________
> >> users mailing list
> >> users at lists.rpmforge.net
> >> http://lists.rpmforge.net/mailman/listinfo/users
> >------- End of Original Message -------
> >
> >_______________________________________________
> >users mailing list
> >users at lists.rpmforge.net
> >http://lists.rpmforge.net/mailman/listinfo/users
> _______________________________________________
> users mailing list
> users at lists.rpmforge.net
> http://lists.rpmforge.net/mailman/listinfo/users
------- End of Original Message -------




More information about the users mailing list