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 2018/09/19 10:59:29 UTC

[Bug 7628] New: failed to parse line, skipping "uridnsbl_skip_domain zyxel.eu"

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

            Bug ID: 7628
           Summary: failed to parse line, skipping "uridnsbl_skip_domain
                    zyxel.eu"
           Product: Spamassassin
           Version: 3.4.2
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: spamassassin
          Assignee: dev@spamassassin.apache.org
          Reporter: h.reindl@thelounge.net
  Target Milestone: Undefined

Sep 19 12:36:22.974 [1193328] warn: config: failed to parse line, skipping, in
"/etc/mail/spamassassin/local-06-uridnsbl-skip-domain.cf": uridnsbl_skip_domain
zyxel.eu

why? 

or is this just nonsene in debug-mode (/usr/bin/spamassassin
--siteconfigpath=/etc/mail/spamassassin -D --lint 2>&1) as many other things
are wrongly reported

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 7628] failed to parse line, skipping "uridnsbl_skip_domain zyxel.eu"

Posted by bu...@spamassassin.apache.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7628

Henrik Krohns <he...@hege.li> changed:

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

--- Comment #4 from Henrik Krohns <he...@hege.li> ---
Sorry but it's up to you to prove that when receiving the error, URIDNSBL _is_
actually loaded (correct *.pre is read etc.. even your paste was cut "URIDNSB"
but bad paste I guess?).

The only possible reason for "config: failed to parse line" is URIDNSBL.pm
being not loaded, or the line otherwise being malformed (inbisible characters
etc).

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 7628] failed to parse line, skipping "uridnsbl_skip_domain zyxel.eu"

Posted by bu...@spamassassin.apache.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7628

--- Comment #10 from Reindl Harald <h....@thelounge.net> ---
and to make it clear: it's a shame that nobody gives a shit for nearly a year
and then try to reproduce issues - the config is fine and was fine, today it no
longer happens, the config line still exists

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 7628] failed to parse line, skipping "uridnsbl_skip_domain zyxel.eu"

Posted by bu...@spamassassin.apache.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7628

--- Comment #20 from Steadramon <pa...@gmail.com> ---
Your copy/paste must have failed because I see no error output below

[sa-milt@mail-gw:~]$ /usr/bin/spamassassin
--siteconfigpath=/etc/mail/spamassassin --lint

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 7628] failed to parse line, skipping "uridnsbl_skip_domain zyxel.eu"

Posted by bu...@spamassassin.apache.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7628

--- Comment #6 from Reindl Harald <h....@thelounge.net> ---
damned! it is loaded, see the log output


what exactly did you not understand in the simple fact that this warning
appears *only* with running "lint" in debug mode? the original report is really
short enough to recognize everything and have nothing to prove

/usr/bin/spamassassin --siteconfigpath=/etc/mail/spamassassin -D --lint 2>&1

[root@mail-gw:/etc/mail/spamassassin]$ cat *.pre | grep URI
# URIDNSBL - look up URLs found in the message against several DNS
loadplugin Mail::SpamAssassin::Plugin::URIDNSBL
# HTTPSMismatch - find URI mismatches between href and anchor text
# URIDetail - test URIs using detailed URI information
loadplugin Mail::SpamAssassin::Plugin::URIDetail
loadplugin Mail::SpamAssassin::Plugin::URIEval
# URILocalBL - Provides ISP and Country code based filtering as well as
# loadplugin Mail::SpamAssassin::Plugin::URILocalBL
# allow URI rules to look at DKIM headers if they exist
[root@mail-gw:/etc/mail/spamassassin]$

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 7628] failed to parse line, skipping "uridnsbl_skip_domain zyxel.eu"

Posted by bu...@spamassassin.apache.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7628

--- Comment #16 from Steadramon <pa...@gmail.com> ---
I can only replicate by commenting out the line you mention in v320.pre

Jun  9 15:45:00.715 [25191] warn:  (Can't locate object method
"check_uri_host_listed" via package "Mail: [...]:SpamAssassin::PerMsgStatus" at
(eval 1550) line 803.

When you --lint maybe it's missing the cfs in /etc/mail/spamassassin?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 7628] failed to parse line, skipping "uridnsbl_skip_domain zyxel.eu"

Posted by bu...@spamassassin.apache.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7628

--- Comment #15 from Reindl Harald <h....@thelounge.net> ---
> This bug would only have been seen on installations that disable 
> the default plugin Mail::SpamAssassin::Plugin::WLBLEval

again: bullshit, it's loaded in /etc/mail/spamassassin/v320.pre


[root@mail-gw:/etc/mail/spamassassin]$ cat *.pre | grep WLBLEval
loadplugin Mail::SpamAssassin::Plugin::WLBLEval
[root@mail-gw:/etc/mail/spamassassin]$

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 7628] failed to parse line, skipping "uridnsbl_skip_domain zyxel.eu"

