You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Benny Pedersen <me...@junc.eu> on 2017/12/21 15:40:13 UTC
maillist.pm module ?
is this plugin used at all ?
i see freemail defines __ml why does it not use maillist.pm to detect
maillists ?
asking since i have a own plugin where i like to use this plugin for my
own needs to detect maillist so my rules does not hit there
could some guide me on how to ?
Re: maillist.pm module ?
Posted by Michael Storz <Mi...@lrz.de>.
Am 2017-12-22 12:04, schrieb Axb:
> On 12/22/2017 10:58 AM, Michael Storz wrote:
>> Am 2017-12-21 18:08, schrieb Axb:
>>> On 12/21/2017 05:20 PM, Benny Pedersen wrote:
>>>> RW skrev den 2017-12-21 17:12:
>>>>> On Thu, 21 Dec 2017 16:40:13 +0100
>>>>> Benny Pedersen wrote:
>>>>>
>>>>>> is this plugin used at all ?
>>>>>>
>>>>>> i see freemail defines __ml why does it not use maillist.pm to
>>>>>> detect
>>>>>> maillists ?
>>>>>>
>>>>>> asking since i have a own plugin where i like to use this plugin
>>>>>> for
>>>>>> my own needs to detect maillist so my rules does not hit there
>>>>>
>>>>> There's no such plugin in SA or in the list of custom plugins.
>>>>>
>>>>> In a search there were a two hit on a Maillist.pm which appears to
>>>>> be
>>>>> unrelated to SA. All the other hits were from you.
>>>>
>>>> https://apache.googlesource.com/spamassassin/+/bug-5293-pluginized-bayes/lib/Mail/SpamAssassin/MailingList.pm
>>>> i like to use this module, sorry its not a plugin, but it is there
>>>>
>>>> hope to bring it to live with a rule
>>>
>>> don't understand the need for this when a handfull of header rules do
>>> just the same and way more efficiently.
>>> What am I missing?
>>
>> This is interesting. Can you explain why a handfull of header rules
>> would be more efficient than using a dedicated Perl module? I always
>> thought the opposite would be true.
>>
>> Michael
>
> Why do you think the use of a dedicated Perl module would be the
> better choice for this case?
Because header rules are another layer on top of Perl. Perl uses
short-circuit evaluation for boolean operators whereas meta rules
evaluate all terms. Several functions of HeaderEval.pm could be
expressed by header rules, but they have been programmed as procedures.
Michael
Re: maillist.pm module ?
Posted by Axb <ax...@gmail.com>.
On 12/22/2017 10:58 AM, Michael Storz wrote:
> Am 2017-12-21 18:08, schrieb Axb:
>> On 12/21/2017 05:20 PM, Benny Pedersen wrote:
>>> RW skrev den 2017-12-21 17:12:
>>>> On Thu, 21 Dec 2017 16:40:13 +0100
>>>> Benny Pedersen wrote:
>>>>
>>>>> is this plugin used at all ?
>>>>>
>>>>> i see freemail defines __ml why does it not use maillist.pm to detect
>>>>> maillists ?
>>>>>
>>>>> asking since i have a own plugin where i like to use this plugin for
>>>>> my own needs to detect maillist so my rules does not hit there
>>>>
>>>> There's no such plugin in SA or in the list of custom plugins.
>>>>
>>>> In a search there were a two hit on a Maillist.pm which appears to be
>>>> unrelated to SA. All the other hits were from you.
>>>
>>> https://apache.googlesource.com/spamassassin/+/bug-5293-pluginized-bayes/lib/Mail/SpamAssassin/MailingList.pm
>>> i like to use this module, sorry its not a plugin, but it is there
>>>
>>> hope to bring it to live with a rule
>>
>> don't understand the need for this when a handfull of header rules do
>> just the same and way more efficiently.
>> What am I missing?
>
> This is interesting. Can you explain why a handfull of header rules
> would be more efficient than using a dedicated Perl module? I always
> thought the opposite would be true.
>
> Michael
Why do you think the use of a dedicated Perl module would be the better
choice for this case?
Re: maillist.pm module ?
Posted by Michael Storz <Mi...@lrz.de>.
Am 2017-12-21 18:08, schrieb Axb:
> On 12/21/2017 05:20 PM, Benny Pedersen wrote:
>> RW skrev den 2017-12-21 17:12:
>>> On Thu, 21 Dec 2017 16:40:13 +0100
>>> Benny Pedersen wrote:
>>>
>>>> is this plugin used at all ?
>>>>
>>>> i see freemail defines __ml why does it not use maillist.pm to
>>>> detect
>>>> maillists ?
>>>>
>>>> asking since i have a own plugin where i like to use this plugin for
>>>> my own needs to detect maillist so my rules does not hit there
>>>
>>> There's no such plugin in SA or in the list of custom plugins.
>>>
>>> In a search there were a two hit on a Maillist.pm which appears to be
>>> unrelated to SA. All the other hits were from you.
>>
>> https://apache.googlesource.com/spamassassin/+/bug-5293-pluginized-bayes/lib/Mail/SpamAssassin/MailingList.pm
>> i like to use this module, sorry its not a plugin, but it is there
>>
>> hope to bring it to live with a rule
>
> don't understand the need for this when a handfull of header rules do
> just the same and way more efficiently.
> What am I missing?
This is interesting. Can you explain why a handfull of header rules
would be more efficient than using a dedicated Perl module? I always
thought the opposite would be true.
Michael
Re: maillist.pm module ?
Posted by Axb <ax...@gmail.com>.
On 12/21/2017 05:20 PM, Benny Pedersen wrote:
> RW skrev den 2017-12-21 17:12:
>> On Thu, 21 Dec 2017 16:40:13 +0100
>> Benny Pedersen wrote:
>>
>>> is this plugin used at all ?
>>>
>>> i see freemail defines __ml why does it not use maillist.pm to detect
>>> maillists ?
>>>
>>> asking since i have a own plugin where i like to use this plugin for
>>> my own needs to detect maillist so my rules does not hit there
>>
>> There's no such plugin in SA or in the list of custom plugins.
>>
>> In a search there were a two hit on a Maillist.pm which appears to be
>> unrelated to SA. All the other hits were from you.
>
> https://apache.googlesource.com/spamassassin/+/bug-5293-pluginized-bayes/lib/Mail/SpamAssassin/MailingList.pm
>
>
> i like to use this module, sorry its not a plugin, but it is there
>
> hope to bring it to live with a rule
don't understand the need for this when a handfull of header rules do
just the same and way more efficiently.
What am I missing?
Re: maillist.pm module ?
Posted by Benny Pedersen <me...@junc.eu>.
RW skrev den 2017-12-21 17:12:
> On Thu, 21 Dec 2017 16:40:13 +0100
> Benny Pedersen wrote:
>
>> is this plugin used at all ?
>>
>> i see freemail defines __ml why does it not use maillist.pm to detect
>> maillists ?
>>
>> asking since i have a own plugin where i like to use this plugin for
>> my own needs to detect maillist so my rules does not hit there
>
> There's no such plugin in SA or in the list of custom plugins.
>
> In a search there were a two hit on a Maillist.pm which appears to be
> unrelated to SA. All the other hits were from you.
https://apache.googlesource.com/spamassassin/+/bug-5293-pluginized-bayes/lib/Mail/SpamAssassin/MailingList.pm
i like to use this module, sorry its not a plugin, but it is there
hope to bring it to live with a rule
Re: maillist.pm module ?
Posted by RW <rw...@googlemail.com>.
On Thu, 21 Dec 2017 16:40:13 +0100
Benny Pedersen wrote:
> is this plugin used at all ?
>
> i see freemail defines __ml why does it not use maillist.pm to detect
> maillists ?
>
> asking since i have a own plugin where i like to use this plugin for
> my own needs to detect maillist so my rules does not hit there
There's no such plugin in SA or in the list of custom plugins.
In a search there were a two hit on a Maillist.pm which appears to be
unrelated to SA. All the other hits were from you.