Mike,
This took me over 24 hours to get figured out, but I think I have the answer.
The "noadvertise" setting is a "here" file. Basically a file within a file.
noadvertise << END
/.*/
END
"here" files only allow a blank line if it is the last line. So,
noadvertise << END
/.*/
END
is still a valid entry. My next question will probably answer your question.
How do you not advertise (or hide) a list from someone that is already a
member of that list? What is the point? They already know it is there, so
you can't/don't hide it.
In all my tests, (adding listname.hidden files, changing regexs, playing with
closed settings for *_access in the .config files) the only thing in common
was subscriber status for a list showing up when I thought it should not.
I have dozens of email addresses, and the ability to create as many more as I
would like. If my address was subscribed to a list, even though I marked
every list I have as .hidden (noadvertise /.*/), it showed up on a lists
command sent from the subscribed address. Sending the lists command from a
different account yeilded different results, but that address was subscribed
to a different set of lists. I even activated an old install of
majordomo-1.94.4 to see if I could find the "bug".
Finally I created a new account, that would be impossible to be subscribed to
any lists, su'd to the new ID and did `echo lists | mail majordomo`. Guess
what? None of the lists showed up in the email response from majordomo.
I went back to my original email account and issued the lists command, which
returned 5 list names. One by one, I removed my active address from that
list's subscriber file and reissued the lists command. That was it, one by
one each list disappeared from the response message.
Now is this a bug or by design? At first, I would have thought bug, but I
actually LIKE the design! :)
Happy trails,
Dan Liston
Mike.Tran@twcable.com wrote:
>
> Mr. Liston,
>
> Thanks for all your help.
>
> My list a's restrict posting is working now. However, the list-name 'a' still
> show up when I send a "lists" command. I double checked the configuration for
> $homedir, $listdir and file 'a' ownership and permission. Everything is properly
> set. I have another noadvertise list and its name shows up too.
>
> Am I missing anything else?
>
> Best regards,
>
> -mike tran. (714)903-4158.
> ==================================================================================================
> ---------------------- Forwarded by Mike Tran/Division/LADIV on 05/08/2000 02:27
> PM ---------------------------
>
> "Dan Liston" <dliston@netscape.com> on 05/05/2000 03:32:46 PM
>
> To: Mike Tran/Division/LADIV@TWCABLE, majordomo-users@greatcircle.com
> cc:
>
> Subject: Re: my list doesnt' work properly
>
> Mike.Tran@twcable.com wrote:
> >
> > "The noadvertise setting only means that list-name will not show up
> > when you send majordomo@your.mailhost a "lists" command"
> >
> > I sent majordomo@my.mailhost a 'lists' command and received the result listing
> > of all lists including list a. Do you know why?
>
> Let's get a little more specific so I an quit making assumptions.
> Your list-name = a?
> What does ($homedir =) in your majordomo.cf?
> What does ($listdir =) in your majordomo.cf?
> <$listdir>/a.config is what has the
> noadvertise <<END
> /.*/
> END
> right?
> The a.config file is user and group majordom?
> The permissions on a.config are 644? or stricter?
> In your /etc/aliases (or equivalent) you have;
> a: "|<$homedir>/wrapper resend -l a a-outgoing"
> a-outgoing: :include:<$listdir>/a
>
> This should answer your other question too. :)
>
> Have a good weekend,
> Dan Liston
>
> >
> > " I "assUme" that you are using the resend alias
> > for list-name rather than pointing it directly to your :include:
> > file."
> >
> > How do i set up resend alias to work with restrict posting?
> >
> > Thank you very much.
> >
> > -mike tran.
> > ==============================================================
> >
> > ---------------------- Forwarded by Mike Tran/Division/LADIV on 05/05/2000
> 02:41
> > PM ---------------------------
> >
> > "Dan Liston" <dliston@netscape.com> on 05/05/2000 02:29:26 PM
> >
> > To: Mike Tran/Division/LADIV@TWCABLE
> > cc: majordomo-users@greatcircle.com
> >
> > Subject: Re: my list doesnt' work properly
> >
> > The noadvertise setting only means that list-name will not show up
> > when you send majordomo@your.mailhost a "lists" command.
> >
> > The restrict_post setting does not stop others from writing to the
> > list-name address, but bounces their messages to the list-owner or
> > list-approval address to be dealt with rather than being distributed
> > to the list-name directly.
> >
> > I "assUme" (list 'a') was a typo for (file 'a') in the $listdir
> > directory. I also "assUme" that you are using the resend alias
> > for list-name rather than pointing it directly to your :include:
> > file.
> >
> > Dan Liston
> >
> > Mike.Tran@twcable.com wrote:
> > >
> > > Hi,
> > >
> > > I configured my list file (list-name.config) with unadvertise and
> > restrict_post
> > > options below:
> > >
> > > noadvertise << END
> > > /.*/
> > > END
> > >
> > > and
> > >
> > > restrict_post = a (with list 'a' has only one email address)
> > >
> > > Then log in to a mail client with another email address and then issue the
> > > 'lists' command and send a regular message to my majordomo server. They
> both
> > > work fine.
> > > I got returned messages. Do you know why.
> > >
> > > Thanks
> > > -mike tran.
Follow-Ups:
|
|