[Mailman-Users] No access to list archives

2020-07-27 Thread Odhiambo Washington
Hi,

Odd issue between two OSes with the same config:
In both cases, the archives are configured for public access.
On one server, archives are accessible while on the other, access is denied
with the error message:

*AH00037: Symbolic link not allowed or link target not accessible:
/usr/local/mailman/archives/public/LISTNAME, referer:
https://lists.server.name/mailman/listinfo/LISTNAME
*

root@gw:/usr/local/etc/apache24/Includes # ls -al
/usr/local/mailman/archives/public/LISTNAME/
total 12
drwxrwsr-x   2 root  mailman   512 Jul 26 21:49 .
drwxrws---  58 root  mailman  1536 Jul 26 21:49 ..
-rw-rw-r--   1 root  mailman   493 Jul 26 21:49 index.html



ServerAdmin odhia...@gmail.com
ServerName lists.server.name

RewriteEngine On
Redirect Permanent /htdig /icons/htdig
RedirectMatch ^/mailman[/]*$   /mailman/listinfo/
Alias /pipermail /usr/local/mailman/archives/public

AllowOverride all
Require all granted


Alias /icons /usr/local/www/icons

AllowOverride all
Require all granted

Alias /images/mailman/ /usr/local/mailman/icons/

AllowOverride all
Require all granted



Options Indexes FollowSymlinks   *<= one
would think that this is where the issue is, but seems like it's
elsewhere???*
   AllowOverride None
Require all granted


ScriptAlias /mailman/ /usr/local/mailman/cgi-bin/

Options FollowSymLinks ExecCGI
AllowOverride None
Require all granted


ErrorLog /var/log/mailman-error.log
CustomLog /var/log/mailman-access.log combined
 



