🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: alt.privacy.anon-server
27 messages
27 total messages Started by Anonymous Remailer (austria) Thu, 24 Jan 2019 15:14
Remailer sysop APAS message monitor
#302064
Author: Anonymous Remailer (austria)
Date: Thu, 24 Jan 2019 15:14
4 lines
1001 bytes
  I have placed out an NNTP monitor script that can monitor alt.privacy.anon-server for messages pertaining to a remailer or remailer sysop.  It will monitor for a remailer name, person's name, etc.  It can ensure that a remailer sysop gets notified by email of possible important messages pertaining to his remailer.

Instructions: https://inwtx.net/monitor.txt
Re: Remailer sysop APAS message monitor
#302056
Author: Anonymous
Date: Fri, 25 Jan 2019 02:47
27 lines
2113 bytes
On Thu, 24 Jan 2019 16:14:15 +0100 (CET), you wrote:
>
>
>   I have placed out an NNTP monitor script that can monitor alt.privacy.anon-server for messages pertaining to a remailer or remailer sysop.  It will monitor for a remailer name, person's name, etc.  It can ensure that a remailer sysop gets notified by email of possible important messages pertaining to his remailer.
>
> Instructions: https://inwtx.net/monitor.txt

I have downloaded the file, untarred it which created a 
subdirectory in my mix directory called /sinntp-1.6. All files 
needed for the script to operate were also placed in this same 
subdirectory. I chmod 755 on the .sh file and when I run the file 
with ./CheckApasMsgs.sh I get an error at this line:

sinntp-1.6/nntp-pull -S $use_server $newsgp --limit 20

The error message is:

< [myusername:~/sinntp-1.6] mix$ ./CheckApasMsgs.sh
< ./CheckApasMsgs.sh: line 33: sinntp-1.6/nntp-pull: No such file 
or directory
< [myusername:~/sinntp-1.6] mix$

I have also created the CheckApasMsgs.txt which is need for the 
script to work. It is in the same subdirectory /sinntp-1.6.

Any help would be appreciated. If you want to take this offline, 
please leave an email address.
Re: Remailer sysop APAS message monitor
#302057
Author: Anonymous
Date: Fri, 25 Jan 2019 02:47
8 lines
1361 bytes
On Thu, 24 Jan 2019 16:14:15 +0100 (CET), you wrote:
>
>
>   I have placed out an NNTP monitor script that can monitor alt.privacy.anon-server for messages pertaining to a remailer or remailer sysop.  It will monitor for a remailer name, person's name, etc.  It can ensure that a remailer sysop gets notified by email of possible important messages pertaining to his remailer.
>
> Instructions: https://inwtx.net/monitor.txt

Niiiiccce
Re: Remailer sysop APAS message monitor
#302060
Author: Nomen Nescio
Date: Fri, 25 Jan 2019 05:35
54 lines
2625 bytes
> 
> On Thu, 24 Jan 2019 16:14:15 +0100 (CET), you wrote:
> 
>>
>>
>>   I have placed out an NNTP monitor script that can monitor alt.privacy.anon-server for messages pertaining to a remailer or remailer sysop.  It will monitor for a remailer name, person's name, etc.  It can ensure that a remailer sysop gets notified by email of possible important messages pertaining to his remailer.
>>
>> Instructions: https://inwtx.net/monitor.txt
> 
> I have downloaded the file, untarred it which created a
> subdirectory in my mix directory called /sinntp-1.6. All files
> needed for the script to operate were also placed in this same
> subdirectory. I chmod 755 on the .sh file and when I run the file
> with ./CheckApasMsgs.sh I get an error at this line:
> 
> sinntp-1.6/nntp-pull -S $use_server $newsgp --limit 20
> 
> The error message is:
> 
> < myusername:~/sinntp-1.6 mix$ ./CheckApasMsgs.sh
> < ./CheckApasMsgs.sh: line 33: sinntp-1.6/nntp-pull: No such file
> or directory
> < myusername:~/sinntp-1.6 mix$
> 
> I have also created the CheckApasMsgs.txt which is need for the
> script to work. It is in the same subdirectory /sinntp-1.6.
> 
> Any help would be appreciated. If you want to take this offline,
> please leave an email address.


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

  You have the script files in the wrong directory.
They don't go in the /sinntp-1.6/ folder, they go
in the /home folder.  The same place where the
/sinntp-1.6/ folder is located.  To be clear, here
is what the folders and files looks like when I log 
into the user where I have everything setup:

myuser@inwtx~$ ls -a
.              CheckApasMsgs.sh            sinntp-1.6 
..             CheckApasMsgs.txt           sinntp-1.6.tar.gz

-----BEGIN PGP SIGNATURE-----

iF4EAREIAAYFAlxKgTcACgkQhU7fz9hYXBOydgEAoXZE+zx9XLWGLu6rwIUReddA
GWTtlto8Ng+Zk8LjmhoA/2XE2BoO2bbuO+cEg31CvkY0Mw9sUjgYe2Yxcye1evfa
=xBF7
-----END PGP SIGNATURE-----

