Article View: alt.privacy.anon-server
Article #302151Re: Remailer sysop APAS message monitor
From: anonymous
Date: Tue, 29 Jan 2019 01:53
Date: Tue, 29 Jan 2019 01:53
34 lines
2290 bytes
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.
Technical Details
Message-ID:
<q2obme$f4r$1@news.mixmin.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mailReferences:
<7dfd06f32bfa3ad4ec4ab663794969b0@remailer.privacy.at>Show Full Headers
Complete Article Headers
Message-ID: <q2obme$f4r$1@news.mixmin.net> Subject: Re: Remailer sysop APAS message monitor Date: Mon, 28 Jan 2019 19:53:19 -0600 From: "anonymous@anonymous.com" <anonymous@anonymous.com> References: <7dfd06f32bfa3ad4ec4ab663794969b0@remailer.privacy.at> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail Organization: Mixmin User-Agent: slrn/pre1.0.3-6 (Linux) X-Received-Bytes: 2288 X-Received-Body-Crc: 1672484412 Newsgroups: alt.privacy.anon-server Injection-Date: Tue, 29 Jan 2019 01:53:19 -0000 (UTC)