🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: attention remailer.org.uk operator

#198584
From: Zax
Date: Fri, 16 Dec 2005 15:03
52 lines
2721 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On Fri, 16 Dec 2005 14:30:31 +0000 (GMT), Anonymous wrote in
Message-Id: <de6119283f107a12ed586589c912b77c@anon.bananasplit.info>:

> Now, can anyone tell me what I should write in PERL to allow it?
>
> Something along the plain English equivalent of:
>
> If $newsgroups = *$followups* then $allowfollowups = true
>
> Gets more difficult if there are 3 original groups and 2 follow-
> up groups - and the followup-groups may be written in reverse
> order, etc.
>
> It could be done using arrays split on "," I guess, but it's
> beyone my meagre PERL talents.

#Split the newsgroups header and the followup to header on ','
@newsgroups = split(/,/, $newsgroup);
@followups = split(/,/, $followupto);

%seen = (); # Hash to use as lookup table
#Build lookup table
foreach $item (@newsgroups) { $seen{$item} = 1 };

# Find elements in followup but not in newsgroups
foreach $item (@followups) {
	unless ($seen{$item} {
		<<action for failied message>>
	};
};

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iQEVAwUBQ6LXJ2oLu9HNUqmMAQrDmwf9FhpSTTUa+HVNlJN+7VOOVc2uCXW/XRHO
bIYZqvLwZ3Tnrg8Rb0gJq16kdwshwcLezDHseulsDUIZYc2SA9QjwIQnm3guKvSd
iqKJhEZPB+XFV7siWps3KlwaHDuQmeXyW+2aSCc2ugQ9VSAwcaude3l0tZH6wVna
FNIgyIG5xMd4wKmYrmHgCtTLdpNhKYzU82Kio2n8Nmil8qJlxNbvAzacWuZvsUdM
66h8+pyZMGVLBOzQt6PcsJrEuD7UeyXd+nGi8m22+oQL71J40BVz1LzhvByDIY9r
55QuElqNbPTr6enA15sRBT+YQXF83saD8RUUyayCPQXjIyxwZlYyMA==
=3vX2
-----END PGP SIGNATURE-----

-- 
pub  1024D/8ED57743 2003-07-08 Bananasplit Operator
     Key fingerprint = 796F 67E0 E890 A0BB BDAE  EBB4 94A6 7A09 8ED5 7743
uid                            Admin <admin.bananasplit.info>

Technical Details
Message-ID: <dnukv7$314$1@bananasplit.info>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.lang.perl.misc.mbox.zip!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news.karotte.org!news2.arglkargh.de!news.bananasplit.info!not-for-mail
References: <WIE08BH038701.7962962963@twistycreek.com> <de6119283f107a12ed586589c912b77c@anon.bananasplit.info>

Show Full Headers
Complete Article Headers
Message-ID: <dnukv7$314$1@bananasplit.info>
Subject: Re: attention remailer.org.uk operator
Date: Fri, 16 Dec 2005 15:03:03 +0000
From: Zax <fleegle@bananasplit.info>
References: <WIE08BH038701.7962962963@twistycreek.com> <de6119283f107a12ed586589c912b77c@anon.bananasplit.info>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.lang.perl.misc.mbox.zip!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news.karotte.org!news2.arglkargh.de!news.bananasplit.info!not-for-mail
Newsgroups: alt.privacy.anon-server,comp.lang.perl.misc
Organization: Bananasplit
Lines: 51
X-Complaints-To: abuse@bananasplit.info
NNTP-Posting-Date: Fri, 16 Dec 2005 15:03:03 +0000 (UTC)
User-Agent: slrn/0.9.8.1pl1 (Debian)
X-PGP-KeyID: 0x8ED57743