--
inwtx.net
Re: Remailer sysop APAS message monitor
#302062
Author: Anonymous
Date: Fri, 25 Jan 2019 13:09
61 lines
3174 bytes
On Fri, 25 Jan 2019 06:35:09 +0100 (CET), you wrote:
>
> >
> > On Thu, 24 Jan 2019 16:14:15 +0100 (CET), you wrote:
> >
> >>
> >>
> >>   I have placed out an NNTP monitor script that can monitor alt.privacy.anon-server for messages pertaining to a remailer or remailer sysop.  It will monitor for a remailer name, person's name, etc.  It can ensure that a remailer sysop gets notified by email of possible important messages pertaining to his remailer.
> >>
> >> Instructions: https://inwtx.net/monitor.txt
> >
> > I have downloaded the file, untarred it which created a
> > subdirectory in my mix directory called /sinntp-1.6. All files
> > needed for the script to operate were also placed in this same
> > subdirectory. I chmod 755 on the .sh file and when I run the file
> > with ./CheckApasMsgs.sh I get an error at this line:
> >
> > sinntp-1.6/nntp-pull -S $use_server $newsgp --limit 20
> >
> > The error message is:
> >
> > < myusername:~/sinntp-1.6 mix$ ./CheckApasMsgs.sh
> > < ./CheckApasMsgs.sh: line 33: sinntp-1.6/nntp-pull: No such file
> > or directory
> > < myusername:~/sinntp-1.6 mix$
> >
> > I have also created the CheckApasMsgs.txt which is need for the
> > script to work. It is in the same subdirectory /sinntp-1.6.
> >
> > Any help would be appreciated. If you want to take this offline,
> > please leave an email address.
>
>
> *** PGP SIGNATURE VERIFICATION ***
> *** Signature made 01/24/19 19:23:35 using DSA key ID D8585C13
> *** Can't check signature: public key not found
> *** Verified 01/25/19 04:25:14
> *** BEGIN PGP VERIFIED MESSAGE ***
>
>   You have the script files in the wrong directory.
> They don't go in the /sinntp-1.6/ folder, they go
> in the /home folder.  The same place where the
> /sinntp-1.6/ folder is located.  To be clear, here
> is what the folders and files looks like when I log
> into the user where I have everything setup:
>
> myuser@inwtx~$ ls -a
> .              CheckApasMsgs.sh            sinntp-1.6
> ..             CheckApasMsgs.txt           sinntp-1.6.tar.gz
>
> *** END PGP VERIFIED MESSAGE ***
>
> --
> inwtx.net

I did the following as you describe above and now my error message 
is:

[myusername:~] mix$ ./CheckApasMsgs.sh
/usr/bin/env: python3: No such file or directory
[myusername:~] mix$
Re: Remailer sysop APAS message monitor
#302067
Author: Anonymous
Date: Fri, 25 Jan 2019 17:01
13 lines
1494 bytes
  I am going to put this out again.  The first one is taking too long to arrive. 


I did the following as you describe above and now my error message 
is:

[myusername:~] mix$ ./CheckApasMsgs.sh
/usr/bin/env: python3: No such file or directory
[myusername:~] mix$

  That was a bad choice using the mix user.  I'll have to warn not to setup this in user mix.  User mix is kind of a strange bird.

  Remove all the files pertaining my instructions you put in mix.  Setup the scripts/sinntp in another user.  If you don't have another user to use, create one: adduser <username> or to be more exact on how to do this: 'adduser apasmon'.  Then 'login apasmon'.  Place everything in there.  I don't mean to be insulting with these instructions, but I don't know what your level of knowledge is in Linux.
Re: Remailer sysop APAS message monitor
#302078
Author: Anonymous Remailer (austria)
Date: Sat, 26 Jan 2019 01:09
44 lines
2982 bytes
On Fri, 25 Jan 2019 18:01:39 +0100, you wrote:
>
>   I am going to put this out again.  The first one is taking too long to arrive.
>
>
> I did the following as you describe above and now my error message
> is:
>
> [myusername:~] mix$ ./CheckApasMsgs.sh
> /usr/bin/env: python3: No such file or directory
> [myusername:~] mix$
>
>   That was a bad choice using the mix user.  I'll have to warn not to setup this in user mix.  User mix is kind of a strange bird.
>
>   Remove all the files pertaining my instructions you put in mix.  Setup the scripts/sinntp in another user.  If you don't have another user to use, create one: adduser <username> or to be more exact on how to do this: 'adduser apasmon'.  Then 'login apasmon'.  Place everything in there.  I don't mean to be insulting with these instructions, but I don't know what your level of knowledge is in Linux.

Well I did everything you asked and I still get the python error 
message.

myusername@myusername:~$ ./CheckApasMsgs.sh
/usr/bin/env: python3: No such file or directory

Here's my new directory structure with a new user that has been 
added to the sudousers file via visudo.

myusername@myusername:~$ ls -al
total 56
drwxr-xr-x 3 myusername myusername  4096 Jan 25 16:17 .
drwxr-xr-x 5 root    root     4096 Apr  6  2017 ..
-rw------- 1 myusername myusername   709 Jan 25 15:40 .bash_history
-rw-r--r-- 1 myusername myusername   220 May 15  2014 .bash_logout
-rw-r--r-- 1 myusername myusername  3392 May 15  2014 .bashrc
-rw-r--r-- 1 myusername myusername   675 May 15  2014 .profile
-rwxr-xr-x 1 myusername myusername  2584 Jan 25 16:13 
CheckApasMsgs.sh
-rw-r--r-- 1 myusername myusername    70 Jan 25 16:17 
CheckApasMsgs.txt
drwxr-xr-x 4 myusername myusername  4096 Dec 19  2016 sinntp-1.6
-rw-r--r-- 1 myusername myusername 20315 May 24  2017 sinntp-
1.6.tar.gz

