๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: alt.privacy.anon-server
11 messages
11 total messages Started by Stefan Claas Mon, 06 Sep 2021 17:36
Re: ๐Ÿณ๏ธโ€๐ŸŒˆping - Grant๐Ÿณ๏ธโ€๐ŸŒˆ
#316071
Author: Stefan Claas
Date: Mon, 06 Sep 2021 17:36
44 lines
2883 bytes
<>
References: <05951731-43d0-4755-a28d-2ed7f91c6322n@googlegroups.com>
 <uvTvVdBca$@checkmate.orgy.<รณ
<>
Subject: =?UTF-8?Q?Re:_=F0=9F=8F=B3=EF=B8=8F=E2=80=8D=F0=9F=8C=88ping?=
 =?UTF-8?Q?_-_Grant=F0=9F=8F=B3=EF=B8=8F=E2=80=8D=F0=9F=8C=88?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On Monday, September 6, 2021 at 7:28:36 PM UTC+2, =F0=9F=8C=88=F0=9F=92=90=
=F0=9F=8C=BB=F0=9F=8C=BA=F0=9F=8C=B9=F0=9F=8C=BB=F0=9F=92=90=F0=9F=8C=B7=F0=
=9F=8C=BA=F0=9F=8C=88Jen=F0=9F=8C=88=F0=9F=92=90=F0=9F=8C=BB=F0=9F=8C=BA=F0=
=9F=8C=B9=F0=9F=8C=BB=F0=9F=92=90=F0=9F=8C=B7=F0=9F=8C=BA=F0=9F=8C=88 Dersh=
mender=F0=9F=92=90=F0=9F=8C=BB=F0=9F=8C=BA=F0=9F=8C=B9=F0=9F=8C=BB=F0=9F=92=
=90=F0=9F=8C=B7=F0=9F=8C=BA=F0=9F=90=B6=E7=AC=9B=F0=9F=8C=88=F0=9F=92=90=F0=
=9F=8C=BB=F0=9F=8C=BA=F0=9F=8C=B9=F0=9F=8C=BB=F0=9F=92=90=F0=9F=8C=B7=F0=9F=
=8C=BA=F0=9F=8C=88 wrote:

[...]

> write a bash script that does the correct piping and redirection and then=
 call that from procmail.=20

I am no procmail user and do not know (yet) how to parse the mail with proc=
mail
and *then* call from procmail a script to do the piping (if this would work=
). But
thanks for the suggestion.

Regards
Stefan
Re: ๐Ÿณ๏ธโ€๐ŸŒˆping - Grant๐Ÿณ๏ธโ€๐ŸŒˆ
#316073
Author: Grant Taylor
Date: Mon, 06 Sep 2021 17:54
23 lines
2015 bytes
On 9/6/21 11:36 AM, Stefan Claas wrote:
> call that from procmail.
> 
> I am no procmail user and do not know (yet) how to parse the mail with 
> proc= mail and *then* call from procmail a script to do the piping 
> (if this would work= ).
You can use a procmail recipe to detect / match the messages that you 
want to alter.

