ermille1979 wrote:
> Hi all,
>
> I have a problem with Spamassassin on my Qmail
>   
Alex,

Can you  explain why you think senders from agipro.it would be whitelisted?

The only whitelist option in the config you sent is commented out, so it
would have no effect.

Is the LOCAL_RCVD rule the one that should match? (ie: is domain.com
really agipro.it?)

Could you post the Received headers for a message? Are you sure that
received header is added before SA sees it (ie: how have you tied into
Qmail)

The error messages would appear to be related to the rules for the SPF
plugin are being parsed, but the plugin itself isn't loading properly.
That's very odd. Do you have any other custom config files, or have you
made any changes to the default ones?

Also,
> r...@mail/etc/mail/spamassassin rpm -qa|grep -i spamas
> perl-Mail-SpamAssassin-3.0.2-1
> spamassassin-3.0.2-1
> spamassassin-tools-3.0.2-1
>
> This is My file local.rc
>
> ###########################################################################
> #
> # rewrite_header Subject *****SPAM*****
> # report_safe 1
> # trusted_networks 212.17.35.
> # lock_method flock
> report_safe 1
> #required_hits 4
> required_score 3
> #rewrite_header Subject *****SPAM*****
>
> #whitelist_from *...@agipro.it
>
> use_bayes 1
> # bayes_path /home/spamd/.spamassassin/bayes
> bayes_path /home/spamd/.spamassassin
>
> bayes_auto_learn 1
>
> skip_rbl_checks 0
> use_razor2 1
> use_dcc 1
> use_pyzor 1
>
> dns_available yes
>
> header LOCAL_RCVD Received =~ /.*\(\S+\.domain\.com\s+\[.*\]\)/
> describe LOCAL_RCVD Received from local machine
> #score LOCAL_RCVD -50
>
> ## Optional Score Increases
> score DCC_CHECK 4.000
> score SPF_FAIL 10.000
> score SPF_HELO_FAIL 10.000
> #score RAZOR2_CHECK 2.500
> score RAZOR2_CHECK 4.500
> score BAYES_99 4.300
> #score BAYES_95 3.500
> score BAYES_95 4.200
> #score BAYES_80 3.000
> score BAYES_80 4.100
>
> The mail ehite sender domain @agipro.it are tagged as Spam!
>
> I have this error on my maillog
>
> May  5 15:47:16 mail spamd[2329]: 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/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/PerMsgStatus.pm line 2312,
> <GEN26> line 40._)
> May  5 15:47:16 mail spamd[2329]: 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/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/PerMsgStatus.pm line
> 2312, <GEN26> line 40._)
> May  5 15:47:16 mail spamd[2329]: Failed to run SPF_NEUTRAL SpamAssassin
> test, skipping:__(Can't locate object method "check_for_spf_neutral" via
> package "Mail::SpamAssassin::PerMsgStatus" at
> /usr/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/PerMsgStatus.pm line 2312,
> <GEN26> line 40._)
> May  5 15:47:16 mail spamd[2329]: 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/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/PerMsgStatus.pm line 2312,
> <GEN26> line 40._)
> May  5 15:47:16 mail spamd[2326]: 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/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/PerMsgStatus.pm line 2312,
> <GEN42> line 40._)
> May  5 15:47:16 mail spamd[2326]: 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/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/PerMsgStatus.pm line
> 2312, <GEN42> line 40._)
> May  5 15:47:16 mail spamd[2326]: Failed to run SPF_NEUTRAL SpamAssassin
> test, skipping:__(Can't locate object method "check_for_spf_neutral" via
> package "Mail::SpamAssassin::PerMsgStatus" at
> /usr/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/PerMsgStatus.pm line 2312,
> <GEN42> line 40._)
> May  5 15:47:16 mail spamd[2326]: 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/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/PerMsgStatus.pm line 2312,
> <GEN42> line 40._)
> May  5 15:47:16 mail spamd[2328]: clean message (0.0/3.0) for qscand:513 in
> 0.6 seconds, 1509 bytes.
>
>
> Help me please?!
>
> Alex
>   

Reply via email to