You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by "A. Schulze" <sc...@andreasschulze.de> on 2018/01/30 11:43:52 UTC

SA-Update error "failed to run FORGED_GMAIL_RCVD test"

Hello all,

shortly (since around 09:30 UTC) I get such notifications on sa-update:

rules: failed to run FORGED_GMAIL_RCVD test, skipping:
	(Can't locate object method "check_for_forged_gmail_received_headers"  
via package "Mail::SpamAssassin::PerMsgStatus" at (eval 1277) line 253.
)
channel: lint check of update failed, channel failed


looks like the new version "1822617" is `other the former releases` :-)

Here some logs.

Jan 30 12:37:24.803 [21958] dbg: rules: ran header rule __HAS_MSGID  
======> got hit: "<"
Jan 30 12:37:24.804 [21958] dbg: rules: ran header rule __SANE_MSGID  
======> got hit: "<15...@lint_rules>
Jan 30 12:37:24.804 [21958] dbg: rules: [...] "
Jan 30 12:37:24.804 [21958] dbg: rules: ran header rule  
__TO_NO_ARROWS_R ======> got hit: "3.4"
Jan 30 12:37:24.804 [21958] dbg: rules: ran header rule __HAS_FROM  
======> got hit: "<YES>"
Jan 30 12:37:24.805 [21958] dbg: rules: running head_eval tests; score  
so far=0
Jan 30 12:37:24.806 [21958] dbg: rules: run_eval_tests - compiling  
eval code: 9, priority 0
Jan 30 12:37:24.811 [21958] dbg: FreeMail: RULE (FREEMAIL_FROM)  
check_freemail_from
Jan 30 12:37:24.811 [21958] dbg: FreeMail: all from-addresses:  
ignore@compiling.spamassassin.taint.org
rules: failed to run FORGED_GMAIL_RCVD test, skipping:
         (Can't locate object method  
"check_for_forged_gmail_received_headers" via package  
"Mail::SpamAssassin::PerMsgStatus" at (eval 1279) line 271.
)
Jan 30 12:37:24.812 [21958] dbg: FreeMail: RULE (__freemail_reply)  
check_freemail_replyto
Jan 30 12:37:24.812 [21958] dbg: FreeMail: From address:  
ignore@compiling.spamassassin.taint.org
Jan 30 12:37:24.812 [21958] dbg: FreeMail: No Reply-To and From is not  
freemail, skipping check
Jan 30 12:37:24.812 [21958] dbg: rules: ran eval rule NO_RELAYS  
======> got hit (1)
Jan 30 12:37:24.813 [21958] dbg: rules: ran eval rule  
__GATED_THROUGH_RCVD_REMOVER ======> got hit (1)

SA-Version: 3.4.1
perl-Version: 5.010000 (old, yes, I know ...)




Andreas


Re: SA-Update error "failed to run FORGED_GMAIL_RCVD test"

Posted by David Jones <dj...@ena.com>.
On 01/30/2018 07:22 AM, David Jones wrote:
> On 01/30/2018 06:46 AM, Alex wrote:
>> Hi,
>>
>>>> Just spotted by others,
>>>> this diff fixes the problem:
>>>> https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7540
>>>
>>>> Btw:
>>>> what's the state of 3.4.2+? Beta? Release?
>>>>
>>>> from: http://spamassassin.apache.org/:
>>>> Latest News | 2015-04-30: SpamAssassin 3.4.1 has been released!
>>>>
>>>> I didn't notice any announcements regarding SA versions !?
>>>
>>> The current svn branch is 3.4, but it compiles to 3.4.2-pre3. Where is
>>> the 3.4.2 referenced in this patch, or is it compiled without
>>> IS_DEVEL_BUILD?
>>
>> Now I see this check_for_forged_gmail_received_headers function was
>> just added to the 3.4 branch in the last few days.
>>
> 
> https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7540
> 
> I will commit this version check for 3.4.2 patch in a few minutes when 
> the test harness has completed but it will take a couple of days to 
> actually get through the masscheck running and rule promotion process.
> 

This is my sa-update.log file from this morning so at least the 3.4.1 
version of sa-update is doing a lint before applying the ruleset update. 
  This could fail for another two days until my recent commit works it's 
way through the rule promotion process.