Do I have to have python installed via some other means because it 
appears sinntp requires it in usr/bin/env.
Re: Remailer sysop APAS message monitor
#302080
Author: Anonymous
Date: Sat, 26 Jan 2019 03:42
32 lines
2016 bytes
On Fri, 25 Jan 2019 18:01:39 +0100, you wrote:
>
>   I am going to put this out again.  The first one is taking too long to arrive.
>
>
> I did the following as you describe above and now my error message
> is:
>
> [myusername:~] mix$ ./CheckApasMsgs.sh
> /usr/bin/env: python3: No such file or directory
> [myusername:~] mix$
>
>   That was a bad choice using the mix user.  I'll have to warn not to setup this in user mix.  User mix is kind of a strange bird.
>
>   Remove all the files pertaining my instructions you put in mix.  Setup the scripts/sinntp in another user.  If you don't have another user to use, create one: adduser <username> or to be more exact on how to do this: 'adduser apasmon'.  Then 'login apasmon'.  Place everything in there.  I don't mean to be insulting with these instructions, but I don't know what your level of knowledge is in Linux.>

Further troubleshooting:

When I type

command: python

output:

Python 2.7.3 (default, Jun 20 2016, 16:18:47)
[GCC 4.7.2] on linux2

command: which python

output:

/usr/bin/python
Re: Remailer sysop APAS message monitor
#302083
Author: Anonymous
Date: Sat, 26 Jan 2019 12:16
36 lines
1977 bytes
> 
> On Fri, 25 Jan 2019 18:01:39 +0100, you wrote:
> 
>>
>>   I am going to put this out again.  The first one is taking too long to arrive.
>>
>>
>> I did the following as you describe above and now my error message
>> is:
>>
>> myusername:~ mix$ ./CheckApasMsgs.sh
>> /usr/bin/env: python3: No such file or directory
>> myusername:~ mix$
>>
>>   That was a bad choice using the mix user.  I'll have to warn not to setup this in user mix.  User mix is kind of a strange bird.
>>
>>   Remove all the files pertaining my instructions you put in mix.  Setup the scripts/sinntp in another user.  If you don't have another user to use, create one: adduser <username> or to be more exact on how to do this: 'adduser apasmon'.  Then 'login apasmon'.  Place everything in there.  I don't mean to be insulting with these instructions, but I don't know what your level of knowledge is in Linux.>
> 
> Further troubleshooting:
> 
> When I type
> 
> command: python
> 
> output:
> 
> Python 2.7.3 (default, Jun 20 2016, 16:18:47)
> GCC 4.7.2 on linux2
> 
> command: which python
> 
> output:
> 
> /usr/bin/python

  Typing python at my server's prompt shows: Python 2.7.9.  I can only suggest that you might uninstall your current python and install Python 2.7.9.
Re: Remailer sysop APAS message monitor
#302091
Author: Nomen Nescio
Date: Sat, 26 Jan 2019 12:49
36 lines
1984 bytes
> 
> On Fri, 25 Jan 2019 18:01:39 +0100, you wrote:
> 
>>
>>   I am going to put this out again.  The first one is taking too long to arrive.
>>
>>
>> I did the following as you describe above and now my error message
>> is:
>>
>> myusername:~ mix$ ./CheckApasMsgs.sh
>> /usr/bin/env: python3: No such file or directory
>> myusername:~ mix$
>>
>>   That was a bad choice using the mix user.  I'll have to warn not to setup this in user mix.  User mix is kind of a strange bird.
>>
>>   Remove all the files pertaining my instructions you put in mix.  Setup the scripts/sinntp in another user.  If you don't have another user to use, create one: adduser <username> or to be more exact on how to do this: 'adduser apasmon'.  Then 'login apasmon'.  Place everything in there.  I don't mean to be insulting with these instructions, but I don't know what your level of knowledge is in Linux.>
> 
> Further troubleshooting:
> 
> When I type
> 
> command: python
> 
> output:
> 
> Python 2.7.3 (default, Jun 20 2016, 16:18:47)
> GCC 4.7.2 on linux2
> 
> command: which python
> 
> output:
> 
> /usr/bin/python

  On further digging, I do have Python 3.4.2 installed on my server, so apparently sinntp requires Python 3.  You should be able to install Python 3 without uninstalling Python 2.
Re: Remailer sysop APAS message monitor
#302093
Author: Anonymous
Date: Sat, 26 Jan 2019 13:32
43 lines
2302 bytes
> 
> On Fri, 25 Jan 2019 18:01:39 +0100, you wrote:
> 
>>
>>   I am going to put this out again.  The first one is taking too long to arrive.
>>
>>
>> I did the following as you describe above and now my error message
>> is:
>>
>> myusername:~ mix$ ./CheckApasMsgs.sh
>> /usr/bin/env: python3: No such file or directory
>> myusername:~ mix$
>>
>>   That was a bad choice using the mix user.  I'll have to warn not to setup this in user mix.  User mix is kind of a strange bird.
>>
>>   Remove all the files pertaining my instructions you put in mix.  Setup the scripts/sinntp in another user.  If you don't have another user to use, create one: adduser <username> or to be more exact on how to do this: 'adduser apasmon'.  Then 'login apasmon'.  Place everything in there.  I don't mean to be insulting with these instructions, but I don't know what your level of knowledge is in Linux.>
> 
> Further troubleshooting:
> 
> When I type
> 
> command: python
> 
> output:
> 
> Python 2.7.3 (default, Jun 20 2016, 16:18:47)
> GCC 4.7.2 on linux2
> 
> command: which python
> 
> output:
> 
> /usr/bin/python

  Don't go about trying to change anything about python.  sinntp works on my server even with the python3 mis-direct in the sinntp code.  So first determine if python3 is installed:

