You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Amon Werner <w....@bena.at> on 2009/04/15 11:00:21 UTC

Error with SPF Plugin

Hi,

 

I have updated to Spamassassin 3.2.5, i am using qmail and with qmail-spamc, it worked fine since today.

Now I become following errors in the mail.log:

 

Apr 15 10:22:20 shiva qmail-smtpd: 1239783740.220972 Accept::RCPT::Recipients_Rcptto: P:ESMTP S:72.14.220.155:unknown H:fg-out-1718.google.com F:werner.amon@gmail.com T:amon@pro-linux.org

Apr 15 10:22:20 shiva spamd[19909]: connection from localhost [127.0.0.1] at port 42968

Apr 15 10:22:20 shiva spamd[19909]: processing message <e2...@mail.gmail.com> for vpopmail:89.

Apr 15 10:22:20 shiva spamd[19909]: Failed to run USER_IN_DEF_SPF_WL SpamAssassin test, skipping:__(Can't locate object method "check_for_def_spf_whitelist_from" via package "Mail::SpamAssassin::PerMsgStatus" at /usr/local/share/perl/5.8.4/Mail/SpamAssassin/PerMsgStatus.pm line 2340, <GEN1> line 45._)

Apr 15 10:22:20 shiva spamd[19909]: Failed to run SPF_HELO_NEUTRAL SpamAssassin test, skipping:__(Can't locate object method "check_for_spf_helo_neutral" via package "Mail::SpamAssassin::PerMsgStatus" at /usr/local/share/perl/5.8.4/Mail/SpamAssassin/PerMsgStatus.pm line 2340, <GEN1> line 45._)

Apr 15 10:22:20 shiva spamd[19909]: Failed to run SPF_NEUTRAL SpamAssassin test, skipping:__(Can't locate object method "check_for_spf_neutral" via package "Mail::SpamAssassin::PerMsgStatus" at /usr/local/share/perl/5.8.4/Mail/SpamAssassin/PerMsgStatus.pm line 2340, <GEN1> line 45._)

Apr 15 10:22:20 shiva spamd[19909]: Failed to run USER_IN_SPF_WHITELIST SpamAssassin test, skipping:__(Can't locate object method "check_for_spf_whitelist_from" via package "Mail::SpamAssassin::PerMsgStatus" at /usr/local/share/perl/5.8.4/Mail/SpamAssassin/PerMsgStatus.pm line 2340, <GEN1> line 45._)

Apr 15 10:22:20 shiva spamd[19909]: clean message (0.0/3.0) for vpopmail:89 in 0.3 seconds, 1715 bytes.

Apr 15 10:22:20 shiva spamd[19909]: result: .  0 -  scantime=0.3,size=1715,mid=<e2...@mail.gmail.com>,autolearn=unavailable

Apr 15 10:22:20 shiva qmail-send: 1239783740.624999 new msg 4440133

 

The script check_depencies says:

 

optional module missing: Razor2

optional module missing: Net::Ident

optional module missing: IO::Socket::INET6

optional module missing: IO::Socket::SSL

 

so I am sure to have all required modules installed already.

 

I googled a lot but can not find any solution für my problem.

 

Can someone help me?

 

Best regards

Werner

 


Re: AW: Error with SPF Plugin

Posted by Benny Pedersen <me...@junc.org>.
On Wed, April 15, 2009 15:27, Amon Werner wrote:

> Thanks for your response, i have solved the problem.
> It was a very very ugly error, because the new spamd is now located in
> /usr/local/bin and my startscipt started the old binary in /usr/bin.
>
> It works fine now.

fine as in you now have 2 spamassassin installed ?, one in
packagemanement, and one from cpan ?

/usr/local is for things outside distros, atleast its so on gentoo

spamassassin --lint -D

post it to pastebin if need more help

-- 
http://localhost/ 100% uptime and 100% mirrored :)


AW: Error with SPF Plugin

Posted by Amon Werner <w....@bena.at>.

-----Ursprüngliche Nachricht-----
Von: Matt Kettler [mailto:mkettler_sa@verizon.net] 
Gesendet: Mittwoch, 15. April 2009 14:52
An: Amon Werner
Cc: users@spamassassin.apache.org
Betreff: Re: Error with SPF Plugin

Amon Werner wrote:
>
> Hi,
>
>  
>
> I have updated to Spamassassin 3.2.5, i am using qmail and with
> qmail-spamc, it worked fine since today.
>
> Now I become following errors in the mail.log:
>
>  
>
> Apr 15 10:22:20 shiva qmail-smtpd: 1239783740.220972
> Accept::RCPT::Recipients_Rcptto: P:ESMTP S:72.14.220.155:unknown
> H:fg-out-1718.google.com F:werner.amon@gmail.com T:amon@pro-linux.org
>
> Apr 15 10:22:20 shiva spamd[19909]: connection from localhost
> [127.0.0.1] at port 42968
>
> Apr 15 10:22:20 shiva spamd[19909]: processing message
> <e2...@mail.gmail.com> for
> vpopmail:89.
>
> Apr 15 10:22:20 shiva spamd[19909]: Failed to run USER_IN_DEF_SPF_WL
> SpamAssassin test, skipping:__(Can't locate object method
> "check_for_def_spf_whitelist_from" via package
> "Mail::SpamAssassin::PerMsgStatus" at
> /usr/local/share/perl/5.8.4/Mail/SpamAssassin/PerMsgStatus.pm line
> 2340, <GEN1> line 45._)
>
> Apr 15 10:22:20 shiva spamd[19909]: Failed to run SPF_HELO_NEUTRAL
> SpamAssassin test, skipping:__(Can't locate object method
> "check_for_spf_helo_neutral" via package
> "Mail::SpamAssassin::PerMsgStatus" at
> /usr/local/share/perl/5.8.4/Mail/SpamAssassin/PerMsgStatus.pm line
> 2340, <GEN1> line 45._)
>
> Apr 15 10:22:20 shiva spamd[19909]: Failed to run SPF_NEUTRAL
> SpamAssassin test, skipping:__(Can't locate object method
> "check_for_spf_neutral" via package "Mail::SpamAssassin::PerMsgStatus"
> at /usr/local/share/perl/5.8.4/Mail/SpamAssassin/PerMsgStatus.pm line
> 2340, <GEN1> line 45._)
>
> Apr 15 10:22:20 shiva spamd[19909]: Failed to run
> USER_IN_SPF_WHITELIST SpamAssassin test, skipping:__(Can't locate
> object method "check_for_spf_whitelist_from" via package
> "Mail::SpamAssassin::PerMsgStatus" at
> /usr/local/share/perl/5.8.4/Mail/SpamAssassin/PerMsgStatus.pm line
> 2340, <GEN1> line 45._)
>
> Apr 15 10:22:20 shiva spamd[19909]: clean message (0.0/3.0) for
> vpopmail:89 in 0.3 seconds, 1715 bytes.
>
> Apr 15 10:22:20 shiva spamd[19909]: result: .  0 - 
> scantime=0.3,size=1715,mid=<e2...@mail.gmail.com>,autolearn=unavailable
>
> Apr 15 10:22:20 shiva qmail-send: 1239783740.624999 new msg 4440133
>
>  
>
> The script check_depencies says:
>
>  
>
> optional module missing: Razor2
>
> optional module missing: Net::Ident
>
> optional module missing: IO::Socket::INET6
>
> optional module missing: IO::Socket::SSL
>
>  
>
> so I am sure to have all required modules installed already.
>
>  
>
> I googled a lot but can not find any solution für my problem.
>
>  
>
> Can someone help me?
>

In general it sounds like the SPF plugin is no longer being loaded.
Check your .pre files to make sure the loadplugin statement is still there.

Also, check spamassassin --lint for complaints. (normally runs silent)

If that doesn't offer any clues run spamassassin --lint -D and check
that the SPF pluggin is in fact being loaded.



Thanks for your response, i have solved the problem.
It was a very very ugly error, because the new spamd is now located in /usr/local/bin and my startscipt started the old binary in /usr/bin.

It works fine now.

Thank you all
Werner

Re: Error with SPF Plugin

Posted by Matt Kettler <mk...@verizon.net>.
Amon Werner wrote:
>
> Hi,
>
>  
>
> I have updated to Spamassassin 3.2.5, i am using qmail and with
> qmail-spamc, it worked fine since today.
>
> Now I become following errors in the mail.log:
>
>  
>
> Apr 15 10:22:20 shiva qmail-smtpd: 1239783740.220972
> Accept::RCPT::Recipients_Rcptto: P:ESMTP S:72.14.220.155:unknown
> H:fg-out-1718.google.com F:werner.amon@gmail.com T:amon@pro-linux.org
>
> Apr 15 10:22:20 shiva spamd[19909]: connection from localhost
> [127.0.0.1] at port 42968
>
> Apr 15 10:22:20 shiva spamd[19909]: processing message
> <e2...@mail.gmail.com> for
> vpopmail:89.
>
> Apr 15 10:22:20 shiva spamd[19909]: Failed to run USER_IN_DEF_SPF_WL
> SpamAssassin test, skipping:__(Can't locate object method
> "check_for_def_spf_whitelist_from" via package
> "Mail::SpamAssassin::PerMsgStatus" at
> /usr/local/share/perl/5.8.4/Mail/SpamAssassin/PerMsgStatus.pm line
> 2340, <GEN1> line 45._)
>
> Apr 15 10:22:20 shiva spamd[19909]: Failed to run SPF_HELO_NEUTRAL
> SpamAssassin test, skipping:__(Can't locate object method
> "check_for_spf_helo_neutral" via package
> "Mail::SpamAssassin::PerMsgStatus" at
> /usr/local/share/perl/5.8.4/Mail/SpamAssassin/PerMsgStatus.pm line
> 2340, <GEN1> line 45._)
>
> Apr 15 10:22:20 shiva spamd[19909]: Failed to run SPF_NEUTRAL
> SpamAssassin test, skipping:__(Can't locate object method
> "check_for_spf_neutral" via package "Mail::SpamAssassin::PerMsgStatus"
> at /usr/local/share/perl/5.8.4/Mail/SpamAssassin/PerMsgStatus.pm line
> 2340, <GEN1> line 45._)
>
> Apr 15 10:22:20 shiva spamd[19909]: Failed to run
> USER_IN_SPF_WHITELIST SpamAssassin test, skipping:__(Can't locate
> object method "check_for_spf_whitelist_from" via package
> "Mail::SpamAssassin::PerMsgStatus" at
> /usr/local/share/perl/5.8.4/Mail/SpamAssassin/PerMsgStatus.pm line
> 2340, <GEN1> line 45._)
>
> Apr 15 10:22:20 shiva spamd[19909]: clean message (0.0/3.0) for
> vpopmail:89 in 0.3 seconds, 1715 bytes.
>
> Apr 15 10:22:20 shiva spamd[19909]: result: .  0 - 
> scantime=0.3,size=1715,mid=<e2...@mail.gmail.com>,autolearn=unavailable
>
> Apr 15 10:22:20 shiva qmail-send: 1239783740.624999 new msg 4440133
>
>  
>
> The script check_depencies says:
>
>  
>
> optional module missing: Razor2
>
> optional module missing: Net::Ident
>
> optional module missing: IO::Socket::INET6
>
> optional module missing: IO::Socket::SSL
>
>  
>
> so I am sure to have all required modules installed already.
>
>  
>
> I googled a lot but can not find any solution für my problem.
>
>  
>
> Can someone help me?
>

In general it sounds like the SPF plugin is no longer being loaded.
Check your .pre files to make sure the loadplugin statement is still there.

Also, check spamassassin --lint for complaints. (normally runs silent)

If that doesn't offer any clues run spamassassin --lint -D and check
that the SPF pluggin is in fact being loaded.