[Mailman-Users] Problem running CGI - Mailman Admin UI

2020-07-23 Thread Odhiambo Washington
Hello List Admins,

I am somehow at the end of my thinking capacity with this problem, yet I
think it's something minor that a third eye can help me with:
I have installed mailman-2.1.34 on a brand new box running FreeBSD-12.1.
The problem is that the web UI won't open. It instead prompts me
to download a file. The contents of the file can be seen from the below
link:

https://pastebin.com/8bh6g6rv

How I have done the installation:
1. I did the manual options
cd mailman-2.1.34
./configure --with-cgi-gid=80 --with-mail-gid=26
make
make install

2. The files in /usr/local/mailman:
drwxrwsr-x  24 root mailman   1024 Jul 22 17:42 .
drwxr-xr-x  29 root wheel 1024 Jul 19 16:08 ..
drwxrwsr-x  11 root mailman   3072 Jul 22 15:52 Mailman
drwxrwsr-x   5 mailman  mailman512 Jul 19 17:32 archives
drwxrwsr-x   2 root mailman   1536 Jul 22 15:52 bin
drwxrwsr-x   2 root mailman512 Jul 22 15:52 cgi-bin
drwxrwsr-x   2 root mailman512 Jul 23 02:19 cron
drwxrwsr-x   2 root mailman512 Jul 22 15:52 data
drwxrwsr-x   2 root mailman512 Jul 22 15:52 icons
-rw-r--r--   1 root mailman 10 Apr 18  2015 last_mailman_version
drwxrwsr-x  27 root mailman   1024 Jul 19 17:32 lists
drwxrwsr-x   2 root mailman512 Jul 23 12:00 locks
drwxrwsr-x   2 root mailman512 Jul 22 12:44 logs
drwxrwsr-x   2 root mailman512 Jul 22 15:52 mail
drwxrwsrwx  22 root mailman512 Jul 29  2017 mailman
drwxrwsr-x  41 root mailman512 Dec  7  2018 messages
drwxrwsr-x   3 root mailman512 Jul 19 17:32 pythonlib
drwxrwsr-x  12 root mailman512 Jul 19 17:32 qfiles
drwxrwsr-x   2 root mailman512 Jul 22 15:52 scripts
drwxrwsr-x   2 root mailman512 Jul 19 17:32 spam
drwxrwsr-x  45 root mailman   1024 Jul 19 17:32 templates
drwxrwsr-x   4 root mailman512 Jul 22 15:52 tests

3. The file perms in the cgi-bin/
-rwxr-sr-x   1 root  mailman   32728 Jul 22 15:52 admin
-rwxr-sr-x   1 root  mailman   32728 Jul 22 15:52 admindb
-rwxr-sr-x   1 root  mailman   32728 Jul 22 15:52 confirm
-rwxr-sr-x   1 root  mailman   32728 Jul 22 15:52 create
-rwxr-sr-x   1 root  mailman   32728 Jul 22 15:52 edithtml
-rwxr-sr-x   1 root  mailman   19312 Jul 19 17:32 htdig
-rwxr-sr-x   1 root  mailman   32728 Jul 22 15:52 listinfo
-rwxr-sr-x   1 root  mailman   19312 Jul 19 17:32 mmsearch
-rwxr-sr-x   1 root  mailman   32728 Jul 22 15:52 options
-rwxr-sr-x   1 root  mailman   32728 Jul 22 15:52 private
-rwxr-sr-x   1 root  mailman   32728 Jul 22 15:52 rmlist
-rwxr-sr-x   1 root  mailman   32728 Jul 22 15:52 roster
-rw-r-Sr--   1 root  mailman   37742 Nov 25  2012 sitemap.xml.gz
-rwxr-sr-x   1 root  mailman   32728 Jul 22 15:52 subscribe
-rwxr-sr-x   1 root  mailman  108566 Oct 23  2009 swish.cgi

root@gw:/usr/local/etc/apache24/Includes # id mailman
uid=91(mailman) gid=91(mailman) groups=91(mailman),26(mailnull),80(www)