Update available for channel updates.spamassassin.org: 1822491 -> 1822617
http: (curl) GET http://sa-update.spamassassin.org/1822617.tar.gz, success
http: (curl) GET http://sa-update.spamassassin.org/1822617.tar.gz.sha1, 
success
http: (curl) GET http://sa-update.spamassassin.org/1822617.tar.gz.asc, 
success
rules: failed to run FORGED_GMAIL_RCVD test, skipping:
         (Can't locate object method 
"check_for_forged_gmail_received_headers" via package 
"Mail::SpamAssassin::PerMsgStatus" at (eval 1344) line 253.
)
channel: lint check of update failed, channel failed
Update failed, exiting with code 4
30-Jan-2018 05:37:28: SpamAssassin: Update available, but download or 
extract failed

-- 
David Jones

Re: SA-Update error "failed to run FORGED_GMAIL_RCVD test"

Posted by David Jones <dj...@ena.com>.
On 01/30/2018 06:46 AM, Alex wrote:
> Hi,
> 
>>> Just spotted by others,
>>> this diff fixes the problem:
>>> https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7540
>>
>>> Btw:
>>> what's the state of 3.4.2+? Beta? Release?
>>>
>>> from: http://spamassassin.apache.org/:
>>> Latest News | 2015-04-30: SpamAssassin 3.4.1 has been released!
>>>
>>> I didn't notice any announcements regarding SA versions !?
>>
>> The current svn branch is 3.4, but it compiles to 3.4.2-pre3. Where is
>> the 3.4.2 referenced in this patch, or is it compiled without
>> IS_DEVEL_BUILD?
> 
> Now I see this check_for_forged_gmail_received_headers function was
> just added to the 3.4 branch in the last few days.
> 

https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7540

I will commit this version check for 3.4.2 patch in a few minutes when 
the test harness has completed but it will take a couple of days to 
actually get through the masscheck running and rule promotion process.

-- 
David Jones

Re: SA-Update error "failed to run FORGED_GMAIL_RCVD test"

Posted by "Kevin A. McGrail" <ke...@mcgrail.com>.
On 1/30/2018 7:46 AM, Alex wrote:
> Now I see this check_for_forged_gmail_received_headers function was
> just added to the 3.4 branch in the last few days.
Yes, whoever added the rule needs to be more careful.  Not saying names 
(or initials :-) ).

Regards,
KAM

Re: SA-Update error "failed to run FORGED_GMAIL_RCVD test"

Posted by Alex <my...@gmail.com>.
Hi,

>> Just spotted by others,
>> this diff fixes the problem:
>> https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7540
>
>> Btw:
>> what's the state of 3.4.2+? Beta? Release?
>>
>> from: http://spamassassin.apache.org/:
>> Latest News | 2015-04-30: SpamAssassin 3.4.1 has been released!
>>
>> I didn't notice any announcements regarding SA versions !?
>
> The current svn branch is 3.4, but it compiles to 3.4.2-pre3. Where is
> the 3.4.2 referenced in this patch, or is it compiled without
> IS_DEVEL_BUILD?

Now I see this check_for_forged_gmail_received_headers function was
just added to the 3.4 branch in the last few days.

Re: SA-Update error "failed to run FORGED_GMAIL_RCVD test"

Posted by Alex <my...@gmail.com>.
Hi,


> Just spotted by others,
> this diff fixes the problem:
> https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7540

> Btw:
> what's the state of 3.4.2+? Beta? Release?
>
> from: http://spamassassin.apache.org/:
> Latest News | 2015-04-30: SpamAssassin 3.4.1 has been released!
>
> I didn't notice any announcements regarding SA versions !?

The current svn branch is 3.4, but it compiles to 3.4.2-pre3. Where is
the 3.4.2 referenced in this patch, or is it compiled without
IS_DEVEL_BUILD?

Re: SA-Update error "failed to run FORGED_GMAIL_RCVD test"

Posted by "A. Schulze" <sc...@andreasschulze.de>.
Giovanni Bechis:

> Just spotted by others,
> this diff fixes the problem:
> https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7540

yea! but that's a patch for the rules, right?
may we expect a fixed ruleset will be published shortly?

Andreas


Btw:
what's the state of 3.4.2+? Beta? Release?

from: http://spamassassin.apache.org/:
Latest News | 2015-04-30: SpamAssassin 3.4.1 has been released!

I didn't notice any announcements regarding SA versions !?



Re: SA-Update error "failed to run FORGED_GMAIL_RCVD test"

Posted by Matthias Egger <ma...@ee.ethz.ch>.
Hello Giovanni,