Posted by bu...@spamassassin.apache.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7628

--- Comment #11 from Henrik Krohns <he...@hege.li> ---
I'm happy to provide immediate paid consulting for any bugs, just contact me
when you create them. Your lovely attitude will cost some extra though. :-)

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 7628] failed to parse line, skipping "uridnsbl_skip_domain zyxel.eu"

Posted by bu...@spamassassin.apache.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7628

Steadramon <pa...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |paul.stead@gmail.com

--- Comment #14 from Steadramon <pa...@gmail.com> ---
(In reply to Reindl Harald from comment #9)
> forget it, "lint" in debug mode produces enough untrue shit for a lifetime
> and the only reason to use it is when bad rules updates are shipped like
> https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7719 which is still not
> fixed

This bug would only have been seen on installations that disable the default
plugin Mail::SpamAssassin::Plugin::WLBLEval

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 7628] failed to parse line, skipping "uridnsbl_skip_domain zyxel.eu"

Posted by bu...@spamassassin.apache.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7628

--- Comment #3 from Reindl Harald <h....@thelounge.net> ---
see here:

Jun  9 11:48:38 mail-gw spamd[1725771]: spamd: result: Y 22 -
BAYES_99,BAYES_999,BOGOFILTER_UNSURE,CUST_BODY_BEGINS_VL,CUST_DNSBL_26_UCE2,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FROM_SUSPICIOUS_NTLD,FSL_BULK_SIG,HTML_FONT_LOW_CONTRAST,HTML_MESSAGE,MX_PASS,PP_MIME_FAKE_ASCII_TEXT,RAZOR2_CF_RANGE_51_100,RAZOR2_CHECK,RDNS_DYNAMIC,SPF_PASS,URIBL_ABUSE_SURBL,URIBL_BLACK
scantime=1.1,size=9721,user=sa-milt,uid=189,required_score=5.5,rhost=localhost,raddr=127.0.0.1,rport=/run/spamassassin/spamassassin.sock,mid=<kq...@healthinfu.bid>,bayes=1.000000,autolearn=disabled,shortcircuit=no

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 7628] failed to parse line, skipping "uridnsbl_skip_domain zyxel.eu"

Posted by bu...@spamassassin.apache.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7628

--- Comment #21 from Reindl Harald <h....@thelounge.net> ---
damned i refer to the original report which clearly states
(/usr/bin/spamassassin --siteconfigpath=/etc/mail/spamassassin -D --lint 2>&1)
at 2018-09-19 10:59:29 UTC

this is and was the ordinary milter instance running URIBL test successful
since 2014 at any point in time, except lint gave out this errors which was not
helpful when you try to debug other stuff


see also the "or is this just nonsene in debug-mode" which is not the only one

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 7628] failed to parse line, skipping "uridnsbl_skip_domain zyxel.eu"

Posted by bu...@spamassassin.apache.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7628

--- Comment #19 from Reindl Harald <h....@thelounge.net> ---
no, because you can see "--siteconfigpath=/etc/mail/spamassassin" was the
default instance and none of the both stripped down

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 7628] failed to parse line, skipping "uridnsbl_skip_domain zyxel.eu"

Posted by bu...@spamassassin.apache.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7628

--- Comment #9 from Reindl Harald <h....@thelounge.net> ---
forget it, "lint" in debug mode produces enough untrue shit for a lifetime and
the only reason to use it is when bad rules updates are shipped like
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7719 which is still not
fixed

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 7628] failed to parse line, skipping "uridnsbl_skip_domain zyxel.eu"

Posted by bu...@spamassassin.apache.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7628

--- Comment #12 from Reindl Harald <h....@thelounge.net> ---
yeah, the typical bullshit about free software and that it's and excuse for
everything.....

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 7628] failed to parse line, skipping "uridnsbl_skip_domain zyxel.eu"

Posted by bu...@spamassassin.apache.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7628

--- Comment #13 from Reindl Harald <h....@thelounge.net> ---
in fact: i remember years ago that i even offered to pay for some changes in SA
and nobody even gave enough shit to reply

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 7628] failed to parse line, skipping "uridnsbl_skip_domain zyxel.eu"

Posted by bu...@spamassassin.apache.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7628

Reindl Harald <h....@thelounge.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|INVALID                     |---
                 CC|                            |h.reindl@thelounge.net
             Status|RESOLVED                    |REOPENED

--- Comment #2 from Reindl Harald <h....@thelounge.net> ---
nonsense, it is loaded and sued for years now with even a local URIDNSBL

[root@mail-gw:/etc/mail/spamassassin]$ cat *.pre | grep URI
# URIDNSBL - look up URLs found in the message against several DNS
loadplugin Mail::SpamAssassin::Plugin::URIDNSB

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 7628] failed to parse line, skipping "uridnsbl_skip_domain zyxel.eu"

