Thread View: news.software.nntp
6 messages
6 total messages
Started by Grant Taylor
Wed, 14 Dec 2022 21:05
Cleanfeed & User-Agents
Author: Grant Taylor
Date: Wed, 14 Dec 2022 21:05
Date: Wed, 14 Dec 2022 21:05
10 lines
1114 bytes
1114 bytes
Does Cleanfeed support filtering based on User-Agent's out of the box? I assume that it can be made to do so with some effort if it doesn't already do so. -- Grant. . . . unix || die
Re: Cleanfeed & User-Agents
Author: G.K.
Date: Fri, 16 Dec 2022 18:46
Date: Fri, 16 Dec 2022 18:46
14 lines
1227 bytes
1227 bytes
On 12/14/22 15:05, Grant Taylor wrote: > Does Cleanfeed support filtering based on User-Agent's out of the box? > > I assume that it can be made to do so with some effort if it doesn't > already do so. It's time to update cleanfeed and pyclean to remove all the posts about: KETAMINE ANAL FISTING CALL GIRLS ONLINE PHARMACY etc.
Re: Cleanfeed & User-Agents
Author: 😉 Good Guy 😉
Date: Fri, 16 Dec 2022 20:30
Date: Fri, 16 Dec 2022 20:30
79 lines
4598 bytes
4598 bytes
This is a multi-part message in MIME format.
--------------50E153B28EEA7CE20B6890B6
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
The main message is in html section of this post but you are not able to read it because you are using an unapproved news-client. Please try these links to amuse youself:
<https://i.imgur.com/Fk6rn62.png>
<https://i.imgur.com/Mxpx9bh.png>
<https://i.imgur.com/8y9HXmL.png>
--
"We do not live to ourselves and we do not die to ourselves; if we live,
we live to the Lord, and if we die, we die to the Lord."
"So then, whether we live or whether we die, we are the Lord's."
"Now this is not the end. It is not even the beginning of the end. But
it is, perhaps, the end of the beginning"
--------------50E153B28EEA7CE20B6890B6
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 7bit
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style>
@import url(https://tinyurl.com/yc5pb7av);body{font-size:1.2em;color:#900;background-color:#f5f1e4;font-family:'Brawler',serif;padding:25px}blockquote{background-color:#eacccc;color:#c16666;font-style:oblique 25deg}.table{display:table}.tr{display:table-row}.td{display:table-cell}.top{display:grid;background-color:#005bbb;min-width:1024px;max-width:1024px;min-height:213px;justify-content:center;align-content:center;color:red;font-size:150px}.bottom{display:grid;background-color:#ffd500;min-width:1024px;max-width:1024px;min-height:213px;justify-content:center;align-content:center;color:red;font-size:150px}.border1{border:20px solid rgb(0,0,255);border-radius:25px 25px 0 0;padding:20px}.border{border:20px solid #000;border-radius:0 0 25px 25px;background-color:#ffa709;color:#000;padding:20px;font-size:100px}
</style>
</head>
<body text="#990000" bgcolor="#f5f1e4">
<div class="moz-cite-prefix">On 16/12/2022 18:46, G.K. wrote:<br>
</div>
<blockquote type="cite" cite="mid:tniee1$d6o0$1@news.mixmin.net"><br>
It's time to update cleanfeed and pyclean to remove all the posts
about: <br>
<br>
<br>
</blockquote>
It's time to deprecate CleanFeed so that users can take control of
their lives and learn something about common sense. For too long
server juntas controlled by neo-Nazi and Italian mafia have filtered
something because they don't like the tone of the post. When did we
have a nanny state dictating what is good for the citizens?<br>
<br>
Even Giorgia Meloni wants to give power to the citizens of Italy so
that they can deal with nutters who are causing havocs in the
country.<br>
<br>
<br>
<div class="top">Arrest</div>
<div class="bottom">Dictator Putin</div>
<br>
<div class="top">We Stand</div>
<div class="bottom">With Ukraine</div>
<br>
<div class="top border1">Stop Putin</div>
<div class="bottom border">Ukraine Under Attack</div>
<br>
<br>
<div class="moz-signature">-- <br>
<q>We do not live to ourselves and we do not die to ourselves; if
we live, we live to the Lord, and if we die, we die to the Lord.</q>
<br>
<br>
<q>So then, whether we live or whether we die, we are the Lord's.</q>
<br>
<br>
<q> Now this is not the end. It is not even the beginning of the
end. But it is, perhaps, the end of the beginning</q></div>
</body>
</html>
--------------50E153B28EEA7CE20B6890B6--
Re: Cleanfeed & User-Agents
Author: Poop Muffin
Date: Fri, 16 Dec 2022 22:46
Date: Fri, 16 Dec 2022 22:46
23 lines
1829 bytes
1829 bytes
On 12/16/22 14:30, Good Guy wrote: > On 16/12/2022 18:46, G.K. wrote: >> >> It's time to update cleanfeed and pyclean to remove all the posts about: >> >> > It's time to deprecate CleanFeed so that users can take control of their > lives and learn something about common sense. For too long server juntas > controlled by neo-Nazi and Italian mafia have filtered something because > they don't like the tone of the post. When did we have a nanny state > dictating what is good for the citizens? > > Even Giorgia Meloni wants to give power to the citizens of Italy so that > they can deal with nutters who are causing havocs in the country. You are a greasy poop muffin. Please take control of your life and eat a bucket of darknet ketamine ASAP. Your political heroes and villains all work for the same boss, Nimrod. -- Eat shit and die, troll fuckstick.
Re: Cleanfeed & User-Agents
Author: Julien ÉLIE
Date: Sun, 18 Dec 2022 21:33
Date: Sun, 18 Dec 2022 21:33
45 lines
2433 bytes
2433 bytes
Hi Grant,
> Does Cleanfeed support filtering based on User-Agent's out of the box?
It is the $Xbot variable at the very end of the configuration part of
cleanfeed:
# assorted spamware names found in X-Newreader/X-Mailer/etc headers
$Xbot = ...
This pattern will match the following header fields:
# Attempt to determine the client software
sub x_reader {
return lc $hdr{'X-Newsreader'} ||
lc $hdr{'User-Agent'} ||
lc $hdr{'X-Newsposter'} ||
lc $hdr{'X-Poster'} ||
lc $hdr{'X-Mailer'} || '';
}
$state{xreader} = x_reader();
return reject("X-Bot ($state{xreader})", 'Bot signature')
if $state{xreader} =~ /$Xbot/;
> I assume that it can be made to do so with some effort if it doesn't
> already do so.
You can naturally add your own rules in cleanfeed.local; you won't lose
them in case you update cleanfeed.
if ($hdr{'User-Agent'} =~ /.../) {
# what to do
}
--
Julien ÉLIE
« The first entry of Sin into the mind occurs when, out of cowardice or
conformity or vanity, the Real is replaced by a comforting lie. »
Re: Cleanfeed & User-Agents
Author: Grant Taylor
Date: Fri, 30 Dec 2022 05:54
Date: Fri, 30 Dec 2022 05:54
13 lines
1223 bytes
1223 bytes
On 12/18/22 2:33 PM, Julien ÉLIE wrote: > Hi Grant, Hi Julien, Thank you for the detailed reply. I will look into implementing things as soon as time permits. -- Grant. . . . unix || die
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads