🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.privacy.anon-server
Article #277722

Re: Attn: crazyhaze.de Mail queue Backup

#277722
From: Anonymous
Date: Tue, 13 Oct 2015 18:27
57 lines
2316 bytes
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Currently 52 backed up in my mail queue.
>>
>> out)
>> mixmaster@remailer.crazyhaze.de
>>
> This will fix it
> postsuper -d ALL

  Be careful doing a "postsuper -d ALL".  You can catch and delete legitimate mails that just happened to be injected into the mailq when you executed the command.  Here is a script that pin points the exact remailer/stuck mail you want to delete:

#!/bin/bash
#
# DelMailqSelectively.sh
# This script deletes mailq entries selectively
# Parameters: ./DelMailqSelectively.sh <remailer@address>
# Example     ./DelMailqSelectively.sh mixmaster@remailer.crazyhaze.de
# or
# Example     ./DelMailqSelectively.sh crazyhaze

filePath=${0%/*}  # current file path
remailerid="$1"

if [ ${#remailerid} = 0 ]; then
   echo "Remailer address must be appended to end for this process to start!"
   exit 0
fi

mailq > $filePath/tempmq.txt
sed -i '/--/d' $filePath/tempmq.txt

while read line1; do
      read line2
      read line3
      read line4

      if [[ ! "$line4" = "" ]]; then
         echo "Work mailq file is not creating correctly in sequence!"
         break
      fi

      varDMSno=$(awk '{print $1" "}' <<< "$line1")  # get mailq ID number
      varDMSra=$(awk '{print $1}' <<< "$line3")     # get remailer address

      if [[  "$varDMSra" =~ $remailerid ]]; then
         postsuper -d $varDMSno               # delete this mailq ID#
         echo "$varDMSno  $varDMSra deleted!" # announce it
      fi
done< $filePath/tempmq.txt

rm $filePath/tempmq.txt

exit 0

Technical Details
Message-ID: <447e2ce9fece9b7a0f8bc18e420a389d@foto.nl1.torservers.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!news.usenet.farm!..!..!not-for-mail
References: <a93f2e1ce2ba5e1b6a50f8ac46b424d0@anemone.mooo.com>

Show Full Headers
Complete Article Headers
Message-ID: <447e2ce9fece9b7a0f8bc18e420a389d@foto.nl1.torservers.net>
Subject: Re: Attn: crazyhaze.de Mail queue Backup
Date: Tue, 13 Oct 2015 18:27:06 +0000
From: Anonymous <anonymous@foto.nl1.torservers.net>
References: <a93f2e1ce2ba5e1b6a50f8ac46b424d0@anemone.mooo.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!news.usenet.farm!..!..!not-for-mail
Newsgroups: alt.privacy.anon-server
Organization: dizum.com - The Internet Problem Provider
X-Abuse: abuse@dizum.com
Injection-Info: sewer.dizum.com - 194.109.206.211
Lines: 57