'python3 -V'

  If it isn't installed, install it and try running ./CheckApasMsgs.sh again.  If CheckApasMsgs.sh gives you the error again, you then might try changing the first line in the /sinntp-1.6/sinntp executable

from: #!/usr/bin/env python3
to:   #!/usr/bin python3
Re: Remailer sysop APAS message monitor
#302099
Author: Anonymous
Date: Sun, 27 Jan 2019 00:22
62 lines
3253 bytes
On Sat, 26 Jan 2019 14:32:55 +0100, you wrote:
>
> >
> > On Fri, 25 Jan 2019 18:01:39 +0100, you wrote:
> >
> >>
> >>   I am going to put this out again.  The first one is taking too long to arrive.
> >>
> >>
> >> I did the following as you describe above and now my error message
> >> is:
> >>
> >> myusername:~ mix$ ./CheckApasMsgs.sh
> >> /usr/bin/env: python3: No such file or directory
> >> myusername:~ mix$
> >>
> >>   That was a bad choice using the mix user.  I'll have to warn not to setup this in user mix.  User mix is kind of a strange bird.
> >>
> >>   Remove all the files pertaining my instructions you put in mix.  Setup the scripts/sinntp in another user.  If you don't have another user to use, create one: adduser <username> or to be more exact on how to do this: 'adduser apasmon'.  Then 'login apasmon'.  Place everything in there.  I don't mean to be insulting with these instructions, but I don't know what your level of knowledge is in Linux.>
> >
> > Further troubleshooting:
> >
> > When I type
> >
> > command: python
> >
> > output:
> >
> > Python 2.7.3 (default, Jun 20 2016, 16:18:47)
> > GCC 4.7.2 on linux2
> >
> > command: which python
> >
> > output:
> >
> > /usr/bin/python
>
>   Don't go about trying to change anything about python.  sinntp works on my server even with the python3 mis-direct in the sinntp code.  So first determine if python3 is installed:
>
> 'python3 -V'
>
>   If it isn't installed, install it and try running ./CheckApasMsgs.sh again.  If CheckApasMsgs.sh gives you the error again, you then might try changing the first line in the /sinntp-1.6/sinntp executable
>
> from: #!/usr/bin/env python3
> to:   #!/usr/bin python3

Ok I installed python3 and when python -V is issues I get:

Python 3.2.3

After running ./CheckApasMsgs.sh the script runs for about 15-20 
seconds and then gives me this error message:

<username@username:~$ ./CheckApasMsgs.sh>
<./CheckApasMsgs.sh: line 56: ./CheckApasMsgs.txt.: No such file or directory>
<username@username:~$>

When I ran the same command a second time, the script ran without 
any errors, but there was no output generated either. Is this what 
the script is supposed to do? How do you test that it's working?

Re: Remailer sysop APAS message monitor
#302101
Author: Anonymous
Date: Sun, 27 Jan 2019 03:00
71 lines
3898 bytes
> 
> On Sat, 26 Jan 2019 14:32:55 +0100, you wrote:
> 
>>
>>>
>>> On Fri, 25 Jan 2019 18:01:39 +0100, you wrote:
>>>
>>>>
>>>>   I am going to put this out again.  The first one is taking too long to arrive.
>>>>
>>>>
>>>> I did the following as you describe above and now my error message
>>>> is:
>>>>
>>>> myusername:~ mix$ ./CheckApasMsgs.sh
>>>> /usr/bin/env: python3: No such file or directory
>>>> myusername:~ mix$
>>>>
>>>>   That was a bad choice using the mix user.  I'll have to warn not to setup this in user mix.  User mix is kind of a strange bird.
>>>>
>>>>   Remove all the files pertaining my instructions you put in mix.  Setup the scripts/sinntp in another user.  If you don't have another user to use, create one: adduser <username> or to be more exact on how to do this: 'adduser apasmon'.  Then 'login apasmon'.  Place everything in there.  I don't mean to be insulting with these instructions, but I don't know what your level of knowledge is in Linux.>
>>>
>>> Further troubleshooting:
>>>
>>> When I type
>>>
>>> command: python
>>>
>>> output:
>>>
>>> Python 2.7.3 (default, Jun 20 2016, 16:18:47)
>>> GCC 4.7.2 on linux2
>>>
>>> command: which python
>>>
>>> output:
>>>
>>> /usr/bin/python
>>
>>   Don't go about trying to change anything about python.  sinntp works on my server even with the python3 mis-direct in the sinntp code.  So first determine if python3 is installed:
>>
>> 'python3 -V'
>>
>>   If it isn't installed, install it and try running ./CheckApasMsgs.sh again.  If CheckApasMsgs.sh gives you the error again, you then might try changing the first line in the /sinntp-1.6/sinntp executable
>>
>> from: #!/usr/bin/env python3
>> to:   #!/usr/bin python3
> 
> Ok I installed python3 and when python -V is issues I get:
> 
> Python 3.2.3
> 
> After running ./CheckApasMsgs.sh the script runs for about 15-20
> seconds and then gives me this error message:
> 
> <username@username:~$ ./CheckApasMsgs.sh>
> <./CheckApasMsgs.sh: line 56: ./CheckApasMsgs.txt.: No such file or directory>
> <username@username:~$>
> 
> When I ran the same command a second time, the script ran without
> any errors, but there was no output generated either. Is this what
> the script is supposed to do How do you test that it's working

  See instruction #5.  You have to create a file named CheckApasMsgs.txt also.  That is where you put your remailer short name so the script can find it in alt.privacy.anon-server messages.  My CheckApasMsgs.txt file contains:

inwtx
CheckApasMsgs
MixRunCheck

  Now when any of those words are found in apas messages, I get an email.
As it is now, you will never get an email until you setup that file.  You will also get the error message above every time it finds new messages in apas.  When there are no new messages, the script doesn't try to read the missing file and thereby blow up.  Creating that file should fix the problem.
Re: Remailer sysop APAS message monitor
#302103
Author: Anonymous
Date: Sun, 27 Jan 2019 04:16
79 lines
4454 bytes
On Sun, 27 Jan 2019 04:00:59 +0100 (CET), you wrote:
>
> >
> > On Sat, 26 Jan 2019 14:32:55 +0100, you wrote:
> >
> >>
> >>>
> >>> On Fri, 25 Jan 2019 18:01:39 +0100, you wrote:
> >>>
> >>>>
> >>>>   I am going to put this out again.  The first one is taking too long to arrive.
> >>>>
> >>>>
> >>>> I did the following as you describe above and now my error message
> >>>> is:
> >>>>
> >>>> myusername:~ mix$ ./CheckApasMsgs.sh
> >>>> /usr/bin/env: python3: No such file or directory
> >>>> myusername:~ mix$
> >>>>
> >>>>   That was a bad choice using the mix user.  I'll have to warn not to setup this in user mix.  User mix is kind of a strange bird.
> >>>>
> >>>>   Remove all the files pertaining my instructions you put in mix.  Setup the scripts/sinntp in another user.  If you don't have another user to use, create one: adduser <username> or to be more exact on how to do this: 'adduser apasmon'.  Then 'login apasmon'.  Place everything in there.  I don't mean to be insulting with these instructions, but I don't know what your level of knowledge is in Linux.>
> >>>
> >>> Further troubleshooting:
> >>>
> >>> When I type
> >>>
> >>> command: python
> >>>
> >>> output:
> >>>
> >>> Python 2.7.3 (default, Jun 20 2016, 16:18:47)
> >>> GCC 4.7.2 on linux2
> >>>
> >>> command: which python
> >>>
> >>> output:
> >>>
> >>> /usr/bin/python
> >>
> >>   Don't go about trying to change anything about python.  sinntp works on my server even with the python3 mis-direct in the sinntp code.  So first determine if python3 is installed:
> >>
> >> 'python3 -V'
> >>
> >>   If it isn't installed, install it and try running ./CheckApasMsgs.sh again.  If CheckApasMsgs.sh gives you the error again, you then might try changing the first line in the /sinntp-1.6/sinntp executable
> >>
> >> from: #!/usr/bin/env python3
> >> to:   #!/usr/bin python3
> >
> > Ok I installed python3 and when python -V is issues I get:
> >
> > Python 3.2.3
> >
> > After running ./CheckApasMsgs.sh the script runs for about 15-20
> > seconds and then gives me this error message:
> >
> > <username@username:~$ ./CheckApasMsgs.sh>
> > <./CheckApasMsgs.sh: line 56: ./CheckApasMsgs.txt.: No such file or directory>
> > <username@username:~$>
> >
> > When I ran the same command a second time, the script ran without
> > any errors, but there was no output generated either. Is this what
> > the script is supposed to do How do you test that it's working
>
>   See instruction #5.  You have to create a file named CheckApasMsgs.txt also.  That is where you put your remailer short name so the script can find it in alt.privacy.anon-server messages.  My CheckApasMsgs.txt file contains:
>
> inwtx
> CheckApasMsgs
> MixRunCheck
>
>   Now when any of those words are found in apas messages, I get an email.
> As it is now, you will never get an email until you setup that file.  You will also get the error message above every time it finds new messages in apas.  When there are no new messages, the script doesn't try to read the missing file and thereby blow up.  Creating that file should fix the problem.>

I already have the CheckApasMsgs.txt file created in the same 
location where the .sh script is located. However, I did add 
CheckApasMsgs and MixRunCheck to the file along with my remailer 
name which was already in the file. I still get a quick exit of the 
script without any error messages.
Re: Remailer sysop APAS message monitor
#302106
Author: Anonymous
Date: Sun, 27 Jan 2019 13:51
21 lines
2263 bytes
> 
<snip>

>>   See instruction #5.  You have to create a file named CheckApasMsgs.txt also.  That is where you put your remailer short name so the script can find it in alt.privacy.anon-server messages.  My CheckApasMsgs.txt file contains:
>>
>> inwtx
>> CheckApasMsgs
>> MixRunCheck
>>
>>   Now when any of those words are found in apas messages, I get an email.
>> As it is now, you will never get an email until you setup that file.  You will also get the error message above every time it finds new messages in apas.  When there are no new messages, the script doesn't try to read the missing file and thereby blow up.  Creating that file should fix the problem.>
> 
> I already have the CheckApasMsgs.txt file created in the same
> location where the .sh script is located. However, I did add
> CheckApasMsgs and MixRunCheck to the file along with my remailer
> name which was already in the file. I still get a quick exit of the
> script without any error messages.

  CheckApasMsgs.sh should be running o then.

  You don't need to put CheckApasMsgs and MixRunCheck in your CheckApasMsgs.txt file, that is just for me to see when there is a post that might concern the scripts.  However, this reply should test trigger your CheckApasMsgs.sh because of them being in there.  If it doesn't, let me know.
Re: Remailer sysop APAS message monitor
#302116
Author: Anonymous
Date: Sun, 27 Jan 2019 15:21
13 lines
1201 bytes
<snip>
> 
> How do you test that it's working

To test that it is working:

1. Get the latest code from https://inwtx.net/monitor.txt
2. Replace your CheckApasMsgs.sh with the latest code.
3. Change your@emailaddr.net in the code to your home email address.
4. Place the single letter e at the top of your CheckApasMsgs.txt file.
5. Wait for a any new message(s) to appear in apas.
6. You should get a test email sent to you by CheckApasMsgs.sh.
7. Remove the letter e you placed into the CheckApasMsgs.txt file. 
Re: Remailer sysop APAS message monitor
#302110
Author: Anonymous
Date: Sun, 27 Jan 2019 16:14
6 lines
1339 bytes
> 
> I have placed out an NNTP monitor script that can monitor alt.privacy.anon-server for messages pertaining to a remailer or remailer sysop.  It will monitor for a remailer name, person's name, etc.  It can ensure that a remailer sysop gets notified by email of possible important messages pertaining to his remailer.
> 
> Instructions: https://inwtx.net/monitor.txt

  I have added some checks in the CheckApasMsgs.sh monitor to determine if Python3 is installed and if the CheckApasMsgs.txt file is present and has something in it.  It is not necessary to change out the old CheckApasMsgs.sh code if you are already successfully running it.
Re: Remailer sysop APAS message monitor
#302123
Author: Anonymous
Date: Mon, 28 Jan 2019 00:10
42 lines
2851 bytes
On Sun, 27 Jan 2019 17:14:08 +0100 (CET), you wrote:
>
> >
> > I have placed out an NNTP monitor script that can monitor alt.privacy.anon-server for messages pertaining to a remailer or remailer sysop.  It will monitor for a remailer name, person's name, etc.  It can ensure that a remailer sysop gets notified by email of possible important messages pertaining to his remailer.
> >
> > Instructions: https://inwtx.net/monitor.txt
>
>   I have added some checks in the CheckApasMsgs.sh monitor to determine if Python3 is installed and if the CheckApasMsgs.txt file is present and has something in it.  It is not necessary to change out the old CheckApasMsgs.sh code if you are already successfully running it.>

I copied the new script over the original and inserted the e at the 
top of the file and got this response back from the script.

<myusername@myusername:~$ ./CheckApasMsgs.sh>
<./CheckApasMsgs.sh: line 1: e: command not found>
<Python 3.2.3>
<sinntp requires Python 3 and it doesn't seem to be installed on your machine.>
<You can install Python 3 in addition to any other version of Python that already exist on your> <machine.>
<Exiting script!>

Please note that I have installed python 3 on my VPS. However when 
I issue a python -V it returns 2.7.3. So I thought I would try to 
reinstall it and this is what I get.

When I issue python3 -V I get this:

myusername@myusername:~$ python3 -V
Python 3.2.3
myusername@myusername:~$

sudo apt-get install python3
[sudo] password for myuserenam:
Reading package lists... Done
Building dependency tree
Reading state information... Done
python3 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 130 not upgraded.
myusername@myusername:~$ python -V
Python 2.7.3

So I'm not sure what else I need to do to get this script to 
recognize where python 3 is located. Do I need to uninstall python 
2.7.3 in order for it to find python 3?
Re: Remailer sysop APAS message monitor
#302125
Author: Anonymous
Date: Mon, 28 Jan 2019 00:50
46 lines
2428 bytes
> 
<snip>

> I copied the new script over the original and inserted the e at the
> top of the file and got this response back from the script.
> 
> <myusername@myusername:~$ ./CheckApasMsgs.sh>
> <./CheckApasMsgs.sh: line 1: e: command not found>

  You put the e in CheckApasMsgs.txt, not CheckApasMsgs.sh.

> <Python 3.2.3>
> <sinntp requires Python 3 and it doesn't seem to be installed on your machine.>
> <You can install Python 3 in addition to any other version of Python that already exist on your> <machine.>
> <Exiting script!>

  I think this second error was caused by the first one.  Try it again.

> Please note that I have installed python 3 on my VPS. However when
> I issue a python -V it returns 2.7.3. So I thought I would try to
> reinstall it and this is what I get.
> 
> When I issue python3 -V I get this:
> 
> myusername@myusername:~$ python3 -V
> Python 3.2.3
> myusername@myusername:~$

  Yes, you have to do a python3 -V to find python3.

> sudo apt-get install python3
> sudo password for myuserenam:
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> python3 is already the newest version.
> 0 upgraded, 0 newly installed, 0 to remove and 130 not upgraded.
> myusername@myusername:~$ python -V
> Python 2.7.3
> 
> So I'm not sure what else I need to do to get this script to
> recognize where python 3 is located. Do I need to uninstall python
> 2.7.3 in order for it to find python 3

  Again, I think the script got lost somehow when you put the e in the script file.
