SA Bugzilla – Bug 6279
sa-update failing - failed to parse ...10_default_prefs.cf ...originating_ip_headers
Last modified: 2010-01-08 10:33:14 UTC
Created attachment 4626 [details] 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...
+1 exactly ;)
+1
(In reply to comment #2) > +1 +1 KAM
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.
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?
> 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"
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.
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
(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
> 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
Closing.