-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254 7 3200 0004/+254 7 2274 3223
"Oh, the cruft.", grep ^[^#] :-)
--
Mailman-Users mailing list -- mailman-users@python.org
To unsubscribe send an email to mailman-users-le...@python.org
https://mail.python.org/mailman3/lists/mailman-users.python.org/
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/
https://mail.python.org/archives/list/mailman-users@python.org/


[Mailman-Users] Alternate URL hostname in web UI

2020-07-27 Thread Kevin Bowen
Hello,
I'm trying to set up the mailman (2.1.9) web UI behind a load balancer in
order to offload the TLS to it (because this is an ancient machine which
doesn't support modern TLS versions, and newer browsers are complaining
about it). I need all the links in the web UI to use the new hostname
that's in front of the loadbalancer, instead of the actual hostname behind
the loadbalancer. Am I understanding correctly that DEFAULT_URL_HOST in
mm_cfg.py would be the way to accomplish that? And would that affect only
the URLs used in the web UI, it wouldn't change anything about the actual
mail handling under the hood?

Kevin Bowen
kevin.t.bo...@gmail.com 
--
Mailman-Users mailing list -- mailman-users@python.org
To unsubscribe send an email to mailman-users-le...@python.org
https://mail.python.org/mailman3/lists/mailman-users.python.org/
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/
https://mail.python.org/archives/list/mailman-users@python.org/


[Mailman-Users] Re: Alternate URL hostname in web UI

2020-07-27 Thread Grant Taylor via Mailman-Users

On 7/27/20 12:22 PM, Kevin Bowen wrote:

Hello,


Hi,

I'm trying to set up the mailman (2.1.9) web UI behind a load balancer 
in order to offload the TLS to it (because this is an ancient machine 
which doesn't support modern TLS versions, and newer browsers are 
complaining about it). I need all the links in the web UI to use 
the new hostname that's in front of the loadbalancer, instead of the 
actual hostname behind the loadbalancer. Am I understanding correctly 
that DEFAULT_URL_HOST in mm_cfg.py would be the way to accomplish 
that? And would that affect only the URLs used in the web UI, it 
wouldn't change anything about the actual mail handling under the hood?


I can't speak directly to the DEFAULT_URL_HOST.

Does the load balancer support rewriting things as traffic passes 
through it?  I know it's possible to get Apache to do this.




--
Grant. . . .
unix || die



smime.p7s
Description: S/MIME Cryptographic Signature
--
Mailman-Users mailing list -- mailman-users@python.org
To unsubscribe send an email to mailman-users-le...@python.org
https://mail.python.org/mailman3/lists/mailman-users.python.org/
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/
https://mail.python.org/archives/list/mailman-users@python.org/


[Mailman-Users] Re: Alternate URL hostname in web UI

2020-07-27 Thread Kevin Bowen
I'm not sure. I suspect it might be possible, but I'm not sure how, so if I
could just have mailman itself present the alternate URL, that would be
simpler.

Kevin Bowen
kevin.t.bo...@gmail.com 


On Mon, Jul 27, 2020 at 1:46 PM Grant Taylor via Mailman-Users <
mailman-users@python.org> wrote:

> On 7/27/20 12:22 PM, Kevin Bowen wrote:
> > Hello,
>
> Hi,
>
> > I'm trying to set up the mailman (2.1.9) web UI behind a load balancer
> > in order to offload the TLS to it (because this is an ancient machine
> > which doesn't support modern TLS versions, and newer browsers are
> > complaining about it). I need all the links in the web UI to use
> > the new hostname that's in front of the loadbalancer, instead of the
> > actual hostname behind the loadbalancer. Am I understanding correctly
> > that DEFAULT_URL_HOST in mm_cfg.py would be the way to accomplish
> > that? And would that affect only the URLs used in the web UI, it
> > wouldn't change anything about the actual mail handling under the hood?
>
> I can't speak directly to the DEFAULT_URL_HOST.
>
> Does the load balancer support rewriting things as traffic passes
> through it?  I know it's possible to get Apache to do this.
>
>
>
> --
> Grant. . . .
> unix || die
>
> --
> Mailman-Users mailing list -- mailman-users@python.org
> To unsubscribe send an email to mailman-users-le...@python.org
> https://mail.python.org/mailman3/lists/mailman-users.python.org/
> Mailman FAQ: http://wiki.list.org/x/AgA3
> Security Policy: http://wiki.list.org/x/QIA9
> Searchable Archives:
> https://www.mail-archive.com/mailman-users@python.org/
> https://mail.python.org/archives/list/mailman-users@python.org/
>
--
Mailman-Users mailing list -- mailman-users@python.org
To unsubscribe send an email to mailman-users-le...@python.org
https://mail.python.org/mailman3/lists/mailman-users.python.org/
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/
https://mail.python.org/archives/list/mailman-users@python.org/


[Mailman-Users] Disable mailman 3 emergency moderation flag after migration from mailman 2

2020-07-27 Thread Johanna Amann

Hi,

I have a kind of interesting problem. We migrated a mailman 2 list that 
had emergency moderation enabled to mailman 3 (version 3.3.1). This was 
imported into mailman 3 - so emergency moderation is still enabled.


The web interface, however, does not expose the emergency moderation 
flag. Is there some way to disable it via the command line?


Thanks a lot,
 Johanna
--
Mailman-Users mailing list -- mailman-users@python.org
To unsubscribe send an email to mailman-users-le...@python.org
https://mail.python.org/mailman3/lists/mailman-users.python.org/
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/
   https://mail.python.org/archives/list/mailman-users@python.org/


[Mailman-Users] Re: Disable mailman 3 emergency moderation flag after migration from mailman 2

2020-07-27 Thread Mark Sapiro
On 7/27/20 2:53 PM, Johanna Amann wrote:
> Hi,
> 
> I have a kind of interesting problem. We migrated a mailman 2 list that
> had emergency moderation enabled to mailman 3 (version 3.3.1). This was
> imported into mailman 3 - so emergency moderation is still enabled.
> 
> The web interface, however, does not expose the emergency moderation
> flag. Is there some way to disable it via the command line?


The list for Mailman 3 is mailman-us...@mailman3.org
.

Coincidentally, this was just asked and answered there. See the thread
at
.
Don't overlook my second post correcting errors in my firs reply.


-- 
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
To unsubscribe send an email to mailman-users-le...@python.org
https://mail.python.org/mailman3/lists/mailman-users.python.org/
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/
https://mail.python.org/archives/list/mailman-users@python.org/


[Mailman-Users] Re: Disable mailman 3 emergency moderation flag after migration from mailman 2

2020-07-27 Thread Brian Carpenter

On 7/27/20 9:34 PM, Mark Sapiro wrote:

Coincidentally, this was just asked and answered there. See the thread
at
.
Don't overlook my second post correcting errors in my firs reply.


This is the client that I asking about in my post. She said what I did, 
did not work. This is what I did:


1. Get into a venv as user mailman

2. #mailman shell
>>> from mailman.model.mailinglist import MailingList
>>> mlist = MailingList('listn...@listdomain.org')
>>> mlist.emergency = False
>>> commit()
ctrl-d (just to be on the safe side)

Did I not follow your instructions correctly?

--
Please let me know if you need further assistance.

Thank you for your business. We appreciate our clients.
Brian Carpenter
EMWD.com

--
EMWD's Knowledgebase:
https://clientarea.emwd.com/index.php/knowledgebase

EMWD's Community Forums
http://discourse.emwd.com/

--
Mailman-Users mailing list -- mailman-users@python.org
To unsubscribe send an email to mailman-users-le...@python.org
https://mail.python.org/mailman3/lists/mailman-users.python.org/
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/
   https://mail.python.org/archives/list/mailman-users@python.org/


[Mailman-Users] Re: No access to list archives

2020-07-27 Thread Mark Sapiro
On 7/27/20 5:51 AM, Odhiambo Washington wrote:
> Hi,
> 
> Odd issue between two OSes with the same config:
> In both cases, the archives are configured for public access.
> On one server, archives are accessible while on the other, access is denied
> with the error message:
> 
> *AH00037: Symbolic link not allowed or link target not accessible:
> /usr/local/mailman/archives/public/LISTNAME, referer:
> https://lists.server.name/mailman/listinfo/LISTNAME
> *
> 
> root@gw:/usr/local/etc/apache24/Includes # ls -al
> /usr/local/mailman/archives/public/LISTNAME/
> total 12
> drwxrwsr-x   2 root  mailman   512 Jul 26 21:49 .
> drwxrws---  58 root  mailman  1536 Jul 26 21:49 ..
> -rw-rw-r--   1 root  mailman   493 Jul 26 21:49 index.html

But /usr/local/mailman/archives/public/LISTNAME is a symlink to
/usr/local/mailman/archives/private/LISTNAME so the above is a listing
of /usr/local/mailman/archives/private/LISTNAME/

The issue is ownership and permissions on
/usr/local/mailman/archives/private (the .. directory in the above).
This directory has to be o+x or owned by the web server user. See
.

Yours is o-x and owned by root.

> 
> Options Indexes FollowSymlinks   *<= one
> would think that this is where the issue is, but seems like it's
> elsewhere???*


It's not a symlink issue, it's an inaccessible target.

-- 
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
To unsubscribe send an email to mailman-users-le...@python.org
https://mail.python.org/mailman3/lists/mailman-users.python.org/
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/
https://mail.python.org/archives/list/mailman-users@python.org/


[Mailman-Users] Re: Disable mailman 3 emergency moderation flag after migration from mailman 2

2020-07-27 Thread Johanna Amann
As a small followup for anyone encountering the same problem in the 
future - I ended up just changing the value in the database directly.


So - an “update mailinglist set emergency = FALSE;” (or the 
equivalent in the dialect of the database one uses) removes the 
emergency flag from all mailing lists.


Johanna


On 27 Jul 2020, at 19:13, Brian Carpenter wrote:


On 7/27/20 9:34 PM, Mark Sapiro wrote:
Coincidentally, this was just asked and answered there. See the 
thread

at
.
Don't overlook my second post correcting errors in my firs reply.


This is the client that I asking about in my post. She said what I 
did, did not work. This is what I did:


1. Get into a venv as user mailman

2. #mailman shell
 >>> from mailman.model.mailinglist import MailingList
 >>> mlist = MailingList('listn...@listdomain.org')
 >>> mlist.emergency = False
 >>> commit()
ctrl-d (just to be on the safe side)

Did I not follow your instructions correctly?

--
Please let me know if you need further assistance.

Thank you for your business. We appreciate our clients.
Brian Carpenter
EMWD.com

--
EMWD's Knowledgebase:
https://clientarea.emwd.com/index.php/knowledgebase

EMWD's Community Forums
http://discourse.emwd.com/

--
Mailman-Users mailing list -- mailman-users@python.org
To unsubscribe send an email to mailman-users-le...@python.org
https://mail.python.org/mailman3/lists/mailman-users.python.org/
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: 
https://www.mail-archive.com/mailman-users@python.org/

   https://mail.python.org/archives/list/mailman-users@python.org/

--
Mailman-Users mailing list -- mailman-users@python.org
To unsubscribe send an email to mailman-users-le...@python.org
https://mail.python.org/mailman3/lists/mailman-users.python.org/
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/
   https://mail.python.org/archives/list/mailman-users@python.org/


[Mailman-Users] Re: Alternate URL hostname in web UI

2020-07-27 Thread Mark Sapiro
On 7/27/20 11:22 AM, Kevin Bowen wrote:
> Am I understanding correctly that DEFAULT_URL_HOST in
> mm_cfg.py would be the way to accomplish that? And would that affect only
> the URLs used in the web UI, it wouldn't change anything about the actual
> mail handling under the hood?

That is correct, but you also need to run fix_url after changing
DEFAULT_URL_HOST. See .

-- 
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
To unsubscribe send an email to mailman-users-le...@python.org
https://mail.python.org/mailman3/lists/mailman-users.python.org/
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/
https://mail.python.org/archives/list/mailman-users@python.org/