[Mailman-Users] accessing relay mailman server from its own network

Anne Wainwright anotheranne at fables.co.za
Thu Apr 11 14:46:48 CEST 2013


Mark, hello,

Actually there were 5 'absolute=1' entries in admindb.py and changing
them all has resolved the issue of pending moderator request, but the
list archives remains absolute.

Awaiting your official confirmation on which entries to change.

Anne

On Thu, Apr 11, 2013 at 02:25:10PM +0200, Anne Wainwright wrote:
> Hello, Mark,
> 
> This action solved the stated problem but now I note that the same
> situation pertains in "Tend to pending moderator requests" where
> held messages cannot be read or actioned.
> 
> Also "Go to list archives". (we do not have this running). The other two
> links are fine.
> 
> I see three more 'absolute=1' entries in admindb.py - shall I change all
> three?
> 
> regards
> Anne
> 
> 
> On Wed, Apr 10, 2013 at 03:00:50PM -0700, Mark Sapiro wrote:
> > Mark Sapiro wrote:
> > >
> > >What we need to do is figure out why those few URLs on the Membership
> > >List page are absolute. It may be a bug. I'll look at that.
> > 
> > 
> > There are two places in Mailman/Cgi/admin.py where it requests absolute
> > URLs. The relevant code bits are
> > 
> > def membership_options(mlist, subcat, cgidata, doc, form):
> >     # Show the main stuff
> >     adminurl = mlist.GetScriptURL('admin', absolute=1)
> >     ...
> > 
> > and
> > 
> > def password_inputs(mlist):
> >     adminurl = mlist.GetScriptURL('admin', absolute=1)
> > 
> > The first of these affects the 'letter/digit' links on the membership
> > ant the action for the Search, Submit Your Changes and Set buttons,
> > and the second affects (I think) only the link to the general options
> > section on the Passwords page.
> > 
> > I see no reason why these need to be absolute URLs. You could just
> > change the two mlist.GetScriptURL lines to
> > 
> >     adminurl = mlist.GetScriptURL('admin')
> > 
> > and I think that would fix it. If you wouldn't mind trying this and
> > reporting, I'd appreciate it and if it seems OK, I'll file a bug and
> > change it for 2.1.16.
> > 
> > There may be some http/https issue around this, but offhand, I can't
> > think why.
> > 
> > -- 
> > Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
> > San Francisco Bay Area, California    better use your sense - B. Dylan
> > 
> ------------------------------------------------------
> Mailman-Users mailing list Mailman-Users at python.org
> http://mail.python.org/mailman/listinfo/mailman-users
> Mailman FAQ: http://wiki.list.org/x/AgA3
> Security Policy: http://wiki.list.org/x/QIA9
> Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
> Unsubscribe: http://mail.python.org/mailman/options/mailman-users/anotheranne%40fables.co.za


More information about the Mailman-Users mailing list