root@gw:/usr/local/etc/apache24/Includes # id www
uid=80(www) gid=80(www) groups=80(www),72(rt4)


VirtualHost configuration:


  ServerName lists.mydom.ain
  ServerAdmin odhia...@gmail.com
  ErrorLog /var/log/mailman-error.log

  RewriteEngine On
# RedirectPermanent /mailman/ https://lists.kictanet.or.ke/mailman/
  RewriteRule ^/(mailman|pipermail|icons|htdig)/.+$ - [S=1]
  RewriteRule ^/(mailman|pipermail|icons|htdig)(/.*)
https://%{HTTP_HOST}/$1$2$3$4
[L,R]
  RedirectPermanent /htdig /icons/htdig
  RedirectMatch ^/mailman[/]*$   /mailman/listinfo/

  Alias /pipermail "/usr/local/mailman/archives/public"
  
Options Indexes FollowSymlinks
AllowOverride all
Order Allow,Deny
Allow from all
Require all granted
   

 ScriptAlias /mailman/ /usr/local/mailman/cgi-bin/
  
 Options FollowSymLinks ExecCGI
 AllowOverride None
 Order Allow,Deny
 Allow from all
 Require all granted
  
 


What is it that I am being blind to that makes the web UI not open?

Thanking you in advance for being my third eye.


-- 
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] Re: Upgrading from 2.1.12

2020-07-23 Thread Barry S. Finkel

On Wed, Jul 22, 2020 at 11:40 PM Mark Sapiro  wrote:


On 7/22/20 12:54 AM, Daniel Krause via Mailman-Users wrote:

Good Day

We have a running 2.1.12 installation that was done long ago via an
external consultant.
It hasn't been changed in years, but I would like to upgrade this to at
least the latest 2.x version and potentially 3.x.
We would also like to migrate this from the current Centos VM to an

Ubuntu

EC2 instance



You have choices. Basically, there are Debian/Ubuntu packages for both
Mailman 2.1 and Mailman 3, but I don't necessarily recommend them. I
prefer installing Mailman 2.1 from source or, for Ubuntu, maybe from Jim
Popovitch's PPA
.

Mailman 3 is more complex, but there is installation info at
, 
and
<
https://docs.google.com/document/d/1xIcSsoNFp2nHi7r4eQys00s9a0k2sHhu1V5PlantPTs/edit

.




Knowing very little about the structure etc of the data etc, what would

be

the best way to go about this?


If you have created a working MM 2.1 installation, see
 for info on moving lists.

For MM 3 there are tools, namely `mailman import21` and
`hyperkitty_import` for importing Mailman 2.1 lists and archives.


--
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/




On 7/22/2020 10:57 PM, Daniel Krause via Mailman-Users wrote:
> Thanks Mark


As I have written before - When I was a Mailman administrator
I was told to install the Debian/Ubuntu package, but that package

 o contained undocumented patches

 o removed a library that was sometimes needed

 o appears to have "fixed" bugs without checking with the
   Mailman development team

So, I could not trust the Ubuntu package.  I spent a lot of time
determining how to create a Debian/Ubuntu package from the source.
I think that this was around 2.1.14, but I assume that my instructions
would work on on the latest 2.1.x source.  For details, contact me
offline.  The procedure is not complicated,

--Barry Finkel


--
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: Upgrading from 2.1.12

2020-07-23 Thread Stephen J. Turnbull
Mark Sapiro writes:
 > On 7/22/20 12:54 AM, Daniel Krause via Mailman-Users wrote:

 > > We have a running 2.1.12 installation that was done long ago via an
 > > external consultant.
 > > It hasn't been changed in years, but I would like to upgrade this to at
 > > least the latest 2.x version and potentially 3.x.

Aside from what Mark said, do you know if the consultant (or a later
worker) added any customizations?  If you don't know, don't worry too
much -- I'm sure we can help restore any changes.  But be sure to keep
a tarball of the old code, it would provide clues.  (Use the rpm query
interface to find what files Mailman installs.)

 > > We would also like to migrate this from the current Centos VM to an Ubuntu
 > > EC2 instance

