Re: using spamassassin to classify spam

2022-03-25 Thread Michael Grant
On Fri, Mar 25, 2022 at 02:27:09PM +0200, Henrik K wrote: > On Fri, Mar 25, 2022 at 06:01:43AM -0400, Michael Grant wrote: > > > > Unless there's an existing function in some plugin to do this, I'll > > have to write my own. Little surprising that there isn't, this seems > > like an obvious check!

Re: using spamassassin to classify spam

2022-03-25 Thread Benny Pedersen
On 2022-03-25 13:27, Henrik K wrote: On Fri, Mar 25, 2022 at 06:01:43AM -0400, Michael Grant wrote: Unless there's an existing function in some plugin to do this, I'll have to write my own. Little surprising that there isn't, this seems like an obvious check! There is already very basic HEAD

Re: using spamassassin to classify spam

2022-03-25 Thread Martin Gregorie
On Thu, 2022-03-24 at 18:34 -0600, Grant Taylor wrote: > On 3/24/22 5:00 PM, Michael Grant wrote: > > List-Unsubscribe: > > > > > > I want to extract the mumble.aidemxwzlwt.bwbibibi.edu and run it > > through AskDNS and if I get an N

Re: using spamassassin to classify spam

2022-03-25 Thread Matus UHLAR - fantomas
On Fri, Mar 25, 2022 at 06:01:43AM -0400, Michael Grant wrote: Unless there's an existing function in some plugin to do this, I'll have to write my own. Little surprising that there isn't, this seems like an obvious check! On 2022-03-25 13:27, Henrik K wrote: There is already very basic HEADE

Re: using spamassassin to classify spam

2022-03-25 Thread Henrik K
On Fri, Mar 25, 2022 at 06:01:43AM -0400, Michael Grant wrote: > > Unless there's an existing function in some plugin to do this, I'll > have to write my own. Little surprising that there isn't, this seems > like an obvious check! There is already very basic HEADER() template support added in tru

Re: using spamassassin to classify spam

2022-03-25 Thread Benny Pedersen
On 2022-03-25 11:01, Michael Grant wrote: Otherwise, I'll have to write a plugin but it seems a shame. if you are good at writing plugin, why is it a shame then ? i can only confirm its not for beginners to write rules to spamassassin, but even try in rspamd is waste & harder unless its clea

Re: using spamassassin to classify spam

2022-03-25 Thread Michael Grant
> On 24.03.22 18:34, Grant Taylor wrote: > > Remember, there are historic mechanisms for an MX for parent domains to > > handle child domains even if the child domain in question doesn't have > > it's own MX record. > > which, besides wildcard DNS? > > OP, also remember that mumble.aidemxwzlwt.bwb

Re: using spamassassin to classify spam

2022-03-25 Thread Matus UHLAR - fantomas
On 3/24/22 5:00 PM, Michael Grant wrote: List-Unsubscribe: I want to extract the mumble.aidemxwzlwt.bwbibibi.edu and run it through AskDNS and if I get an NXDOMAIN, I want to score it. On 24.03.22 18:34, Grant Taylor wrote: Remem

Re: using spamassassin to classify spam

2022-03-24 Thread Grant Taylor
On 3/24/22 5:00 PM, Michael Grant wrote: List-Unsubscribe: I want to extract the mumble.aidemxwzlwt.bwbibibi.edu and run it through AskDNS and if I get an NXDOMAIN, I want to score it. Remember, there are historic mechanisms for

using spamassassin to classify spam

2022-03-24 Thread Michael Grant
I would like to write a rule that checks if a header has a domain name that doesn't resolve. For example this header: List-Unsubscribe: I want to extract the mumble.aidemxwzlwt.bwbibibi.edu and run it through AskDNS and if I get an