Great Circle Associates Majordomo-Users
(May 2000)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: Re: AW: problems with "restrict_post"
From: Dan Liston <dliston @ netscape . com>
Organization: iPlanet E-Commerce Solutions, A Sun Netscape Alliance
Date: Fri, 26 May 2000 09:30:57 -0500
To: Tobias Gablunsky <T . Gablunsky @ combox . de>
Cc: "'TGablunsky @ gmx . de'" <TGablunsky @ gmx . de>, "'majordomo-users @ GreatCircle . COM'" <majordomo-users @ GreatCircle . COM>
References: <C51F3EC1029AD311941B00A02448C9492D188C@minna.combox.de>

Actually, if you did a search&replace on the "list" part of the line you 
would have the alias you need for ANY mailing list.  Adding on to my first
example, and breaking the search&replace, see the next two examples.
Note: between resend and the listname is dash eL not eye. 

if listname = books
books: "|/majordomo/wrapper resend -l books books-outgoing"
books-outgoing: :include:/majordomo/lists/books

if listname = jokes
jokes: "|/majordomo/wrapper resend -l jokes jokes-outgoing"
jokes-outgoing: :include:/majordomo/lists/jokes

I normally take the resend line just one step further, and add ,nobody
inside the quotes and at the end of the line to prevent sendmail 
headers from revealing the list-outgoing alias.  If someone gets mail
with this header information, they can bypass your restrict_post 
setting as easily as when you forgot to use resend in the first place.

if listname = outage
outage: "|/majordomo/wrapper resend -l outage outage-outgoing,nobody"
outage-outgoing: :include:/majordomo/lists/outage

if listname = shoes
shoes: "|/majordomo/wrapper resend -l shoes shoes-outgoing,nobody"
shoes-outgoing: :include:/majordomo/lists/shoes

BTW, the -l (dash eL) tells resend the name of the list.  The 
information used as the last argument to resend on the line is
telling resend what file, alias, or address to relay messages to.

Dan Liston

Tobias Gablunsky wrote:
> 
> well:
> 
> 1. My list alias wasn't using resend!
> 
> 2. I didn't understand the real meaning of the "list" after the "-I" in the
> following row:
> 
> list: "|/majordomo/wrapper resend -l list list-outgoing"
> 
> which is the list-alias from the sendmail-"aliases"-file. - Does it have to
> be the list-name????
> 
> anyway, many thanks to you!
> 
> tobias
> 
> >
> > Two things to check:
> >
> > 1.  Your list alias is using resend
> > list: "|/majordomo/wrapper resend -l list list-outoing"
> > 2.  Your $listdir/sender.list is 644 majordomo.majordomo
> >
> > Have you tried using a different filename?
> >
> > While we are in group discussion mode here in the users list, I would
> > like to suggest that we, as users, standardize a filename for this
> > type of scenario.  I recommend $list.post for a static group that will
> > never change, or $list-post (similar to the -digest file) for posting
> > restictions that are subject to change more than once per year.
> >
> > This keeps us all thinking alike, and allows/prepares us for something
> > that could be integrated for ease of management into another minor
> > revision of majordomo.
> >
> > All thoughts and ideas are welcome,
> > Dan Liston
> >
> > TGablunsky@gmx.de wrote:
> > >
> > > hi everybody!
> > >
> > > I've got a very annoying problem with "restrict_post"
> > directive in the
> > > configuration file of my mailing list.
> > >
> > > Actually its very easy: everybody is able to send mail to
> > my list! But I
> > > want only 3 Persons to have this right! So I made a file
> > with just three
> > > lines in it:
> > >
> > > ich@er.org
> > > you@me.com
> > > she@them.net
> > >
> > > This file ist called "sender.list". My "restrict_post"
> > directive is just
> > > "restrict_post = sender.list" (the file ist in the
> > $lists-directory, yes -
> > > well, I even tried it with an absolut path..)
> > >
> > > I'm using Majordomo 1.94.5-2 (the rpm-archived version),
> > Perl 5.005_3,
> > > RedHat Linux 6.1, sendmail 8.9.3.
> > >
> > > any idea??
> > >
> > > thanks a lot
> > >
> > > tobias
> > >
> > > --
> > > Sent through GMX FreeMail - http://www.gmx.net
> >

Indexed By Date Previous: Is wrapper needed if MTA sets user and group?
From: Jeffrey Goldberg <J.Goldberg@Cranfield.ac.uk>
Next: Re: Anyone have scripts (Perl, Bash, etc.) To Create A New List?
From: mjn <mjn@tc.umn.edu>
Indexed By Thread Previous: Re: Is wrapper needed if MTA sets user and group?
From: oneiros <oneiros@darkspire.net>
Next: Log files...
From: mjn <mjn@tc.umn.edu>

Google
 
Search Internet Search www.greatcircle.com