Are you moving platforms, or do you mean your current EC2 instance
"happens" to be Centos, and your enterprise is standardizing on
Ubuntu?  If your current host is not EC2, be aware that mailing lists
have problems in some configurations of some cloud platforms because
the platforms don't allow forwarding (From address not in your domain).

 > You have choices. Basically, there are Debian/Ubuntu packages for both
 > Mailman 2.1 and Mailman 3, but I don't necessarily recommend them. I
 > prefer installing Mailman 2.1 from source

I also recommend source builds.  They're more consistent if you more
platforms and/or OSes.

Steve
--
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: Upgrading from 2.1.12

2020-07-23 Thread Jim Popovitch via Mailman-Users
On Thu, 2020-07-23 at 10:15 -0500, Barry S. Finkel wrote:
> > On Wed, Jul 22, 2020 at 11:40 PM Mark Sapiro  wrote:
> > 
> > > On 7/22/20 12:54 AM, Daniel Krause via Mailman-Users wrote:
> > > > Good Day
> > > > 
> > > > We have a running 2.1.12 installation that was done long ago via an
> > > > external consultant.
> > > > It hasn't been changed in years, but I would like to upgrade this to at
> > > > least the latest 2.x version and potentially 3.x.
> > > > We would also like to migrate this from the current Centos VM to an
> > > Ubuntu
> > > > EC2 instance
> > > 
> > > You have choices. Basically, there are Debian/Ubuntu packages for both
> > > Mailman 2.1 and Mailman 3, but I don't necessarily recommend them. I
> > > prefer installing Mailman 2.1 from source or, for Ubuntu, maybe from Jim
> > > Popovitch's PPA
> > > ;.
> > > 
> > > Mailman 3 is more complex, but there is installation info at
> > > ;, 
> > > and
> > > <
> > > https://docs.google.com/document/d/1xIcSsoNFp2nHi7r4eQys00s9a0k2sHhu1V5PlantPTs/edit
> > > > .
> > > > Knowing very little about the structure etc of the data etc, what would
> > > be
> > > > the best way to go about this?
> > > 
> > > If you have created a working MM 2.1 installation, see
> > >  for info on moving lists.
> > > 
> > > For MM 3 there are tools, namely `mailman import21` and
> > > `hyperkitty_import` for importing Mailman 2.1 lists and archives.
> > > 
> > > 
> > > --
> > > 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/
> 
> 
> On 7/22/2020 10:57 PM, Daniel Krause via Mailman-Users wrote:
>  > Thanks Mark
> 
> 
> As I have written before - When I was a Mailman administrator
> I was told to install the Debian/Ubuntu package, but that package
> 
>   o contained undocumented patches
> 
>   o removed a library that was sometimes needed
> 
>   o appears to have "fixed" bugs without checking with the
> Mailman development team
> 
> So, I could not trust the Ubuntu package.  I spent a lot of time
> determining how to create a Debian/Ubuntu package from the source.
> I think that this was around 2.1.14, but I assume that my instructions
> would work on on the latest 2.1.x source.  For details, contact me
> offline.  The procedure is not complicated,


FWIW, to those interested, the procedures (recipes) for auto building
the Mailman 2.x PPA are locate here:

https://code.launchpad.net/~mailman-administrivia

They contain all the rules/logic/scripts to build the Debian/Ubuntu
packages that auto-build off of Mark's code bases for mailman2.x,
mailman-htdig, etc.

-Jim P.

--
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: Problem running CGI - Mailman Admin UI

2020-07-23 Thread Juergen Dollinger
Odhiambo Washington wrote:
> What is it that I am being blind to that makes the web UI not open?

Did you load the cgi-Module of apache? Can you run other cgi-scripts?

-- 
\ J. Dollinger FAW/n Ulm |zeitnot@irc| http://www.home.pages.de/~zeitnot/
 \"What're quantum mechanics?"   --   "I don't know. People who/
  \repair quantums, I suppose." (Terry Pratchett, Eric)   /
--
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/