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: [email protected]
        ReportedBy: [email protected]


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.

Reply via email to