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

--- Comment #17 from Reindl Harald <[email protected]> ---
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.

Reply via email to