From majordomo-workers-owner Fri Mar 9 07:53:15 2001 Received: (majordom@localhost) by honor.greatcircle.com (8.8.5/Honor-Lists-980720-1) id HAA23022; Fri, 9 Mar 2001 07:43:56 -0800 (PST) Received: from mailout06.sul.t-online.com (mailout06.sul.t-online.com [194.25.134.19]) by honor.greatcircle.com (Postfix) with ESMTP id B516B17ED0 for ; Fri, 9 Mar 2001 07:43:50 -0800 (PST) Received: from fwd06.sul.t-online.com by mailout06.sul.t-online.com with smtp id 14bP5G-0006mI-02; Fri, 09 Mar 2001 16:45:38 +0100 Received: from paradis.meerbusch.oesterhelt.de (520062243372-0001@[217.2.145.224]) by fmrl06.sul.t-online.com with esmtp id 14bP52-1el48OC; Fri, 9 Mar 2001 16:45:24 +0100 Received: by paradis.meerbusch.oesterhelt.de (Postfix, from userid 500) id D3772B087; Fri, 9 Mar 2001 16:43:41 +0100 (MET) From: "Andreas S. Oesterhelt" MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15016.64045.576995.508226@paradis.rhein.de> Date: Fri, 9 Mar 2001 16:43:41 +0100 (MET) To: majordomo-workers@greatcircle.com Subject: HTML stripper X-Mailer: VM 6.72 under 21.1 (patch 11) "Carlsbad Caverns" XEmacs Lucid X-Sender: 520062243372-0001@t-dialin.net Sender: majordomo-workers-owner@GreatCircle.COM Precedence: bulk Hello, ..having read that one too many HTML posting on a technical mailing list yesterday, I started building a filter into resend which looks for multipart/alternative or text/html content types and if found, strips the body to plain text. Now that I'm half-done I thought it might be a good idea to ask if anyone else is working on this or if there is a solution already available ;-) Regards, --Andreas From majordomo-workers-owner Fri Mar 9 09:36:52 2001 Received: (majordom@localhost) by honor.greatcircle.com (8.8.5/Honor-Lists-980720-1) id JAA24247; Fri, 9 Mar 2001 09:30:54 -0800 (PST) Received: from mailout06.sul.t-online.com (mailout06.sul.t-online.com [194.25.134.19]) by honor.greatcircle.com (Postfix) with ESMTP id 0991317EB0 for ; Fri, 9 Mar 2001 09:30:45 -0800 (PST) Received: from fwd07.sul.t-online.com by mailout06.sul.t-online.com with smtp id 14bQkj-0006KU-0J; Fri, 09 Mar 2001 18:32:33 +0100 Received: from paradis.meerbusch.oesterhelt.de (520062243372-0001@[217.2.145.224]) by fmrl07.sul.t-online.com with esmtp id 14bQkV-0CQDzMC; Fri, 9 Mar 2001 18:32:19 +0100 Received: by paradis.meerbusch.oesterhelt.de (Postfix, from userid 500) id 99764B087; Fri, 9 Mar 2001 18:31:21 +0100 (MET) From: "Andreas S. Oesterhelt" MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15017.4969.491855.405991@paradis.rhein.de> Date: Fri, 9 Mar 2001 18:31:21 +0100 (MET) To: majordomo-workers@greatcircle.com Subject: Re: HTML stripper In-Reply-To: <7382-Fri09Mar2001113719-0500-root@okapi.kenan.com> References: <15016.64045.576995.508226@paradis.rhein.de> <7382-Fri09Mar2001113719-0500-root@okapi.kenan.com> X-Mailer: VM 6.72 under 21.1 (patch 11) "Carlsbad Caverns" XEmacs Lucid X-Sender: 520062243372-0001@t-dialin.net Sender: majordomo-workers-owner@GreatCircle.COM Precedence: bulk Hello > I usually pass the body through `lynx -dump`. This removes all HTML > and displays formatted ascii. Thanks to all who have answered so far. Maybe my question wasn't that clear: Is anyone else working on an HTML-cleaning *extension*to* majordomo* ? Sure, there are lots of solutions on the recipient side, but discussions and rude comments regularly break loose on mailing lists, because of HTML posts being distributed. It's easy to bounce those posts completely, but I thought that having them stripped by majordomo would be more (new)user friendly. I also don't want to use a standalone solution, because toggling the stripper on and off should IMO be subject to per-list configuration and alterable by the list admin via "write config". Regards, --Andreas From majordomo-workers-owner Fri Mar 9 10:21:52 2001 Received: (majordom@localhost) by honor.greatcircle.com (8.8.5/Honor-Lists-980720-1) id KAA24727; Fri, 9 Mar 2001 10:19:57 -0800 (PST) Received: from femail2.sdc1.sfba.home.com (femail2.sdc1.sfba.home.com [24.0.95.82]) by honor.greatcircle.com (Postfix) with ESMTP id 8D64317EB0 for ; Fri, 9 Mar 2001 10:19:52 -0800 (PST) Received: from ee-nt.climber.org ([65.5.124.106]) by femail2.sdc1.sfba.home.com (InterMail vM.4.01.03.00 201-229-121) with ESMTP id <20010309182120.TUQP17149.femail2.sdc1.sfba.home.com@ee-nt.climber.org>; Fri, 9 Mar 2001 10:21:20 -0800 Message-Id: <5.0.0.25.0.20010309101823.02c01160@pop.climber.org> X-Sender: eckert@pop.climber.org X-Mailer: QUALCOMM Windows Eudora Version 5.0 Date: Fri, 09 Mar 2001 10:19:09 -0800 To: "Andreas S. Oesterhelt" From: SRE Subject: Re: HTML stripper Cc: majordomo-workers@GreatCircle.COM In-Reply-To: <15017.4969.491855.405991@paradis.rhein.de> References: <7382-Fri09Mar2001113719-0500-root@okapi.kenan.com> <15016.64045.576995.508226@paradis.rhein.de> <7382-Fri09Mar2001113719-0500-root@okapi.kenan.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: majordomo-workers-owner@GreatCircle.COM Precedence: bulk At 09:31 AM 3/9/01, Andreas S. Oesterhelt wrote: >It's easy to bounce those posts completely, but I thought that >having them stripped by majordomo would be more (new)user friendly. Put demime.pl in a pipe, get formatted plain text instead of HTML and MIME... no need to reinvent the wheel! Demime also strips out attachments instead of bouncing the message, a great help in protecting your list against virus attachments and braindead mail tools that send both plain text and Word files. Demime home page: http://scifi.squawk.com/demime.html Demime perl script: http://scifi.squawk.com/demime.stable Demime config file: http://scifi.squawk.com/demime_junkmail.cf Demime email list: demime-l@scifi.squawk.com From majordomo-workers-owner Fri Mar 9 20:08:24 2001 Received: (majordom@localhost) by honor.greatcircle.com (8.8.5/Honor-Lists-980720-1) id UAA01288; Fri, 9 Mar 2001 20:05:34 -0800 (PST) Received: from scifi.squawk.com (glock.squawk.com [208.176.124.157]) by honor.greatcircle.com (Postfix) with ESMTP id D660317EB0 for ; Fri, 9 Mar 2001 20:05:29 -0800 (PST) Received: from tpad (localhost [127.0.0.1]) by scifi.squawk.com (Postfix) with SMTP id B2F633500E; Fri, 9 Mar 2001 23:07:22 -0500 (EST) Message-Id: <3.0.3.32.20010309230612.01ebaf90@127.0.0.1> X-Sender: njs@127.0.0.1 X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.3 (32) Date: Fri, 09 Mar 2001 23:06:12 -0500 To: "Andreas S. Oesterhelt" From: Nick Simicich Subject: Re: HTML stripper Cc: majordomo-workers@greatcircle.com In-Reply-To: <15017.4969.491855.405991@paradis.rhein.de> References: <7382-Fri09Mar2001113719-0500-root@okapi.kenan.com> <15016.64045.576995.508226@paradis.rhein.de> <7382-Fri09Mar2001113719-0500-root@okapi.kenan.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: majordomo-workers-owner@GreatCircle.COM Precedence: bulk At 06:31 PM 3/9/2001 +0100, Andreas S. Oesterhelt wrote: >Hello > >> I usually pass the body through `lynx -dump`. This removes all HTML >> and displays formatted ascii. > >Thanks to all who have answered so far. Maybe my question wasn't that >clear: Is anyone else working on an HTML-cleaning *extension*to* >majordomo* ? > >Sure, there are lots of solutions on the recipient side, but >discussions and rude comments regularly break loose on mailing >lists, because of HTML posts being distributed. > >It's easy to bounce those posts completely, but I thought that >having them stripped by majordomo would be more (new)user friendly. >I also don't want to use a standalone solution, because toggling the >stripper on and off should IMO be subject to per-list configuration >and alterable by the list admin via "write config". Unfortunately, demime does not work as a majordomo extension. It has to be placed in a pipe in an alias. This means that an admin has to be become involved, unless you do things with .forward files or included /etc/alias sections that are under user control (might as well give them a shell account). The majordomo 2 people say that it sould be part of the receiver's configuration. Perhaps - except that I want to be sure that my mailing lists are never a conduit for mailer worms. If you want that level of granularity, majordomo 2 is probably more of what you want. But I made an executive decision that I didn't want to pass attachments or fancy text, didn't want to work on the digester to tdo the right thing separately, and didn't want to archive alternative sections. Except for the fact that the html renderer I use (a standard Perl library routine) is fairly simple minded the demime program works well for me, and I'm glad a few others have foundit useful as well. -- We will fight for bovine freedom, And hold our large heads high. We will run free, with the buffalo or die! Cows with Guns. - Dana Lyons, Cows With Guns Nick Simicich mailto:njs@scifi.squawk.com http://scifi.squawk.com/njs.html -- Stop by and Light Up The World! From majordomo-workers-owner Sat Mar 10 10:23:14 2001 Received: (majordom@localhost) by honor.greatcircle.com (8.8.5/Honor-Lists-980720-1) id KAA12424; Sat, 10 Mar 2001 10:11:49 -0800 (PST) Received: from femail1.sdc1.sfba.home.com (femail1.sdc1.sfba.home.com [24.0.95.81]) by honor.greatcircle.com (Postfix) with ESMTP id 6AEF917EAF for ; Sat, 10 Mar 2001 10:11:43 -0800 (PST) Received: from ee-nt.climber.org ([65.5.124.106]) by femail1.sdc1.sfba.home.com (InterMail vM.4.01.03.00 201-229-121) with ESMTP id <20010310181315.FWJA2502.femail1.sdc1.sfba.home.com@ee-nt.climber.org>; Sat, 10 Mar 2001 10:13:15 -0800 Message-Id: <5.0.0.25.0.20010310091222.022b6960@pop.climber.org> X-Sender: eckert@pop.climber.org X-Mailer: QUALCOMM Windows Eudora Version 5.0 Date: Sat, 10 Mar 2001 09:17:48 -0800 To: Nick Simicich From: SRE Subject: Re: HTML stripper Cc: majordomo-workers@GreatCircle.COM In-Reply-To: <3.0.3.32.20010309230612.01ebaf90@127.0.0.1> References: <15017.4969.491855.405991@paradis.rhein.de> <7382-Fri09Mar2001113719-0500-root@okapi.kenan.com> <15016.64045.576995.508226@paradis.rhein.de> <7382-Fri09Mar2001113719-0500-root@okapi.kenan.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: majordomo-workers-owner@GreatCircle.COM Precedence: bulk At 08:06 PM 3/9/01, Nick Simicich wrote: >The majordomo 2 people say that it sould be part of the receiver's configuration. Really? So it's better to distribute virus attachments and bet that all your subscribers are sophisticated enough to catch them? That's a bandwidth issue IN ADDITION TO a security issue. I once lobbied Jason to put 'hooks' in Mj2, so people could add local modules that fit into the flow instead of altering messages with a piped tool. The idea was soundly rejected. The tools is highly configurable, but only for the things that Jason and Michael have decided should be done. It would be fairly simple, since both Mj2 and demime are written in Perl, to modify a copy of Mj2 to incorporate perl scripts as modules instead of pipes... but I haven't done it. I'm using Mj2, with demime in the alias pipe BEFORE Mj2 sees either commands or posts. Without demime, all the LookOut users send styled text that poofs the Mj2 command parser (e.g. they can never subscribe or unsubscribe without figuring out how to reconfigure LookOut, which many of them are either unwilling unable to do). Anyway, thanks for making demime available. You can lead a horse to water... SRE mailto:eckert@climber.org | http://www.climber.org/eckert/ Info on peak climbing email lists mailto:info@climber.org The very powerful and the very stupid have one thing in common. Instead of altering their views to fit the facts, they alter the facts to fit their views ... which can be very uncomfortable if you happen to be one of the facts that needs altering. -- Doctor Who, "Face of Evil" From majordomo-workers-owner Sun Mar 11 09:36:53 2001 Received: (majordom@localhost) by honor.greatcircle.com (8.8.5/Honor-Lists-980720-1) id JAA27158; Sun, 11 Mar 2001 09:31:21 -0800 (PST) Received: from mailout01.sul.t-online.com (mailout01.sul.t-online.com [194.25.134.80]) by honor.greatcircle.com (Postfix) with ESMTP id DA8C817E8C for ; Sun, 11 Mar 2001 09:31:14 -0800 (PST) Received: from fwd05.sul.t-online.com by mailout01.sul.t-online.com with smtp id 14c9ie-00082u-0B; Sun, 11 Mar 2001 18:33:24 +0100 Received: from paradis.meerbusch.oesterhelt.de (520062243372-0001@[217.2.131.73]) by fmrl05.sul.t-online.com with esmtp id 14c9iM-1c3bLkC; Sun, 11 Mar 2001 18:33:06 +0100 Received: by paradis.meerbusch.oesterhelt.de (Postfix, from userid 500) id 81106B087; Sun, 11 Mar 2001 18:31:54 +0100 (MET) From: "Andreas S. Oesterhelt" MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15019.46730.102632.819150@paradis.rhein.de> Date: Sun, 11 Mar 2001 18:31:54 +0100 (MET) To: majordomo-workers@greatcircle.com Cc: jjjacq@rocketmail.com, keith_m@sweeney.demon.co.uk Subject: HTML stripper is ready X-Mailer: VM 6.72 under 21.1 (patch 11) "Carlsbad Caverns" XEmacs Lucid X-Sender: 520062243372-0001@t-dialin.net Sender: majordomo-workers-owner@GreatCircle.COM Precedence: bulk Hello, ..thanks again for all the pointers to MTML and MIME stripping tools. Took a look at demime and really liked it, but it's not exactly what I need for my purpose (and imagine could be useful for some other lists, too). Cool Tool to tame a bunch of MIME enabled kids, though! To give you an idea of what this is about, I'll paste the "Scope" paragraph from the webpage that I've set up on http://oesterhelt.dyndns.org/majordomo.html , from where the patch can also be downloaded: *********** Scope This tries to be a lightweight, minimal-impact, (new)user-friendly solution for the problem of HTML formatted postings to (technical) mailing lists running on Majordomo. It's lightweight in that it doesn't require setting up new mail pipes, or any other (per-list) action on the side of the majordomo owner. Policy can be set by the list-owner, using majordomo's config / newconfig mechanism. Since it's fully integrated into majordomo's resend, no addidtional processes are involved for mail filtering. Also, since it uses Modules for most of the work, it's only 140 lines of additional code. It hopes to have minimal impact on list communication, since it leaves all MIME types except text/html and multipart/alternative alone. So while it takes care of typical thought- or clueless postings from HTML-enabled MUAs (whose users might not even realize what they're sending), it will not prevent people from attaching HTML or other data if they feel the need to do so. If you're looking for a comprehensive, full-featured MIME flattener, you should go for Nick Simicich's demime script. Finally, it tries to be (new)user-friendly in how it handles HTML messages. The sender will either see his message on the list (albeit stripped of it's fancy formatting) or receive his message back, along with a polite note that HTML messages are not accepted on the list and will at least notice that it didn't get through. Either way, nobody is taken their opportunity to participate. *********** I would be very thankful if some people could take the time and test it out. Sure there are some bugs to fix, before it can be used on "production" mailing lists. Regards, --Andreas From majordomo-workers-owner Thu Mar 15 15:02:38 2001 Received: (majordom@localhost) by honor.greatcircle.com (8.8.5/Honor-Lists-980720-1) id OAA19090; Thu, 15 Mar 2001 14:51:40 -0800 (PST) Received: from warthog.com (warthog.com [207.193.201.64]) by honor.greatcircle.com (Postfix) with ESMTP id 3068B17EAE for ; Thu, 15 Mar 2001 14:51:34 -0800 (PST) Received: from warthog.com (root@localhost [127.0.0.1]) by warthog.com (8.9.2/8.9.2) with ESMTP id QAA05068 for ; Thu, 15 Mar 2001 16:51:30 -0600 (CST) Message-Id: <200103152251.QAA05068@warthog.com> To: majordomo-workers@greatcircle.com Subject: Put wrapper and family in different subdir? Reply-To: Rob Windsor From: Rob Windsor X-Files: THE TRUTH IS OUT THERE Date: Thu, 15 Mar 2001 16:50:00 -0600 Sender: majordomo-workers-owner@GreatCircle.COM Precedence: bulk I've been tweaking with majordomo for the last four years, and have reecently decided that I'd rather not let wrapper execute anything and everything in ${W_HOME} since this seems to be a catch-all subdir for majordomo work. So, instead, I set the build up to use ${W_HOME}/sbin for wrapper and the scripts that it needs to call upon. I've been running with this setup since last Nov and it appears to be working properly. I think that you guys should seriously consider not dumping everything (wrapper, scripts for wrapper, config files, etc) into one directory. I've made a good step in the this direction, but may not be as polished as you want to see. Anyway, my patch is attached behind the .sig. Enjoy. Rob++ ---------------------------------------- Internet: windsor@warthog.com __o Life: Rob@Carrollton.Texas.USA.Earth _`\<,_ (_)/ (_) The weather is here, wish you were beautiful. --- patch --- diff -r -u ../../src/majordomo-1.94.5/Makefile ./Makefile --- ../../src/majordomo-1.94.5/Makefile Tue Jan 18 08:01:17 2000 +++ ./Makefile Thu Mar 15 16:28:19 2001 @@ -15,6 +15,9 @@ # Put the location of your Perl binary here: PERL = /bin/perl +# Put the location of your sendmail binary here: +SENDMAIL = /usr/sbin/sendmail + # What do you call your C compiler? CC = cc @@ -75,7 +78,7 @@ # For those stupid machines that try to use csh. Doh! SHELL = /bin/sh -WRAPPER_FLAGS = -DBIN=\"$(W_HOME)\" -DPATH=\"PATH=$(W_PATH)\" \ +WRAPPER_FLAGS = -DBIN=\"$(W_HOME)/sbin\" -DPATH=\"PATH=$(W_PATH)\" \ -DHOME=\"HOME=$(W_HOME)\" -DSHELL=\"SHELL=$(W_SHELL)\" \ -DMAJORDOMO_CF=\"MAJORDOMO_CF=$(W_MAJORDOMO_CF)\" \ $(POSIX) @@ -111,19 +114,19 @@ @echo "" @echo "If not installing the wrapper, type" @echo "" - @echo " cd $(W_HOME); ./wrapper config-test" + @echo " cd $(W_HOME)/sbin; ./wrapper config-test" @echo "" @echo "(no 'su' necessary) to verify the installation." install-wrapper: wrapper $(INSTALL) -o $(WRAPPER_OWNER) -g $(WRAPPER_GROUP) \ - -m $(WRAPPER_MODE) wrapper $(W_HOME)/wrapper + -m $(WRAPPER_MODE) wrapper $(W_HOME)/sbin/wrapper @echo "" @echo "To verify that all the permissions and etc are correct," @echo "run the command" @echo "" - @echo " cd $(W_HOME); ./wrapper config-test" + @echo " cd $(W_HOME)/sbin; ./wrapper config-test" # fix where perl lives. # Create a tmp directory to stuff all the files in, so we @@ -134,17 +137,20 @@ @test -f $(PERL) -a -x $(PERL) || \ { echo "You didn't correctly tell me where Perl is."; exit 1; } @rm -rf $(TMP); mkdir $(TMP) + @test -f $(SENDMAIL) -a -x $(SENDMAIL) || \ + { echo "You didn't correctly tell me where sendmail is." ; \ + exit 1 ; } @echo "Configuring scripts..." @for file in $(TOOLS); do \ cp contrib/$$file $(TMP) ; \ done @cp $(BINBIN) $(BIN) $(TMP) - @cd $(TMP); $(PERL) -p -i -e 's@^#!\S+perl.*@#!$(PERL)@' $(TOOLS) $(BINBIN) $(BIN) + @cd $(TMP); $(PERL) -p -i -e 's@^#!\S+perl.*@#!$(PERL)@ ; s@/usr/lib/sendmail@$(SENDMAIL)@' $(TOOLS) $(BINBIN) $(BIN) install-scripts: config-scripts - $(INSTALL) -m $(HOME_MODE) $(INSTALL_FLAGS) . $(W_HOME) $(INSTALL) -m $(EXEC_MODE) $(INSTALL_FLAGS) . $(W_HOME)/bin + $(INSTALL) -m $(EXEC_MODE) $(INSTALL_FLAGS) . $(W_HOME)/sbin @echo "Copying tools to $(W_HOME)/bin" @@ -153,20 +159,18 @@ $(TMP)/$$file $(W_HOME)/bin/$$file; \ done - @echo "Copying Majordomo files to $(W_HOME)" + @echo "Copying Majordomo files to $(W_HOME)/sbin" @for file in $(BIN); do \ $(INSTALL) -m $(EXEC_MODE) $(INSTALL_FLAGS) \ - $(TMP)/$$file $(W_HOME)/$$file; \ + $(TMP)/$$file $(W_HOME)/sbin/$$file; \ done - @echo "Copying archiving and other tools to $(W_HOME)/Tools" - - $(INSTALL) -m $(EXEC_MODE) $(INSTALL_FLAGS) . $(W_HOME)/Tools + @echo "Copying archiving and other tools to $(W_HOME)/bin" @for file in $(TOOLS); do \ $(INSTALL) -m $(EXEC_MODE) $(INSTALL_FLAGS) \ - $(TMP)/$$file $(W_HOME)/Tools/$$file; \ + $(TMP)/$$file $(W_HOME)/bin/$$file; \ done @rm -rf $(TMP) diff -r -u ../../src/majordomo-1.94.5/archive2.pl ./archive2.pl --- ../../src/majordomo-1.94.5/archive2.pl Fri Jan 7 05:00:49 2000 +++ ./archive2.pl Thu Mar 15 15:43:37 2001 @@ -60,7 +60,7 @@ require "$cf"; # All these should be in the standard PERL library -unshift(@INC, $homedir); +unshift(@INC, "$homedir/sbin"); require "ctime.pl"; # To get MoY definitions for month abbrevs require "majordomo_version.pl"; # What version of Majordomo is this? require "majordomo.pl"; # all sorts of general-purpose Majordomo subs diff -r -u ../../src/majordomo-1.94.5/bounce-remind ./bounce-remind --- ../../src/majordomo-1.94.5/bounce-remind Mon Dec 9 10:49:46 1996 +++ ./bounce-remind Thu Mar 15 15:44:41 2001 @@ -33,7 +33,7 @@ chdir("$homedir"); # All these should be in the standard PERL library -unshift(@INC, $homedir); +unshift(@INC, "$homedir/sbin"); # Set these here so that they can be interploated on the $mailer command line. $sender = "nobody\@$whereami"; diff -r -u ../../src/majordomo-1.94.5/config-test ./config-test --- ../../src/majordomo-1.94.5/config-test Wed Aug 27 10:17:13 1997 +++ ./config-test Thu Mar 15 15:46:21 2001 @@ -125,6 +125,8 @@ &bad("something's wrong with $cf: $@"); } +unshift(@INC, "$homedir/sbin"); + foreach (@requires) { if (require $_) { &good("found $_ okay."); @@ -138,8 +140,6 @@ print "You're running Majordomo Version $majordomo_version.\n"; print "\n--==> Majordomo home directory is $homedir.\n"; - -unshift(@INC, $homedir); &header("Include directories"); foreach (@INC) { diff -r -u ../../src/majordomo-1.94.5/digest ./digest --- ../../src/majordomo-1.94.5/digest Fri Jan 7 05:04:34 2000 +++ ./digest Thu Mar 15 15:47:08 2001 @@ -20,6 +20,7 @@ &init; +unshift(@INC, "/etc/mail/majordomo/sbin"); &readconfig; $TEMP = (defined $TMPDIR && -d $TMPDIR) ? "$TMPDIR/digest.$$" : "/usr/tmp/digest.$$"; diff -r -u ../../src/majordomo-1.94.5/majordomo ./majordomo --- ../../src/majordomo-1.94.5/majordomo Thu Jan 13 11:29:31 2000 +++ ./majordomo Thu Mar 15 15:48:10 2001 @@ -58,7 +58,7 @@ print STDERR "$0: starting\n" if $DEBUG; # All these should be in the standard PERL library -unshift(@INC, $homedir); +unshift(@INC, "$homedir/sbin"); require "ctime.pl"; # To get MoY definitions for month abbrevs require "majordomo_version.pl"; # What version of Majordomo is this? require "majordomo.pl"; # all sorts of general-purpose Majordomo subs @@ -1095,7 +1095,7 @@ # The password is valid, so run digest open(DIGEST, - "$homedir/digest -m -C -l $list $list_outgoing 2>&1 |"); + "$homedir/sbin/digest -m -C -l $list $list_outgoing 2>&1 |"); @digest_errors = ; close(DIGEST); diff -r -u ../../src/majordomo-1.94.5/request-answer ./request-answer --- ../../src/majordomo-1.94.5/request-answer Fri Jan 7 05:10:18 2000 +++ ./request-answer Thu Mar 15 15:49:48 2001 @@ -26,7 +26,7 @@ require "$cf"; chdir($homedir) || die("Can't chdir(\"$homedir\"): $!"); -unshift(@INC, $homedir); +unshift(@INC, "$homedir/sbin"); require "shlock.pl"; require "majordomo.pl"; diff -r -u ../../src/majordomo-1.94.5/resend ./resend --- ../../src/majordomo-1.94.5/resend Fri Jan 7 09:32:39 2000 +++ ./resend Thu Mar 15 15:50:54 2001 @@ -92,7 +92,7 @@ chdir($homedir) || die("Can't chdir(\"$homedir\"): $!"); -unshift(@INC, $homedir); +unshift(@INC, "$homedir/sbin"); require "ctime.pl"; # For logging purposes require "majordomo.pl"; require "majordomo_version.pl"; From majordomo-workers-owner Tue Mar 27 08:02:46 2001 Received: (majordom@localhost) by honor.greatcircle.com (8.8.5/Honor-Lists-980720-1) id HAA01748; Tue, 27 Mar 2001 07:57:27 -0800 (PST) Received: from mobile.hub.org (mobile.acadiau.ca [131.162.137.70]) by honor.greatcircle.com (Postfix) with ESMTP id BEF5217EBC for ; Tue, 27 Mar 2001 07:57:22 -0800 (PST) Received: from localhost (scrappy@localhost) by mobile.hub.org (8.11.1/8.11.1) with ESMTP id f2RFxHp20188; Tue, 27 Mar 2001 11:59:17 -0400 (AST) (envelope-from scrappy@hub.org) X-Authentication-Warning: mobile.hub.org: scrappy owned process doing -bs Date: Tue, 27 Mar 2001 11:59:17 -0400 (AST) From: The Hermit Hacker To: , Subject: advertise/noadvertise options ... Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: majordomo-workers-owner@GreatCircle.COM Precedence: bulk last upgrade was Jan 9th ... we're trying to set it up so that certain lists aren't visible to someone using the 'list' command ... so we put in a valid email into the advertise clause: //i but, if we try to go from another userid and do a list, the list is still showing up ... are we using the wrong option for this? is it something that has been fixed since Jan 9th? (upgrading around tends to be highly frowned upon unless it can be justified as fixing something, so am trying to hold off on upgrading if I dont' have to ...) ... Marc G. Fournier ICQ#7615664 IRC Nick: Scrappy Systems Administrator @ hub.org primary: scrappy@hub.org secondary: scrappy@{freebsd|postgresql}.org From majordomo-workers-owner Tue Mar 27 09:17:51 2001 Received: (majordom@localhost) by honor.greatcircle.com (8.8.5/Honor-Lists-980720-1) id JAA02554; Tue, 27 Mar 2001 09:14:21 -0800 (PST) Received: from epithumia.math.uh.edu (epithumia.math.uh.edu [129.7.128.2]) by honor.greatcircle.com (Postfix) with ESMTP id BAAE817EBC for ; Tue, 27 Mar 2001 09:14:15 -0800 (PST) Received: (from tibbs@localhost) by epithumia.math.uh.edu (8.11.0/8.11.1) id f2RHG4f28915; Tue, 27 Mar 2001 11:16:04 -0600 To: The Hermit Hacker Cc: , Subject: Re: advertise/noadvertise options ... References: From: Jason L Tibbitts III Date: 27 Mar 2001 11:16:04 -0600 In-Reply-To: The Hermit Hacker's message of "Tue, 27 Mar 2001 11:59:17 -0400 (AST)" Message-ID: Lines: 32 User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: majordomo-workers-owner@GreatCircle.COM Precedence: bulk >>>>> "THH" == The Hermit Hacker writes: THH> but, if we try to go from another userid and do a list, the list is THH> still showing up ... Works great here: XYX:malifon:~> mj_shell lists [...] test (no description) [...] Lists found: 8 XYX:malifon:~> mj_shell -p XXX configedit test noadvertise >>>> configset test noadvertise <>>> Found tag ENDAAB. noadvertise set to "/tibbs/". 1 valid command processed; it was successful. XYX:malifon:~> mj_shell lists UH Math List Server serves the following lists: [...] Lists found: 7 I can see no changes in this area recently. Are you sure that noadvertise is actually matching? For example, you used angle brackets, but there is no requirement that an address actually has angle brackets in it. - J< From majordomo-workers-owner Tue Mar 27 10:47:44 2001 Received: (majordom@localhost) by honor.greatcircle.com (8.8.5/Honor-Lists-980720-1) id KAA03673; Tue, 27 Mar 2001 10:46:27 -0800 (PST) Received: from epithumia.math.uh.edu (epithumia.math.uh.edu [129.7.128.2]) by honor.greatcircle.com (Postfix) with ESMTP id 519FE17EBC for ; Tue, 27 Mar 2001 10:46:22 -0800 (PST) Received: (from tibbs@localhost) by epithumia.math.uh.edu (8.11.0/8.11.1) id f2RImCQ29240; Tue, 27 Mar 2001 12:48:12 -0600 To: The Hermit Hacker Cc: , Subject: Re: advertise/noadvertise options ... References: From: Jason L Tibbitts III Date: 27 Mar 2001 12:48:12 -0600 In-Reply-To: The Hermit Hacker's message of "Tue, 27 Mar 2001 14:40:51 -0400 (AST)" Message-ID: Lines: 35 User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: majordomo-workers-owner@GreatCircle.COM Precedence: bulk >>>>> "THH" == The Hermit Hacker writes: THH> okay, first, am using the 'advertise' config, which I believe is THH> "don't list for anyone *except* those that are listed", right? Yes. Let's test that: XYX:malifon:~> mj_shell -p XXX configedit test advertise >>>> configset test advertise <>>> Found tag ENDAAB. advertise set to "/zzz/". (noadvertise is not set at this point) XYX:malifon:~> mj_shell lists UH Math List Server serves the following lists: misc: [...] Lists found: 7 XYX:malifon:~> mj_shell -u zzz@math.uh.edu lists UH Math List Server serves the following lists: misc: [...] test (no description) Lists found: 8 THH> /xxxxx.xxxxxxxx@acadiau.ca/i That looks OK, depending (of course) on what you wanted to match. - J< From majordomo-workers-owner Tue Mar 27 11:02:42 2001 Received: (majordom@localhost) by honor.greatcircle.com (8.8.5/Honor-Lists-980720-1) id KAA03578; Tue, 27 Mar 2001 10:39:07 -0800 (PST) Received: from mobile.hub.org (mobile.acadiau.ca [131.162.137.70]) by honor.greatcircle.com (Postfix) with ESMTP id D0BF817EBC for ; Tue, 27 Mar 2001 10:39:01 -0800 (PST) Received: from localhost (scrappy@localhost) by mobile.hub.org (8.11.1/8.11.1) with ESMTP id f2RIeps01800; Tue, 27 Mar 2001 14:40:51 -0400 (AST) (envelope-from scrappy@hub.org) X-Authentication-Warning: mobile.hub.org: scrappy owned process doing -bs Date: Tue, 27 Mar 2001 14:40:51 -0400 (AST) From: The Hermit Hacker To: Jason L Tibbitts III Cc: , Subject: Re: advertise/noadvertise options ... In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: majordomo-workers-owner@GreatCircle.COM Precedence: bulk On 27 Mar 2001, Jason L Tibbitts III wrote: > >>>>> "THH" == The Hermit Hacker writes: > > THH> but, if we try to go from another userid and do a list, the list is > THH> still showing up ... > > Works great here: > > XYX:malifon:~> mj_shell lists > [...] > test (no description) > [...] > > Lists found: 8 > > XYX:malifon:~> mj_shell -p XXX configedit test noadvertise > >>>> configset test noadvertise < >>>> Found tag ENDAAB. > noadvertise set to "/tibbs/". > > 1 valid command processed; it was successful. > > XYX:malifon:~> mj_shell lists > UH Math List Server serves the following lists: > [...] > > Lists found: 7 > > I can see no changes in this area recently. Are you sure that noadvertise > is actually matching? For example, you used angle brackets, but there is > no requirement that an address actually has angle brackets in it. okay, first, am using the 'advertise' config, which I believe is "don't list for anyone *except* those that are listed", right? as for what we actually have in there, its: ============================ new-relay:/usr/local/lib/majordomo/lists/acadiau.ca/csfyi> cat _config $VAR1 = { 'raw' => { 'sequence_number' => 802, 'which_access' => 'list', 'noadvertise' => [], 'subject_prefix' => '[CSFYI]', 'advertise' => [ '/xxxxx.xxxxxxxx@acadiau.ca/i' ], 'who_access' => 'list' }, 'parsed' => { 'noadvertise' => [], 'advertise' => [ '/xxxxx.xxxxxxxx\\@acadiau.ca/i' ] } }; ============================ does that look right?