Try it again with the e in CheckApasMsgs.txt.  If it blows up again, let me know.  It is running on my system ok.
Re: Remailer sysop APAS message monitor
#302124
Author: Anonymous
Date: Mon, 28 Jan 2019 02:29
58 lines
3023 bytes
On Mon, 28 Jan 2019 01:50:27 +0100 (CET), you wrote:
>
> >
> <snip>
>
> > I copied the new script over the original and inserted the e at the
> > top of the file and got this response back from the script.
> >
> > <myusername@myusername:~$ ./CheckApasMsgs.sh>
> > <./CheckApasMsgs.sh: line 1: e: command not found>
>
>   You put the e in CheckApasMsgs.txt, not CheckApasMsgs.sh.
>
> > <Python 3.2.3>
> > <sinntp requires Python 3 and it doesn't seem to be installed on your machine.>
> > <You can install Python 3 in addition to any other version of Python that already exist on your> <machine.>
> > <Exiting script!>
>
>   I think this second error was caused by the first one.  Try it again.
>
> > Please note that I have installed python 3 on my VPS. However when
> > I issue a python -V it returns 2.7.3. So I thought I would try to
> > reinstall it and this is what I get.
> >
> > When I issue python3 -V I get this:
> >
> > myusername@myusername:~$ python3 -V
> > Python 3.2.3
> > myusername@myusername:~$
>
>   Yes, you have to do a python3 -V to find python3.
>
> > sudo apt-get install python3
> > sudo password for myuserenam:
> > Reading package lists... Done
> > Building dependency tree
> > Reading state information... Done
> > python3 is already the newest version.
> > 0 upgraded, 0 newly installed, 0 to remove and 130 not upgraded.
> > myusername@myusername:~$ python -V
> > Python 2.7.3
> >
> > So I'm not sure what else I need to do to get this script to
> > recognize where python 3 is located. Do I need to uninstall python
> > 2.7.3 in order for it to find python 3
>
>   Again, I think the script got lost somehow when you put the e in the script file.
> Try it again with the e in CheckApasMsgs.txt.  If it blows up again, let me know.  It is running on my system ok.>

Here you go.

myusername@myusername:~$ ./CheckApasMsgs.sh
Python 3.2.3
sinntp requires Python 3 and it doesn't seem to be installed on 
your machine.
You can install Python 3 in addition to any other version of Python 
that already exist on your machine.
Exiting script!
Re: Remailer sysop APAS message monitor
#302126
Author: Nomen Nescio
Date: Mon, 28 Jan 2019 04:16
25 lines
1792 bytes
<snip>
>>   Again, I think the script got lost somehow when you put the e in the script file.
>> Try it again with the e in CheckApasMsgs.txt.  If it blows up again, let me know.  It is running on my system ok.>
> 
> Here you go.
> 
> myusername@myusername:~$ ./CheckApasMsgs.sh
> Python 3.2.3
> sinntp requires Python 3 and it doesn't seem to be installed on
> your machine.
> You can install Python 3 in addition to any other version of Python
> that already exist on your machine.
> Exiting script!

  OK, I don't know why, but your system isn't recognizing the Python 3 check I put in there.  Just take out these lines:

if [[ ! $(python3 -V) =~ "Python 3" ]]; then  # check for Python3
   echo "sinntp requires Python 3 and it doesn't seem to be installed on your machine."
   echo "You can install Python 3 in addition to any other version of Python that already exist on your machine."
   echo "Exiting script!"
   exit 1
fi

and it should run. :~  They are not really necessary.  I have removed then from the script at my site also.
I won't be able to reply again until tomorrow.
Re: Remailer sysop APAS message monitor
#302132
Author: Anonymous
Date: Mon, 28 Jan 2019 15:49
39 lines
2597 bytes
On Mon, 28 Jan 2019 05:16:36 +0100 (CET), you wrote:
>
> <snip>
> >>   Again, I think the script got lost somehow when you put the e in the script file.
> >> Try it again with the e in CheckApasMsgs.txt.  If it blows up again, let me know.  It is running on my system ok.>
> >
> > Here you go.
> >
> > myusername@myusername:~$ ./CheckApasMsgs.sh
> > Python 3.2.3
> > sinntp requires Python 3 and it doesn't seem to be installed on
> > your machine.
> > You can install Python 3 in addition to any other version of Python
> > that already exist on your machine.
> > Exiting script!
>
>   OK, I don't know why, but your system isn't recognizing the Python 3 check I put in there.  Just take out these lines:
>
> if [[ ! $(python3 -V) =~ "Python 3" ]]; then  # check for Python3
>    echo "sinntp requires Python 3 and it doesn't seem to be installed on your machine."
>    echo "You can install Python 3 in addition to any other version of Python that already exist on your machine."
>    echo "Exiting script!"
>    exit 1
> fi
>
> and it should run. :~  They are not really necessary.  I have removed then from the script at my site also.
> I won't be able to reply again until tomorrow.

I pounded out the python 3 code and ran the script this is what I 
got:

myusername@myusername:~$ ./CheckApasMsgs.sh
grep: myusername: No such file or directory
 ./CheckApasMsgs.sh: line 74: [[: ./alt.privacy.anon-server:0: 
syntax error: operand expected (error token is "./alt.privacy.anon-
server:0")
grep: myusername: No such file or directory

This is repeated about 7-8 times before the cursor is returned.
Re: Remailer sysop APAS message monitor
#302134
Author: Anonymous
Date: Mon, 28 Jan 2019 19:32
15 lines
1608 bytes
<snip>
> I pounded out the python 3 code and ran the script this is what I
> got:
> 
> myusername@myusername:~$ ./CheckApasMsgs.sh
> grep: myusername: No such file or directory
> ./CheckApasMsgs.sh: line 74: : ./alt.privacy.anon-server:0:
> syntax error: operand expected (error token is "./alt.privacy.anon-
> server:0")
> grep: myusername: No such file or directory
> 
> This is repeated about 7-8 times before the cursor is returned.

  This is the last thing you can try.  It seems that there is something in your CheckApasMsgs.sh file that is causing an error.  That can be seen by the 'line 74' comment.
  Go to inwtx.net/monitor.txt again and download it.  Place it into your CheckApasMsgs.sh file after deleting the current code therein.  That code is the exact script I am running successfully.  Change the email address in emailaddr= to your home email address and run it.  If it blows up, I have no more answers for a fix.
Re: Remailer sysop APAS message monitor -- Success
#302143
Author: Anonymous
Date: Tue, 29 Jan 2019 00:57
25 lines
2428 bytes
On Mon, 28 Jan 2019 20:32:14 +0100 (CET), you wrote:
>
> <snip>
> > I pounded out the python 3 code and ran the script this is what I
> > got:
> >
> > myusername@myusername:~$ ./CheckApasMsgs.sh
> > grep: myusername: No such file or directory
> > ./CheckApasMsgs.sh: line 74: : ./alt.privacy.anon-server:0:
> > syntax error: operand expected (error token is "./alt.privacy.anon-
> > server:0")
> > grep: myusername: No such file or directory
> >
> > This is repeated about 7-8 times before the cursor is returned.
>
>   This is the last thing you can try.  It seems that there is something in your CheckApasMsgs.sh file that is causing an error.  That can be seen by the 'line 74' comment.
>   Go to inwtx.net/monitor.txt again and download it.  Place it into your CheckApasMsgs.sh file after deleting the current code therein.  That code is the exact script I am running successfully.  Change the email address in emailaddr= to your home email address and run it.  If it blows up, I have no more answers for a fix.>

I deleted my CheckApasMsgs.txt file and only had two rules in it 
and everything appears to be working. I don't know, if the script 
was spitting up blood on some syntax in my txt file, but I 
simplified things and I have received an email from the script 
using CheckApasMsgs. I have since removed CheckApasMsgs and 
MixRunCheck from the file and only have my data and I am no longer 
getting any errors. Thanks for hanging in there.
Re: Remailer sysop APAS message monitor -- Success
#302147
Author: anonymous
Date: Tue, 29 Jan 2019 01:15
14 lines
1394 bytes
<snip>

> I deleted my CheckApasMsgs.txt file and only had two rules in it
> and everything appears to be working. I don't know, if the script
> was spitting up blood on some syntax in my txt file, but I
> simplified things and I have received an email from the script
> using CheckApasMsgs. I have since removed CheckApasMsgs and
> MixRunCheck from the file and only have my data and I am no longer
> getting any errors. Thanks for hanging in there.

  These compilers can drive you crazy.  I was a main frame software
engineer for many years.  IBM machines do exactly what they are
sypposed to do, but these PC will sometimes do strange things that
only experience will overcome.
Re: Remailer sysop APAS message monitor
#302150
Author: Anonymous Remailer (austria)
Date: Tue, 29 Jan 2019 01:39
26 lines
2238 bytes
On Mon, 28 Jan 2019 20:32:14 +0100 (CET), you wrote:
>
> <snip>
> > I pounded out the python 3 code and ran the script this is what I
> > got:
> >
> > myusername@myusername:~$ ./CheckApasMsgs.sh
> > grep: myusername: No such file or directory
> > ./CheckApasMsgs.sh: line 74: : ./alt.privacy.anon-server:0:
> > syntax error: operand expected (error token is "./alt.privacy.anon-
> > server:0")
> > grep: myusername: No such file or directory
> >
> > This is repeated about 7-8 times before the cursor is returned.
>
>   This is the last thing you can try.  It seems that there is something in your CheckApasMsgs.sh file that is causing an error.  That can be seen by the 'line 74' comment.
>   Go to inwtx.net/monitor.txt again and download it.  Place it into your CheckApasMsgs.sh file after deleting the current code therein.  That code is the exact script I am running successfully.  Change the email address in emailaddr= to your home email address and run it.  If it blows up, I have no more answers for a fix.>

I did what you requested and pasted the contents into 
CheckApasMsgs.sh after removing its contents. I then ran the script 
and it's complaining about this line here:

 if [[ $(grep -i -c $line1 $filePath/$newsgp) -gt 0 ]]; then

Does this script only work with a specific version of Debian?
Re: Remailer sysop APAS message monitor
#302151
Author: anonymous
Date: Tue, 29 Jan 2019 01:53
34 lines
2290 bytes
> 
> On Mon, 28 Jan 2019 20:32:14 +0100 (CET), you wrote:
> 
>>
>> <snip>
>>> I pounded out the python 3 code and ran the script this is what I
>>> got:
>>>
>>> myusername@myusername:~$ ./CheckApasMsgs.sh
>>> grep: myusername: No such file or directory
>>> ./CheckApasMsgs.sh: line 74: : ./alt.privacy.anon-server:0:
>>> syntax error: operand expected (error token is "./alt.privacy.anon-
>>> server:0")
>>> grep: myusername: No such file or directory
>>>
>>> This is repeated about 7-8 times before the cursor is returned.
>>
>>   This is the last thing you can try.  It seems that there is something in your CheckApasMsgs.sh file that is causing an error.  That can be seen by the 'line 74' comment.
>>   Go to inwtx.net/monitor.txt again and download it.  Place it into your CheckApasMsgs.sh file after deleting the current code therein.  That code is the exact script I am running successfully.  Change the email address in emailaddr= to your home email address and run it.  If it blows up, I have no more answers for a fix.>
> 
> I did what you requested and pasted the contents into
> CheckApasMsgs.sh after removing its contents. I then ran the script
> and it's complaining about this line here:
> 
> if  $(grep -i -c $line1 $filePath/$newsgp) -gt 0 ; then
> 
> Does this script only work with a specific version of Debian

  The line has become corrupted.  It should read:

if [[ $(grep -i -c $line1 $filePath/$newsgp) -gt 0 ]]; then

  If you have any errors from now on, just reinstall the code again in 
CheckApasMsgs.sh.  As you can see, it ran successfully.
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