Re: [Mailman-Users] two problems with Mailman 2.1

2018-03-26 Thread Dave Stevens
On Thu, 1 Feb 2018 15:12:44 -0800
Mark Sapiro  wrote:

> On 02/01/2018 12:41 PM, Dave Stevens wrote:
> > I?m having a couple of problems with a Mailman 2.1 list.
> > 
> > I want to add several addresses as new subscribers so as a first
> > step I added one of them using the mass subscription facility in
> > membership management. Mailman accepted the data but when I
> > subsequently checked the subscriber list it wasn?t there. This has
> > been the case for two days now.  
> 
> 
> When you submitted the mass subscribe form the first time, did you
> get a response with a message at the top saying "successfully
> subscribed" or did it say something else.
> 
> 
> > Today I checked manually that the recipient address was in fact
> > working and decided to resubscribe using the same method. I enter
> > the data in the text box (I?ve done this several times) then click
> > on the "submit your changes" button below and get this
> > message, ?Error: The form lifetime has expired. (request forgery
> > check)?
> > 
> > This happens without any special delay on my part, not more than a
> > few minutes. Please advise.  
> 
> 
> You need to first get the form and then submit it within whatever the
> FORM_LIFETIME setting is in your installation. The default is one hour
> but could be different in your installation.
> 
> I suspect the issue is something else. I don't know what the issue
> might be, but one thing to check is to look at the HTML source of the
> admin/LIST_NAME/members/add page in your browser. The FORM tag in that
> source should be
> 
>  enctype="multipart/form-data">
> 
> If instead it is something like
> 
> http://example.com/mailman/admin/gpc-talk/members/add;
> method="POST" enctype="multipart/form-data">
> 
> And the URL in the address bar is different, i.e. a different domain
> or a different scheme (like https vs http) that might be an issue.
> 
> Is this your Mailman installation or a hosted installation?
> 
> Do other 'admin' and 'admindb' pages work? I.e. if you change
> something on the admin General Options page and submit, does it work
> or produce the same form lifetime error?
> 

Hi Mark,

I eventually found withlist, which I hadn't know about before and that
allowed me to do what I needed, even though the GUI is still not
functional. Thhanks very much for your help.


D
--
Mailman-Users mailing list Mailman-Users@python.org
https://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: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] two problems with Mailman 2.1

2018-02-19 Thread Dave Stevens
On Thu, 1 Feb 2018 15:12:44 -0800
Mark Sapiro  wrote:

> On 02/01/2018 12:41 PM, Dave Stevens wrote:
> > I?m having a couple of problems with a Mailman 2.1 list.


fwiw this has now been deemed a bug by virtualimin whose installer put
the list in place. After a recent VM upgrade this started happening.
It's being worked on I'll post a fix if one develops

Dave

> > 
> > I want to add several addresses as new subscribers so as a first
> > step I added one of them using the mass subscription facility in
> > membership management. Mailman accepted the data but when I
> > subsequently checked the subscriber list it wasn?t there. This has
>

snip!
-- 
In modern fantasy (literary or governmental), killing people is the
usual solution to the so-called war between good and evil. My books are
not conceived in terms of such a war, and offer no simple answers to
simplistic questions.

- Ursula Le Guin
--
Mailman-Users mailing list Mailman-Users@python.org
https://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: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] two problems with Mailman 2.1

2018-02-01 Thread Mark Sapiro
On 02/01/2018 12:41 PM, Dave Stevens wrote:
> I?m having a couple of problems with a Mailman 2.1 list.
> 
> I want to add several addresses as new subscribers so as a first step I
> added one of them using the mass subscription facility in membership
> management. Mailman accepted the data but when I subsequently checked
> the subscriber list it wasn?t there. This has been the case for two days
> now.


When you submitted the mass subscribe form the first time, did you get a
response with a message at the top saying "successfully subscribed" or
did it say something else.


> Today I checked manually that the recipient address was in fact working
> and decided to resubscribe using the same method. I enter the data in
> the text box (I?ve done this several times) then click on the "submit
> your changes" button below and get this message, ?Error: The form
> lifetime has expired. (request forgery check)?
> 
> This happens without any special delay on my part, not more than a few
> minutes. Please advise.


You need to first get the form and then submit it within whatever the
FORM_LIFETIME setting is in your installation. The default is one hour
but could be different in your installation.

I suspect the issue is something else. I don't know what the issue might
be, but one thing to check is to look at the HTML source of the
admin/LIST_NAME/members/add page in your browser. The FORM tag in that
source should be



If instead it is something like

http://example.com/mailman/admin/gpc-talk/members/add;
method="POST" enctype="multipart/form-data">

And the URL in the address bar is different, i.e. a different domain or
a different scheme (like https vs http) that might be an issue.

Is this your Mailman installation or a hosted installation?

Do other 'admin' and 'admindb' pages work? I.e. if you change something
on the admin General Options page and submit, does it work or produce
the same form lifetime error?

-- 
Mark Sapiro The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan
--
Mailman-Users mailing list Mailman-Users@python.org
https://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: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org