Thread View: alt.privacy.anon-server
3 messages
3 total messages
Started by Red John
Sat, 12 Dec 2015 22:08
Anonusa Pinger Issue
Author: Red John
Date: Sat, 12 Dec 2015 22:08
Date: Sat, 12 Dec 2015 22:08
20 lines
1107 bytes
1107 bytes
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 My Mailq is filled with these. 057E517A5C0C 1632 Sat Dec 12 12:47:43 mix@redjohn.net (connect to anonusa.net[192.232.251.218]:25: Connection refused) pinger@anonusa.net 0110517A5C2C 2280 Sat Dec 12 12:47:43 mix@redjohn.net (connect to anonusa.net[192.232.251.218]:25: Connection refused) pinger@anonusa.net -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.15 (MingW32) iEYEARECAAYFAlZskuUACgkQSrCPi4AVv5lCWACgiCUeHChIAzLEDcGc5bLHqz6R p14AoN0VkaRc+7UOW/pPG/mt77kQE9Mh =Bw/v -----END PGP SIGNATURE-----
Re: Anonusa Pinger Issue
Author: Jack Ryan
Date: Sun, 13 Dec 2015 02:19
Date: Sun, 13 Dec 2015 02:19
61 lines
2416 bytes
2416 bytes
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> My Mailq is filled with these.
>
> 057E517A5C0C 1632 Sat Dec 12 12:47:43 mix@redjohn.net
> pinger@anonusa.net
>
> 0110517A5C2C 2280 Sat Dec 12 12:47:43 mix@redjohn.net
> pinger@anonusa.net
Here is a script I wrote just for such pesky mailq entries. Put it in a file /etc/deletemailq.sh, 'chmod 755 deletemailq.sh' it and run it like this:
./deletemailq.sh pinger@anonusa.net
It will only pick out the pinger@anonusa.net mailq records and remove them.
#!/bin/bash
#
# deletemailq.sh
# Delete mailq by string within mailq record
# ./deletemailq.sh pinger@anonusa.net
#
export PATH=$PATH:/sbin
export PATH=$PATH:/bin
export PATH=$PATH:/usr/sbin
filePath=${0%/*} # current file path
remailerid="$1"
if [ ${#remailerid} = 0 ]; then
echo "Remailer name or address must be appended to end for this process to start!"
exit 0
fi
mailq > $filePath/tempmq.txt
sed -i '/-Arrival Time-/d' $filePath/tempmq.txt # rid of title and trailer lines
sed -i '/Kbytes in/d' $filePath/tempmq.txt
while read -r line; do
var1stline=$line # 1st line
read -r line
var2ndline=$line #2nd line
read -r line
var3rdline=$line #3rd line
read -r line # blank line between
mailqstr="$var1stline $var2ndline $var3rdline" # all 3 lines merged into one
if [[ $(grep -c $remailerid <<<$mailqstr) -gt 0 ]]; then # is passed string in mailq record?
qID=$(cut -d' ' -f1 <<<$mailqstr) # extract 'Queue ID' to delete
postsuper -d "$qID" # yes - delete it
fi
done < $filePath/tempmq.txt
rm $filePath/tempmq.txt
exit 0
Re: Anonusa Pinger Issue
Author: Nomen Nescio
Date: Sun, 01 May 2016 20:15
Date: Sun, 01 May 2016 20:15
72 lines
2785 bytes
2785 bytes
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> My Mailq is filled with these.
>>
>> 057E517A5C0C 1632 Sat Dec 12 12:47:43 mix@redjohn.net
>> pinger@anonusa.net
>>
>> 0110517A5C2C 2280 Sat Dec 12 12:47:43 mix@redjohn.net
>> pinger@anonusa.net
>
> Here is a script I wrote just for such pesky mailq entries. Put it in a file /etc/DeleteMailq.sh, 'chmod 755 DeleteMailq.sh' it and run it like this:
>
> ./DeleteMailq.sh pinger@anonusa.net
>
> It will only pick out the pinger@anonusa.net mailq records and remove them.
>
>
<snip>
Script updated 2016-05-01:
#!/bin/bash
#
# Delete mailq by string within mailq record
# ./deletemailq.sh frell
#
#top
export PATH=$PATH:/sbin
export PATH=$PATH:/bin
export PATH=$PATH:/usr/sbin
filePath=${0%/*} # current file path
remailerid="$1"
if [ ${#remailerid} = 0 ]; then
echo "Remailer name must be appended to end for this process to start!"
exit 0
fi
mailq > $filePath/tempmq.txt
sed -i '/-Arrival Time-/d' $filePath/tempmq.txt # rid of title and trailer lines
sed -i '/Kbytes in/d' $filePath/tempmq.txt
while read -r line; do
var1stline=$line # 1st line
if [[ $line =~ "*" ]]; then # pending rec has only 2 lines - skip
read -r line # bump past 2nd line
read -r line # bump past blank line between
continue
fi
read -r line
var2ndline=$line #2nd line
read -r line
var3rdline=$line #3rd line
read -r line # blank line between
mailqstr="$var1stline $var2ndline $var3rdline" # all 3 lines merged into one
if [[ $(grep -c $remailerid <<<$mailqstr) -gt 0 ]]; then # is passed string in mailq record?
qID=$(cut -d' ' -f1 <<<$mailqstr) # extract 'Queue ID' to delete
postsuper -d "$qID" # yes - delete it
fi
done < $filePath/tempmq.txt
rm $filePath/tempmq.txt
exit 0
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