Then have procmail deliver the message into the program (script or what 
have you) that does the modification that you want and subsequently 
sending the message into the sendmail command (be it Sendmail proper or 
something else that provides a sendmail like command.  E.g.

:0
* Subject: my-test-subject
|/path/to/my-test-script.sh



-- 
Grant. . . .
unix || die
Re: Re: ๐Ÿณ๏ธโ€๐ŸŒˆping - Grant๐Ÿณ๏ธโ€๐ŸŒˆ
#316085
Author: Nomen Nescio
Date: Tue, 07 Sep 2021 08:59
22 lines
1597 bytes
In article <sh5kqn$rg8$1@tncsrv09.home.tnetconsulting.net>
Grant Taylor <gtaylor@tnetconsulting.net> wrote:
>
> On 9/6/21 11:36 AM, Stefan Claas wrote:
> > call that from procmail.
> >
> > I am no procmail user and do not know (yet) how to parse the mail with
> > proc= mail and *then* call from procmail a script to do the piping
> > (if this would work= ).
> You can use a procmail recipe to detect / match the messages that you
> want to alter.
>
> Then have procmail deliver the message into the program (script or what
> have you) that does the modification that you want and subsequently
> sending the message into the sendmail command (be it Sendmail proper or
> something else that provides a sendmail like command.  E.g.
>
> :0
> * Subject: my-test-subject
> |/path/to/my-test-script.sh

Altering messages!  Say it ain't so.
Re: Re: ๐Ÿณ๏ธโ€๐ŸŒˆping - Grant๐Ÿณ๏ธโ€๐ŸŒˆ
#316092
Author: Stefan Claas
Date: Tue, 07 Sep 2021 14:20
72 lines
3343 bytes
On Tuesday, September 7, 2021 at 10:59:44 AM UTC+2, Nomen Nescio wrote:
> In article <sh5kqn$rg8$1...@tncsrv09.home.tnetconsulting.net>
> Grant Taylor <gta...@tnetconsulting.net> wrote: 
> > 
> > On 9/6/21 11:36 AM, Stefan Claas wrote: 
> > > call that from procmail. 
> > > 
> > > I am no procmail user and do not know (yet) how to parse the mail with 
> > > proc= mail and *then* call from procmail a script to do the piping 
> > > (if this would work= ). 
> > You can use a procmail recipe to detect / match the messages that you 
> > want to alter. 
> > 
> > Then have procmail deliver the message into the program (script or what 
> > have you) that does the modification that you want and subsequently 
> > sending the message into the sendmail command (be it Sendmail proper or 
> > something else that provides a sendmail like command. E.g. 
> > 
> > :0 
> > * Subject: my-test-subject 
> > |/path/to/my-test-script.sh
> Altering messages! Say it ain't so.

Altering in that way that the hand rolled message from a Remailer send to
the Gateway looks like this:

From: mixmaster@domain.com
To: mail2bm@gateway.com
Subject: whatever

---Begin Bitmessage---
From: BM-address
To: BM-address
Subject: whatever

Hi Bob,

I am currently on vacation in Germany.

Love you
Alice
---End Bitmessage---

Now the messages gets altered by procmail and then will
be temporarly saved and after a couple of seconds picked
up via a oneliner and feed into the notbit client.

In order that this works the altered message looks like this:

From: BM-address
To: BM-address
Subject: whatever

Hi Bob,

I am currently on vacation in Germany.

Love you
Alice

I would like to avoid the temp saving step and would
much prefer direct piping from procmail into the BM client
but unfortunately I did not get this to work (yet).

Please also note this is *client* software and not server
software.

We can and should also discuss later more in detail how
the client works and stores messages etc.

Regards
Stefan
Re: Re: ๐Ÿณ๏ธโ€๐ŸŒˆping - Grant๐Ÿณ๏ธโ€๐ŸŒˆ
#316094
Author: Stefan Claas
Date: Tue, 07 Sep 2021 14:43
15 lines
1815 bytes
On Tuesday, September 7, 2021 at 4:20:50 PM UTC+2, Stefan Claas wrote:

> We can and should also discuss later more in detail how 
> the client works and stores messages etc. 

Meanwhile, if YAMN, Omnimix or QSL users have also Bitmessage
installed, please check or subscribe to the chan 'test' 

BM-2cWFkyuXXFw6d393RGnin2RpSXj8wxtt6F

I will later inject there more test and learning message, send from YAMN,
or my CTemplar account.

Regards
Stefan
Re: Re: ๐Ÿณ๏ธโ€๐ŸŒˆping - Grant๐Ÿณ๏ธโ€๐ŸŒˆ
#316095
Author: Stefan Claas
Date: Tue, 07 Sep 2021 16:15
17 lines
2034 bytes
On Tuesday, September 7, 2021 at 4:43:25 PM UTC+2, Stefan Claas wrote:
> On Tuesday, September 7, 2021 at 4:20:50 PM UTC+2, Stefan Claas wrote: 
> 
> > We can and should also discuss later more in detail how 
> > the client works and stores messages etc.
> Meanwhile, if YAMN, Omnimix or QSL users have also Bitmessage 
> installed, please check or subscribe to the chan 'test' 
> 
> BM-2cWFkyuXXFw6d393RGnin2RpSXj8wxtt6F 
> 
> I will later inject there more test and learning message, send from YAMN, 
> or my CTemplar account. 

Just tested with Omnimix and message arrived already in chan 'test'.

Regards
Stefan
--
#316100
Author: ๐ŸŒˆ๐Ÿ’๐ŸŒป๐ŸŒบ๐ŸŒน๐ŸŒป๐Ÿ’๐ŸŒท๐ŸŒบ๐ŸŒˆJen๐ŸŒˆ๐Ÿ’๐ŸŒป๐ŸŒบ๐ŸŒน๐ŸŒป๐Ÿ’๐ŸŒท๐ŸŒบ๐ŸŒˆ Dershmen...
Date: Tue, 07 Sep 2021 23:56
259 lines
8660 bytes
On Tue, 7 Sep 2021 07:20:48 -0700 (PDT), LO AND BEHOLD; Stefan Claas
<spam.trap.usenet@gmail.com> determined that the following was of great
importance and subsequently decided to freely share it with us in
<2ebb7fcf-ff41-4e33-9e47-d046ebe5f28cn@googlegroups.com>:
 
=?UTF-8?B?8J+Ps++4j+KAjfCfjIg=?= On Tuesday, September 7, 2021 at 10:59:44 AM UTC+2, Nomen Nescio wrote:
=?UTF-8?B?8J+Ps++4j+KAjfCfjIg=?= =?UTF-8?B?8J+Ps++4j+KAjfCfjIg=?= In article <sh5kqn$rg8$1...@tncsrv09.home.tnetconsulting.net> Grant
=?UTF-8?B?8J+Ps++4j+KAjfCfjIg=?= =?UTF-8?B?8J+Ps++4j+KAjfCfjIg=?= Taylor <gta...@tnetconsulting.net> wrote: 
=?UTF-8?B?8J+Ps++4j+KAjfCfjIg=?= =?UTF-8?B?8J+Ps++4j+KAjfCfjIg=?= =?UTF-8?B?8J+Ps++4j+KAjfCfjIg=?= On 9/6/21 11:36 AM, Stefan Claas wrote: 
=?UTF-8?B?8J+Ps++4j+KAjfCfjIg=?= =?UTF-8?B?8J+Ps++4j+KAjfCfjIg=?= =?UTF-8?B?8J+Ps++4j+KAjfCfjIg=?= =?UTF-8?B?8J+Ps++4j+KAjfCfjIg=?= call that from procmail. I am no procmail user and do not know (yet) how
=?UTF-8?B?8J+Ps++4j+KAjfCfjIg=?= =?UTF-8?B?8J+Ps++4j+KAjfCfjIg=?= =?UTF-8?B?8J+Ps++4j+KAjfCfjIg=?= =?UTF-8?B?8J+Ps++4j+KAjfCfjIg=?= to parse the mail with proc= mail and *then* call from procmail a
=?UTF-8?B?8J+Ps++4j+KAjfCfjIg=?= =?UTF-8?B?8J+Ps++4j+KAjfCfjIg=?= =?UTF-8?B?8J+Ps++4j+KAjfCfjIg=?= =?UTF-8?B?8J+Ps++4j+KAjfCfjIg=?= script to do the piping (if this would work= ). 
=?UTF-8?B?8J+Ps++4j+KAjfCfjIg=?= =?UTF-8?B?8J+Ps++4j+KAjfCfjIg=?= =?UTF-8?B?8J+Ps++4j+KAjfCfjIg=?= You can use a procmail recipe to detect / match the messages that you
=?UTF-8?B?8J+Ps++4j+KAjfCfjIg=?= =?UTF-8?B?8J+Ps++4j+KAjfCfjIg=?= =?UTF-8?B?8J+Ps++4j+KAjfCfjIg=?= want to alter. Then have procmail deliver the message into the program 
=?UTF-8?B?8J+Ps++4j+KAjfCfjIg=?= =?UTF-8?B?8J+Ps++4j+KAjfCfjIg=?= =?UTF-8?B?8J+Ps++4j+KAjfCfjIg=?= (script or what have you) that does the modification that you want and
=?UTF-8?B?8J+Ps++4j+KAjfCfjIg=?= =?UTF-8?B?8J+Ps++4j+KAjfCfjIg=?= =?UTF-8?B?8J+Ps++4j+KAjfCfjIg=?= subsequently sending the message into the sendmail command (be it
=?UTF-8?B?8J+Ps++4j+KAjfCfjIg=?= =?UTF-8?B?8J+Ps++4j+KAjfCfjIg=?= =?UTF-8?B?8J+Ps++4j+KAjfCfjIg=?= Sendmail proper or something else that provides a sendmail like
=?UTF-8?B?8J+Ps++4j+KAjfCfjIg=?= =?UTF-8?B?8J+Ps++4j+KAjfCfjIg=?= =?UTF-8?B?8J+Ps++4j+KAjfCfjIg=?= command. E.g. :0 * Subject: my-test-subject |/path/to/my-test-script.sh
=?UTF-8?B?8J+Ps++4j+KAjfCfjIg=?= =?UTF-8?B?8J+Ps++4j+KAjfCfjIg=?= Altering messages! Say it ain't so.
=?UTF-8?B?8J+Ps++4j+KAjfCfjIg=?= 
=?UTF-8?B?8J+Ps++4j+KAjfCfjIg=?= Altering in that way that the hand rolled message from a Remailer send
=?UTF-8?B?8J+Ps++4j+KAjfCfjIg=?= to the Gateway looks like this:
=?UTF-8?B?8J+Ps++4j+KAjfCfjIg=?= 
=?UTF-8?B?8J+Ps++4j+KAjfCfjIg=?= From: mixmaster@domain.com To: mail2bm@gateway.com Subject: whatever
=?UTF-8?B?8J+Ps++4j+KAjfCfjIg=?= 
=?UTF-8?B?8J+Ps++4j+KAjfCfjIg=?= ---Begin Bitmessage--- From: BM-address To: BM-address Subject: whatever
=?UTF-8?B?8J+Ps++4j+KAjfCfjIg=?= 
=?UTF-8?B?8J+Ps++4j+KAjfCfjIg=?= Hi Bob,
=?UTF-8?B?8J+Ps++4j+KAjfCfjIg=?= 
=?UTF-8?B?8J+Ps++4j+KAjfCfjIg=?= I am currently on vacation in Germany.
=?UTF-8?B?8J+Ps++4j+KAjfCfjIg=?= 
=?UTF-8?B?8J+Ps++4j+KAjfCfjIg=?= Love you Alice ---End Bitmessage---
=?UTF-8?B?8J+Ps++4j+KAjfCfjIg=?= 
=?UTF-8?B?8J+Ps++4j+KAjfCfjIg=?= Now the messages gets altered by procmail and then will be temporarly
=?UTF-8?B?8J+Ps++4j+KAjfCfjIg=?= saved and after a couple of seconds picked up via a oneliner and feed
=?UTF-8?B?8J+Ps++4j+KAjfCfjIg=?= into the notbit client.
=?UTF-8?B?8J+Ps++4j+KAjfCfjIg=?= 
=?UTF-8?B?8J+Ps++4j+KAjfCfjIg=?= In order that this works the altered message looks like this:
=?UTF-8?B?8J+Ps++4j+KAjfCfjIg=?= 
=?UTF-8?B?8J+Ps++4j+KAjfCfjIg=?= From: BM-address To: BM-address Subject: whatever
=?UTF-8?B?8J+Ps++4j+KAjfCfjIg=?= 
=?UTF-8?B?8J+Ps++4j+KAjfCfjIg=?= Hi Bob,
=?UTF-8?B?8J+Ps++4j+KAjfCfjIg=?= 
=?UTF-8?B?8J+Ps++4j+KAjfCfjIg=?= I am currently on vacation in Germany.
=?UTF-8?B?8J+Ps++4j+KAjfCfjIg=?= 
=?UTF-8?B?8J+Ps++4j+KAjfCfjIg=?= Love you Alice
=?UTF-8?B?8J+Ps++4j+KAjfCfjIg=?= 
=?UTF-8?B?8J+Ps++4j+KAjfCfjIg=?= I would like to avoid the temp saving step and would much prefer direct 
=?UTF-8?B?8J+Ps++4j+KAjfCfjIg=?= piping from procmail into the BM client but unfortunately I did not get 
=?UTF-8?B?8J+Ps++4j+KAjfCfjIg=?= this to work (yet).
=?UTF-8?B?8J+Ps++4j+KAjfCfjIg=?= 
=?UTF-8?B?8J+Ps++4j+KAjfCfjIg=?= Please also note this is *client* software and not server software.
=?UTF-8?B?8J+Ps++4j+KAjfCfjIg=?= 
=?UTF-8?B?8J+Ps++4j+KAjfCfjIg=?= We can and should also discuss later more in detail how the client works
=?UTF-8?B?8J+Ps++4j+KAjfCfjIg=?= and stores messages etc.
=?UTF-8?B?8J+Ps++4j+KAjfCfjIg=?= 
=?UTF-8?B?8J+Ps++4j+KAjfCfjIg=?= Regards Stefan 
=?UTF-8?B?8J+Ps++4j+KAjfCfjIg=?= 

you could probably use that to hide a fidonet feed origination.

(just a hypothetical)

"โˆš? out of 0 pet rocks" can't DIVISION BY ZERO...

-- 
[THIS POAST HAS PASSED TRIMCHECKยฎ VALIDATION]































































































































































































Re: ping - Grant
#316101
Author: Grant Taylor
Date: Wed, 08 Sep 2021 01:07
78 lines
4563 bytes
On 9/7/21 8:20 AM, Stefan Claas wrote:
> Now the messages gets altered by procmail and then will be temporarly 
> saved and after a couple of seconds picked up via a oneliner and feed 
> into the notbit client.

I think I would /not/ do the alteration with procmail.  Instead I'd have 
procmail deliver the message into another script (via the 
"|/path/to/script" method) and rely on the script to alter the message 
/and/ pass it on to the next step in the process (Bitmessage in this case).

> In order that this works the altered message looks like this:

It's not that you're /altering/ the message per se.  Instead you're 
extracting the /inner/ message that goes into Bitmessage from a separate 
/outer/ message used as a transport.

This seems perfectly reasonable to me.

> I would like to avoid the temp saving step and would much prefer 
> direct piping from procmail into the BM client but unfortunately I 
> did not get this to work (yet).

This is why I think you want to pipe from procmail into a script and 
have the script pipe into Bitmessage.

I threw together the following command line that I think conceptually 
does what you want.

...$PROCMAIL_STUFF... sed -n '/^---Begin Bitmessage---$/,/^---End 
Bitmessage---$/p' | sed '/ Bitmessage---$/d' ...$BITMESSAGE_STUFF...

I don't know the PROCMAIL_STUFF or the BITMESSAGE_STUFF off hand.  I'll 
leave that for you to figure out.  The PROCMAIL_STUFF is your procmail 
filter recipe to match things and deliver to /something/.  Where that 
/something/ is a (pair of) sed regular expressions.  The 
BITMESSAGE_STUFF is how you would take the output from sed and pipe it 
into Bitmessage.  (I suspect that you have 95% of both of these.)

I would likely put the sed and BITMESSAGE_STUFF in a script and have 
procmail just deliver to that (wrapper) script.

There's probably a way to combine both regular expressions into one sed 
invocation.  But, my brain doesn't see it after returning from a five 
mile hike.  So I'll just stick with this proof of concept for now. 
Hopefully it will give you ideas to chew on.

> Please also note this is *client* software and not server software.

Okay.

I'm not sure if, much less what, difference that makes.  I don't know 
enough about Bitmessage to speak about it in any way.

> We can and should also discuss later more in detail how the client 
> works and stores messages etc.

Okay.  Feel free to reply to this thread, or start a new one, or email 
me directly.  I'm happy to share my thoughts.  Hopefully they help.

I don't know if it speaks to the "stores messages" comment or not, but 
the piping from procmail into a (wrapper) script (which calls sed & 
Bitmessage) has the added advantage that nothing is actually stored on 
disk.  It's all a stream passing from program to program to program.

In the even that you do need to store something on disk, I'd suggest 
storing it in a directory that's a mounted tmpfs file system (assuming 
Linux) as that's pure memory, thus transient.

I have some other thoughts, but I don't know enough about Bitmessage to 
speak to them.  TL;DR:  Public key encryption for the waiting files 
which Bitmessage can decrypt when it's ready to use.  (If Bitmessage can 
do that.)  }:-)



