OCTADE |
mail  files  register  groups  login |
1 |
<upnsss$1itvl$1@paganini.bofh.team>
copy midhttps://news.octade.net/rocksolid/article-flat.php?id=301&group=rocksolid.nodes.help#301
copy link Newsgroups: rocksolid.nodes.helpWill someone walk me through a solution to this problem using nocem?
Consider a hypothetical spam flooder who has spammed 100 different
groups. Thousands of his messages are now on my local rslight server.
The spams have this header: From: Evil Spammer <evil@spam.bot>.
The spams also have this subject: Subject: Free Spam From Dr. Evil.
The spams have the path origin of: Path myserver!otherserver!spam.url.
1. How do I issue a nocem that will delete and sanitize all messages
from my server containing keyword 'Spammer' in the From: header?
2. How do I issue a nocem that will delete and sanitize all messages
from my server containing substring 'Free Spam' in the Subject: header?
3. How do I issue a nocem that will delete and sanitize all messages
from my server containing 'evil@spam.bot' in the From: header?
4. How do I issue a nocem that will delete and sanitize all messages
from my server containing 'spam.url' as origin in the Path: header?
--
SugarBug <3883@sugar.bug>
<007fc69f86079acc6b91b7adba5bae0b@www.novabbs.org>
copy midhttps://news.octade.net/rocksolid/article-flat.php?id=302&group=rocksolid.nodes.help#302
copy link Newsgroups: rocksolid.nodes.helpSugarBug wrote:
> Will someone walk me through a solution to this problem using nocem?
> Consider a hypothetical spam flooder who has spammed 100 different
> groups. Thousands of his messages are now on my local rslight server.
> The spams have this header: From: Evil Spammer <evil@spam.bot>.
> The spams also have this subject: Subject: Free Spam From Dr. Evil.
> The spams have the path origin of: Path myserver!otherserver!spam.url.
> 1. How do I issue a nocem that will delete and sanitize all messages
> from my server containing keyword 'Spammer' in the From: header?
> 2. How do I issue a nocem that will delete and sanitize all messages
> from my server containing substring 'Free Spam' in the Subject: header?
> 3. How do I issue a nocem that will delete and sanitize all messages
> from my server containing 'evil@spam.bot' in the From: header?
> 4. How do I issue a nocem that will delete and sanitize all messages
> from my server containing 'spam.url' as origin in the Path: header?
The problem is similar to doing the same for an inn server. You need to find the messages you wish to delete.
The way I do it is perform searching in a newsreader (I use Sylpheed). I open a folder window on my screen (I use Krusader, but any should work), then I highlight and drag all the articles I want to list in NoCeM from Sylpheed to the folder (Not all news readers make this easy, but Sylpheed seems to).
Now that I have a folder full of the articles I want to list, I run a custom script to roll through each article and create a NoCeM entry, building the NoCeM message. Then I post it.
That is how the NoCeMs you see in news.lists.filters from i2pn2 are built that contain the From: and Subject: lines, in addition to Message-Id:
The ones with just Message-Id are automated.
I can share the script I use, but I need to clean it up as it is hardcoded with ,my own info atm. It requires php.
--
Retro Guy
<dd78932516d429e0b4e7e81aff3eec32@www.novabbs.org>
copy midhttps://news.octade.net/rocksolid/article-flat.php?id=303&group=rocksolid.nodes.help#303
copy link Newsgroups: rocksolid.nodes.helpRetro Guy wrote:
> SugarBug wrote:
>> Will someone walk me through a solution to this problem using nocem?
>> Consider a hypothetical spam flooder who has spammed 100 different
>> groups. Thousands of his messages are now on my local rslight server.
>> The spams have this header: From: Evil Spammer <evil@spam.bot>.
>> The spams also have this subject: Subject: Free Spam From Dr. Evil.
>> The spams have the path origin of: Path myserver!otherserver!spam.url.
>> 1. How do I issue a nocem that will delete and sanitize all messages
>> from my server containing keyword 'Spammer' in the From: header?
>> 2. How do I issue a nocem that will delete and sanitize all messages
>> from my server containing substring 'Free Spam' in the Subject: header?
>> 3. How do I issue a nocem that will delete and sanitize all messages
>> from my server containing 'evil@spam.bot' in the From: header?
>> 4. How do I issue a nocem that will delete and sanitize all messages
>> from my server containing 'spam.url' as origin in the Path: header?
> The problem is similar to doing the same for an inn server. You need to find the messages you wish to delete.
> The way I do it is perform searching in a newsreader (I use Sylpheed). I open a folder window on my screen (I use Krusader, but any should work), then I highlight and drag all the articles I want to list in NoCeM from Sylpheed to the folder (Not all news readers make this easy, but Sylpheed seems to).
> Now that I have a folder full of the articles I want to list, I run a custom script to roll through each article and create a NoCeM entry, building the NoCeM message. Then I post it.
> That is how the NoCeMs you see in news.lists.filters from i2pn2 are built that contain the From: and Subject: lines, in addition to Message-Id:
> The ones with just Message-Id are automated.
> I can share the script I use, but I need to clean it up as it is hardcoded with ,my own info atm. It requires php.
Oh yeah, I already did that (made the script available). It's in 'tools' in rslight git.
--
Retro Guy
<upp6s6$1l05o$1@paganini.bofh.team>
copy midhttps://news.octade.net/rocksolid/article-flat.php?id=306&group=rocksolid.nodes.help#306
copy link Newsgroups: rocksolid.nodes.helpOn Sun, 4 Feb 2024 18:30:26 +0000
retro.guy@rocksolidbbs.com (Retro Guy) wrote:
> Retro Guy wrote:
>
> > SugarBug wrote:
>
> >> Will someone walk me through a solution to this problem using
> >> nocem?
>
> >> Consider a hypothetical spam flooder who has spammed 100 different
> >> groups. Thousands of his messages are now on my local rslight
> >> server.
>
> >> The spams have this header: From: Evil Spammer <evil@spam.bot>.
> >> The spams also have this subject: Subject: Free Spam From Dr. Evil.
> >> The spams have the path origin of: Path
> >> myserver!otherserver!spam.url.
>
> >> 1. How do I issue a nocem that will delete and sanitize all
> >> messages from my server containing keyword 'Spammer' in the From:
> >> header?
>
> >> 2. How do I issue a nocem that will delete and sanitize all
> >> messages from my server containing substring 'Free Spam' in the
> >> Subject: header?
>
> >> 3. How do I issue a nocem that will delete and sanitize all
> >> messages from my server containing 'evil@spam.bot' in the From:
> >> header?
>
> >> 4. How do I issue a nocem that will delete and sanitize all
> >> messages from my server containing 'spam.url' as origin in the
> >> Path: header?
>
> > The problem is similar to doing the same for an inn server. You
> > need to find the messages you wish to delete.
>
> > The way I do it is perform searching in a newsreader (I use
> > Sylpheed). I open a folder window on my screen (I use Krusader, but
> > any should work), then I highlight and drag all the articles I want
> > to list in NoCeM from Sylpheed to the folder (Not all news readers
> > make this easy, but Sylpheed seems to).
>
> > Now that I have a folder full of the articles I want to list, I run
> > a custom script to roll through each article and create a NoCeM
> > entry, building the NoCeM message. Then I post it.
>
> > That is how the NoCeMs you see in news.lists.filters from i2pn2 are
> > built that contain the From: and Subject: lines, in addition to
> > Message-Id:
>
> > The ones with just Message-Id are automated.
>
> > I can share the script I use, but I need to clean it up as it is
> > hardcoded with ,my own info atm. It requires php.
>
> Oh yeah, I already did that (made the script available). It's in
> 'tools' in rslight git.
Ah, I think I get it now. I should collect the messages containing the
target data then run nocem generation on the collection of messages. The
simple solution evaded me.
Thank you, sir!
--
SugarBug <3883@sugar.bug> | https://sybershock.com
<uppo8o$1qg9l$1@paganini.bofh.team>
copy midhttps://news.octade.net/rocksolid/article-flat.php?id=307&group=rocksolid.nodes.help#307
copy link Newsgroups: rocksolid.nodes.helpOne more question:
If I want to apply the nocems to my server without propagating the nocem
to other servers that accept nocems from mine, what is the simplest way?
--
SugarBug <3883@sugar.bug> | sybershock.com
<f7b79e22c0d0b7d5a90893e5a60be6ff@www.novabbs.org>
copy midhttps://news.octade.net/rocksolid/article-flat.php?id=308&group=rocksolid.nodes.help#308
copy link Newsgroups: rocksolid.nodes.helpSugarBug wrote:
> One more question:
> If I want to apply the nocems to my server without propagating the nocem
> to other servers that accept nocems from mine, what is the simplest way?
We should probably modify the script to handle that easily.
You should be able to simply add a nocem message to <spooldir>/nocem and wait for cron.php to run.
You can make a nocem message by modifying nocempost.php to NOT post (no rpost), but to cat the files:
header.out
<blank line>
nocem.out.asc
then save it.
--
Retro Guy
1 |