Posted by bu...@spamassassin.apache.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7628

--- Comment #8 from Henrik Krohns <he...@hege.li> ---
Your first post is as vague as it can get.

I can not reproduce this with 3.4.2, 3.4-svn, or trunk, using same command line
parameters as you.

/usr/bin/spamassassin --siteconfigpath=/etc/mail/spamassassin -D --lint 2>&1

It's still up to you to provide the full debug output, or atleast read it
yourself to get some clues (grep -i uridnsbl etc).

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 7628] failed to parse line, skipping "uridnsbl_skip_domain zyxel.eu"

Posted by bu...@spamassassin.apache.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7628

--- Comment #18 from Steadramon <pa...@gmail.com> ---
So to confirm, the lint that is failing is not loading in
Mail::SpamAssassin::Plugin::WLBLEval /etc/mail/spamassassin-debug and this is
cause?

Is this the same with missing Mail::SpamAssassin::Plugin::URIDNSBL?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 7628] failed to parse line, skipping "uridnsbl_skip_domain zyxel.eu"

Posted by bu...@spamassassin.apache.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7628

--- Comment #5 from Henrik Krohns <he...@hege.li> ---
Other possible reasons, bad if/endif blocks etc. But as you have not provided
full debug output or even contents of the file, everything is a guess.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 7628] failed to parse line, skipping "uridnsbl_skip_domain zyxel.eu"

Posted by bu...@spamassassin.apache.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7628

--- Comment #7 from Reindl Harald <h....@thelounge.net> ---
and no, that fucking file has no "ifplugin" but 14000 lines in the style like
below and so there is no sane reason blame a few specific lines 

uridnsbl_skip_domain zytor.com
uridnsbl_skip_domain zyxel.eu
uridnsbl_skip_domain zzn.com

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 7628] failed to parse line, skipping "uridnsbl_skip_domain zyxel.eu"

Posted by bu...@spamassassin.apache.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7628

Henrik Krohns <he...@hege.li> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hege@hege.li
         Resolution|---                         |INVALID
             Status|NEW                         |RESOLVED

--- Comment #1 from Henrik Krohns <he...@hege.li> ---
One can only assume URIDNSBL module was not loaded.

Proper syntax:

ifplugin Mail::SpamAssassin::Plugin::URIDNSBL
uridnsbl_skip_domain foo.bar
endif

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 7628] failed to parse line, skipping "uridnsbl_skip_domain zyxel.eu"

Posted by bu...@spamassassin.apache.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7628

--- Comment #17 from Reindl Harald <h....@thelounge.net> ---
BTW: spit out everything to stderr for "--lint" is not helpful because you
can't grep sterr without redirection

the output from the bugreport is the *full* ouput of a lint-run, yeah, it's the
debug-instance with a minimal set of loaded plugins because it's only purpose
it's fire up a daily test against 160000 spam/ham samples to ensue they stil
get BAYES_00 or BAYES_999

[root@mail-gw:~]$ cat /usr/local/bin/spamfilter-check-config.sh
#!/usr/bin/bash
su -c "/usr/bin/bash /usr/local/bin/workers/spamfilter-check-config.sh 2>&1 |
grep -v 'description exists for non-existent rule' | grep -v 'please rerun with
debug enabled'" - sa-milt

[root@mail-gw:~]$ cat /usr/local/bin/workers/spamfilter-check-config.sh
#!/usr/bin/bash
/usr/bin/spamassassin --siteconfigpath=/etc/mail/spamassassin --lint
/usr/bin/spamassassin --siteconfigpath=/etc/mail/spamassassin-debug --lint
/usr/bin/spamassassin --siteconfigpath=/etc/mail/spamassassin-submission --lint

[root@mail-gw:~]$ su - sa-milt
[sa-milt@mail-gw:~]$ /usr/bin/spamassassin
--siteconfigpath=/etc/mail/spamassassin --lint

[sa-milt@mail-gw:~]$ /usr/bin/spamassassin
--siteconfigpath=/etc/mail/spamassassin-debug --lint
Jun  9 14:51:08.572 [1744702] warn: rules: failed to run __PDS_URL_SHORTENER
test, skipping:
Jun  9 14:51:08.572 [1744702] warn:  (Can't locate object method
"check_uri_host_listed" via package "Mail: [...]:SpamAssassin::PerMsgStatus" at
(eval 1478) line 19.
Jun  9 14:51:08.572 [1744702] warn: )
Jun  9 14:51:08.629 [1744702] warn: lint: 1 issues detected, please rerun with
debug enabled for more information
[sa-milt@mail-gw:~]$

-- 
You are receiving this mail because:
You are the assignee for the bug.