-- 
Grant. . . .
unix || die
Re: ping - Grant
#316107
Author: Stefan Claas
Date: Wed, 08 Sep 2021 14:51
12 lines
1669 bytes
On Wednesday, September 8, 2021 at 3:07:51 AM UTC+2, Grant Taylor wrote:

> Okay. Feel free to reply to this thread, or start a new one, or email 
> me directly. I'm happy to share my thoughts. Hopefully they help. 

Hi Grant,

I will later today write you an detailed email and thanks for your help,
much appreciated.

Regards
Stefan
Re: ping - Grant
#316109
Author: Grant Taylor
Date: Wed, 08 Sep 2021 16:11
21 lines
1649 bytes
On 9/8/21 8:51 AM, Stefan Claas wrote:
> Hi Grant,

Hi Stefan,

> I will later today write you an detailed email and thanks for your 
> help,

I received it.

I'll read it, pontificate, and respond later today as time permits.

> much appreciated.

I'm glad to help.  :-)



-- 
Grant. . . .
unix || die
Re: ping - Grant
#316111
Author: Stefan Claas
Date: Wed, 08 Sep 2021 16:37
19 lines
1850 bytes
On Wednesday, September 8, 2021 at 6:11:57 PM UTC+2, Grant Taylor wrote:
> On 9/8/21 8:51 AM, Stefan Claas wrote: 
> > Hi Grant, 
> 
> Hi Stefan,
> > I will later today write you an detailed email and thanks for your 
> > help,
> I received it. 
> 
> I'll read it, pontificate, and respond later today as time permits. 
> 
> > much appreciated. 
> 
> I'm glad to help. :-)

Thank you! :-)

Regards
Stefan
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