You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@bugzilla.spamassassin.org on 2010/01/07 19:29:03 UTC

[Bug 6279] New: sa-update failing - failed to parse ...10_default_prefs.cf ...originating_ip_headers

https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6279

           Summary: sa-update failing - failed to parse
                    ...10_default_prefs.cf ...originating_ip_headers
           Product: Spamassassin
           Version: 3.3.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: P5
         Component: Rules
        AssignedTo: dev@spamassassin.apache.org
        ReportedBy: Mark.Martinec@ijs.si


Created an attachment (id=4626)
 --> (https://issues.apache.org/SpamAssassin/attachment.cgi?id=4626)
proposed patch

(passed from a mailing list):

jidanni wrote:

> $ sa-update
> config: failed to parse line, skipping,
>  in "/tmp/.spamassassin5560GP7SGbtmp/10_default_prefs.cf":
>  clear_originating_ip_headers
> config: failed to parse line, skipping,
>  in "/tmp/.spamassassin5560GP7SGbtmp/10_default_prefs.cf":
>  originating_ip_headers X-Yahoo-Post-IP X-Originating-IP X-Apparently-From
> config: failed to parse line, skipping,
>  in "/tmp/.spamassassin5560GP7SGbtmp/10_default_prefs.cf":
>  originating_ip_headers X-SenderIP
> channel: lint check of update failed, channel failed

(Mark:)
It's an unfortunate consequence of pushing the Bug 5895 rule change
into 10_default_prefs.cf, while you are still running 3.3.0-rc1 or
older 3.3.0 code.

The quickest fix would be to install the current SA code from SVN:
  http://wiki.apache.org/spamassassin/DevelopmentStuff
  $ svn checkout https://svn.apache.org/repos/asf/spamassassin/trunk
with the usual: perl Makefile.PL; make; make install

...or just not to worry about the failing sa-update,
until we come up with a better temporary solution.


(Justin:)
Hmm.  We can use if can() to work around it...

-- 
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

[Bug 6279] [preview] sa-update failing - failed to parse ...10_default_prefs.cf ...originating_ip_headers

Posted by bu...@bugzilla.spamassassin.org.
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6279

Mark Martinec <Ma...@ijs.si> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P5                          |P1
   Target Milestone|Undefined                   |3.3.0
            Summary|sa-update failing - failed  |[preview] sa-update failing
                   |to parse                    |- failed to parse
                   |...10_default_prefs.cf      |...10_default_prefs.cf
                   |...originating_ip_headers   |...originating_ip_headers

-- 
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

[Bug 6279] [review] sa-update failing - failed to parse ...10_default_prefs.cf ...originating_ip_headers

Posted by bu...@bugzilla.spamassassin.org.
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6279

Mark Martinec <Ma...@ijs.si> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |NEW

--- Comment #10 from Mark Martinec <Ma...@ijs.si> 2010-01-08 09:17:29 UTC ---
> We should take this off the ticket (and probably to the dev@ list).  but +1 to
> replacing hyperreal.org with KAM's servers if possible

Closing this one.

Carrying over the general discussion onto:
  Bug 6281: Speeding up the pipeline from rules update to a final user

-- 
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

[Bug 6279] [review] sa-update failing - failed to parse ...10_default_prefs.cf ...originating_ip_headers

Posted by bu...@bugzilla.spamassassin.org.
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6279

Mark Martinec <Ma...@ijs.si> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[preview] sa-update failing |[review] sa-update failing
                   |- failed to parse           |- failed to parse
                   |...10_default_prefs.cf      |...10_default_prefs.cf
                   |...originating_ip_headers   |...originating_ip_headers

-- 
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

[Bug 6279] [review] sa-update failing - failed to parse ...10_default_prefs.cf ...originating_ip_headers

Posted by bu...@bugzilla.spamassassin.org.
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6279

Warren Togami <wt...@redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Status Whiteboard|needs 1 vote                |ready for commit

--- Comment #2 from Warren Togami <wt...@redhat.com> 2010-01-07 13:57:11 UTC ---
+1

-- 
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

[Bug 6279] [review] sa-update failing - failed to parse ...10_default_prefs.cf ...originating_ip_headers

Posted by bu...@bugzilla.spamassassin.org.
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6279

--- Comment #7 from Mark Martinec <Ma...@ijs.si> 2010-01-08 08:21:10 UTC ---
The ns.hyperreal.org finally cought up.


Let's see how long this one will take to end up in DNS:

Change in comments in 60_whitelist_dkim.cf
Sending rules/60_whitelist_dkim.cf
Committed revision 897247.

-- 
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

[Bug 6279] [review] sa-update failing - failed to parse ...10_default_prefs.cf ...originating_ip_headers

Posted by bu...@bugzilla.spamassassin.org.
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6279

Kevin A. McGrail <km...@pccc.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kmcgrail@pccc.com

--- Comment #3 from Kevin A. McGrail <km...@pccc.com> 2010-01-07 13:57:41 UTC ---
(In reply to comment #2)
> +1

+1 KAM

-- 
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

[Bug 6279] [review] sa-update failing - failed to parse ...10_default_prefs.cf ...originating_ip_headers

Posted by bu...@bugzilla.spamassassin.org.
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6279

--- Comment #9 from Justin Mason <jm...@jmason.org> 2010-01-08 08:41:25 UTC ---
(In reply to comment #8)
> My $0.02: This sounds like something more for infra where DNS notifies /
> transfers aren't being properly received.
> 
> And, if needed, I originally got involved with helping the SA project because
> of DNS.  I run very nice, stable, disparate network name servers and would be
> happy to be a DNS mirror (or primary) if it helps.

We should take this off the ticket (and probably to the dev@ list).  but +1 to
replacing hyperreal.org with KAM's servers if possible

-- 
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

[Bug 6279] [review] sa-update failing - failed to parse ...10_default_prefs.cf ...originating_ip_headers

Posted by bu...@bugzilla.spamassassin.org.
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6279

Mark Martinec <Ma...@ijs.si> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #4 from Mark Martinec <Ma...@ijs.si> 2010-01-07 14:13:22 UTC ---
Bug 6279: conditionalize originating_ip_headers rules in 10_default_prefs.cf
Sending        lib/Mail/SpamAssassin/Conf.pm
Sending        rules/10_default_prefs.cf
Committed revision 897031.

-- 
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

[Bug 6279] sa-update failing - failed to parse ...10_default_prefs.cf ...originating_ip_headers

Posted by bu...@bugzilla.spamassassin.org.
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6279

Mark Martinec <Ma...@ijs.si> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #11 from Mark Martinec <Ma...@ijs.si> 2010-01-08 10:33:14 UTC ---
Closing.

-- 
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

[Bug 6279] [review] sa-update failing - failed to parse ...10_default_prefs.cf ...originating_ip_headers

Posted by bu...@bugzilla.spamassassin.org.
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6279

Mark Martinec <Ma...@ijs.si> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |

--- Comment #5 from Mark Martinec <Ma...@ijs.si> 2010-01-08 03:25:48 UTC ---
13 hours after the 10_default_prefs.cf has been committed into /rules/,
my sa-update is still not picking up the change. Actually, on another
host, where I deleted everything under /var/lib/spamassassin/3.00300,
it finally picked it, its sa-update shows:

Jan  8 12:18:16.892 [17200] dbg: channel: metadata version = 897136
Jan  8 12:18:16.896 [17200] dbg: dns: 0.3.3.updates.spamassassin.org => 897136,
parsed as 897136

yet on the first host, it still claims:

Jan  8 12:17:34.315 [40855] dbg: channel: metadata version = 896803
Jan  8 12:17:34.322 [40855] dbg: dns: 0.3.3.updates.spamassassin.org => 896803,
parsed as 896803
Jan  8 12:17:34.322 [40855] dbg: channel: current version is 896803, new
version is 896803, skipping channel

Is this normal? Are DNS slaves slow to pick up the change?

-- 
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

[Bug 6279] [review] sa-update failing - failed to parse ...10_default_prefs.cf ...originating_ip_headers

Posted by bu...@bugzilla.spamassassin.org.
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6279

--- Comment #8 from Kevin A. McGrail <km...@pccc.com> 2010-01-08 08:25:28 UTC ---
My $0.02: This sounds like something more for infra where DNS notifies /
transfers aren't being properly received.

And, if needed, I originally got involved with helping the SA project because
of DNS.  I run very nice, stable, disparate network name servers and would be
happy to be a DNS mirror (or primary) if it helps.

KAM

-- 
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

[Bug 6279] sa-update failing - failed to parse ...10_default_prefs.cf ...originating_ip_headers

Posted by bu...@bugzilla.spamassassin.org.
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6279

Mark Martinec <Ma...@ijs.si> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[review] sa-update failing  |sa-update failing - failed
                   |- failed to parse           |to parse
                   |...10_default_prefs.cf      |...10_default_prefs.cf
                   |...originating_ip_headers   |...originating_ip_headers

-- 
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

[Bug 6279] [review] sa-update failing - failed to parse ...10_default_prefs.cf ...originating_ip_headers

Posted by bu...@bugzilla.spamassassin.org.
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6279

--- Comment #6 from Mark Martinec <Ma...@ijs.si> 2010-01-08 03:41:56 UTC ---
> Is this normal? Are DNS slaves slow to pick up the change?

$ host -t txt 0.3.3.updates.spamassassin.org a.auth-ns.sonic.net.
0.3.3.updates.spamassassin.org descriptive text "897136"

$ host -t txt 0.3.3.updates.spamassassin.org b.auth-ns.sonic.net.
0.3.3.updates.spamassassin.org descriptive text "897136"

$ host -t txt 0.3.3.updates.spamassassin.org c.auth-ns.sonic.net.
0.3.3.updates.spamassassin.org descriptive text "897136"

$ host -t txt 0.3.3.updates.spamassassin.org ns.hyperreal.org.
0.3.3.updates.spamassassin.org descriptive text "896803"

-- 
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

[Bug 6279] [review] sa-update failing - failed to parse ...10_default_prefs.cf ...originating_ip_headers

Posted by bu...@bugzilla.spamassassin.org.
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6279

Justin Mason <jm...@jmason.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jm@jmason.org
  Status Whiteboard|                            |needs 1 vote

--- Comment #1 from Justin Mason <jm...@jmason.org> 2010-01-07 13:53:42 UTC ---
+1 exactly ;)

-- 
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.