On 01/30/2018 12:55 PM, Giovanni Bechis wrote:
> On 01/30/18 12:43, A. Schulze wrote:
>>
>> Hello all,
>>
>> shortly (since around 09:30 UTC) I get such notifications on sa-update:
>>
>> rules: failed to run FORGED_GMAIL_RCVD test, skipping:
>>     (Can't locate object method "check_for_forged_gmail_received_headers" via package "Mail::SpamAssassin::PerMsgStatus" at (eval 1277) line 253.
>> )
>> channel: lint check of update failed, channel failed
>>
>>
>> looks like the new version "1822617" is `other the former releases` :-)
>>
> Just spotted by others,
> this diff fixes the problem:
> https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7540
>  Giovanni

Thank you for that. Any idea when it will be downloadable? Currently the
DNS records still point to the faulty "1822617" Version.

# dig +short TXT 0.4.3.updates.spamassassin.org
"1822617"

And since the update of the current SA rules failes because of that
error, there seems to be no need to update or patch any diff manually
(because as far as i understand SA still works with the un-updated but
errorless version).

Best regards
Matthias
-- 
Matthias Egger
ETH Zurich
Department of Information Technology          maegger@ee.ethz.ch
and Electrical Engineering
IT Support Group (ISG.EE), ETF/D/102          Phone +41 (0)44 632 03 90
Sternwartstrasse 7, CH-8092 Zurich            Fax   +41 (0)44 632 11 95


Re: SA-Update error "failed to run FORGED_GMAIL_RCVD test"

Posted by Giovanni Bechis <gi...@paclan.it>.
On 01/30/18 12:43, A. Schulze wrote:
> 
> Hello all,
> 
> shortly (since around 09:30 UTC) I get such notifications on sa-update:
> 
> rules: failed to run FORGED_GMAIL_RCVD test, skipping:
>     (Can't locate object method "check_for_forged_gmail_received_headers" via package "Mail::SpamAssassin::PerMsgStatus" at (eval 1277) line 253.
> )
> channel: lint check of update failed, channel failed
> 
> 
> looks like the new version "1822617" is `other the former releases` :-)
> 
Just spotted by others,
this diff fixes the problem:
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7540
 Giovanni


> Here some logs.
> 
> Jan 30 12:37:24.803 [21958] dbg: rules: ran header rule __HAS_MSGID ======> got hit: "<"
> Jan 30 12:37:24.804 [21958] dbg: rules: ran header rule __SANE_MSGID ======> got hit: "<15...@lint_rules>
> Jan 30 12:37:24.804 [21958] dbg: rules: [...] "
> Jan 30 12:37:24.804 [21958] dbg: rules: ran header rule __TO_NO_ARROWS_R ======> got hit: "3.4"
> Jan 30 12:37:24.804 [21958] dbg: rules: ran header rule __HAS_FROM ======> got hit: "<YES>"
> Jan 30 12:37:24.805 [21958] dbg: rules: running head_eval tests; score so far=0
> Jan 30 12:37:24.806 [21958] dbg: rules: run_eval_tests - compiling eval code: 9, priority 0
> Jan 30 12:37:24.811 [21958] dbg: FreeMail: RULE (FREEMAIL_FROM) check_freemail_from
> Jan 30 12:37:24.811 [21958] dbg: FreeMail: all from-addresses: ignore@compiling.spamassassin.taint.org
> rules: failed to run FORGED_GMAIL_RCVD test, skipping:
>         (Can't locate object method "check_for_forged_gmail_received_headers" via package "Mail::SpamAssassin::PerMsgStatus" at (eval 1279) line 271.
> )
> Jan 30 12:37:24.812 [21958] dbg: FreeMail: RULE (__freemail_reply) check_freemail_replyto
> Jan 30 12:37:24.812 [21958] dbg: FreeMail: From address: ignore@compiling.spamassassin.taint.org
> Jan 30 12:37:24.812 [21958] dbg: FreeMail: No Reply-To and From is not freemail, skipping check
> Jan 30 12:37:24.812 [21958] dbg: rules: ran eval rule NO_RELAYS ======> got hit (1)
> Jan 30 12:37:24.813 [21958] dbg: rules: ran eval rule __GATED_THROUGH_RCVD_REMOVER ======> got hit (1)
> 
> SA-Version: 3.4.1
> perl-Version: 5.010000 (old, yes, I know ...)
> 
> 
> 
> 
> Andreas
>