Mailing List Archive

[Bug 7881] sa-learn queries uribl for already known messages
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7881

Henrik Krohns <apache@hege.li> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |apache@hege.li

--- Comment #1 from Henrik Krohns <apache@hege.li> ---
I can't reproduce this with 3.4.4 or newer versions.

What does sa-learn display if you add -D (debug) option? Are there dns: or
async: lines that clearly show launching queries?

--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 7881] sa-learn queries uribl for already known messages [ In reply to ]
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7881

Henrik Krohns <apache@hege.li> changed:

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

--- Comment #2 from Henrik Krohns <apache@hege.li> ---
Please try latest version. Make sure the queries don't come from elsewhere on
the server. If you still have the problem, feel free to reopen.

--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 7881] sa-learn queries uribl for already known messages [ In reply to ]
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7881

Henrik Krohns <apache@hege.li> changed:

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

--- Comment #3 from Henrik Krohns <apache@hege.li> ---
Well it seems using TxRep with 3.4 launches DNS queries for some reason..

--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 7881] sa-learn queries uribl for already known messages [ In reply to ]
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7881

Greg Troxel <gdt@lexort.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |gdt@lexort.com

--- Comment #4 from Greg Troxel <gdt@lexort.com> ---
I have seen this to, when running sa-learn with TXREP enabled, without -L, on
3.4.5.

The basic problem (summarizingly unreasonably) seems to be that sa-learn is an
interface to the learn method of any plugin that has one, and that while the
man page makes claims about network access, they aren't true. Also, there may
be an expectation from the man page that learning is a quick process of
scanning tokens (as it is for bayes) but for TXREP it seems to involve scoring
the message.

I suggest two changes:

Fix sa-learn(1) to say that it's an interface to learning methods, and that the
behavior is controlled by the plugin. Remove the notion that -L is not needed,
and instead say that -L is strongly recommended for bulk learning. Add a
command to show the currrent learn methods that would be invoked.

Change txrep to not rescore on learning, and instead just use the configure
ham/spam scores. Once the user has declared ham/spam the score is not really
of interest.

--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 7881] sa-learn queries uribl for already known messages [ In reply to ]
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7881

Henrik Krohns <apache@hege.li> changed:

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

--- Comment #5 from Henrik Krohns <apache@hege.li> ---
Some plugins in 3.4 launched queries at parsed_metadata. Which apparenly wasn't
called without TxRep, which explicitly calls extract_message_metadata() because
it needs relay data..

Committed some fixes for 3.4, but I doubt 3.4.7 release will be seen, all work
is for 4.0 now.

Sending spamassassin-3.4/lib/Mail/SpamAssassin/Plugin/ASN.pm
Sending spamassassin-3.4/lib/Mail/SpamAssassin/Plugin/AskDNS.pm
Sending spamassassin-3.4/lib/Mail/SpamAssassin/Plugin/URIDNSBL.pm
Sending spamassassin-3.4/lib/Mail/SpamAssassin.pm
Transmitting file data ....done
Committing transaction...
Committed revision 1888903.

--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 7881] sa-learn queries uribl for already known messages [ In reply to ]
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7881

--- Comment #6 from Greg Troxel <gdt@lexort.com> ---
Are you saying this is fixed in 4, or wasn't a bug there, or ?

--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 7881] sa-learn queries uribl for already known messages [ In reply to ]
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7881

--- Comment #7 from Henrik Krohns <apache@hege.li> ---
(In reply to Greg Troxel from comment #6)
> Are you saying this is fixed in 4, or wasn't a bug there, or ?

Plugins in 4 work differently so no issue there.

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