Re: [Mailman-Users] Mailman installation does not work

2016-07-07 Thread Mark Sapiro
On 7/7/16 11:02 AM, Bob wrote:
> 
> On 2016-07-07 10:02 AM, Mark Sapiro wrote:
>> On 7/6/16 10:38 AM, Bob Lydiate wrote:
>>
>>> When I try to access the web interface, I am asked if I want to open
>>> a file
>>> called 'admin' instead of opening a webpage called admin.
>>
>> This is an issue with your Apache config. See
>> .
>>
> 
> I have done what this page says as far as I can tell and it still
> doesn't serve up a webpage. What I have in
> '/etc/apache2/sites-enabled/mailman.conf' is
> 
>  
> AllowOverride None
> Options ExecCGI
> AddHandler cgi-script .cgi
> Require all granted
>
>
> Options FollowSymlinks
> AllowOverride None
> Require all granted
>
>
> AllowOverride None
> Require all granted
>

Plus more below...

>>
>>> I did alter the config setup to have mydomain.ca rather than
>>> lists.mydomain.ca, but that is the only change I made to the config
>>> as it
>>> came through.
>>
>> What exactly did you change?
> from /etc/mailman/mm_cfg.py
> DEFAULT_EMAIL_HOST = 'faithwalk.ca'
> DEFAULT_URL_HOST   = 'faithwalk.ca'
> 
> and from /etc/apache2/sites-enabled/mailman.conf
> 
> ServerName faithwalk.ca
> DocumentRoot /var/www/
> ErrorLog /var/log/apache2/lists-error.log
> CustomLog /var/log/apache2/lists-access.log combined
> 
> 
> Options FollowSymLinks
> AllowOverride None
> 
> 
> Alias /pipermail/ /var/lib/mailman/archives/public/
> Alias /images/mailman/ /usr/share/images/mailman/
> ScriptAlias /admin /usr/lib/cgi-bin/mailman/admin
> ScriptAlias /admindb /usr/lib/cgi-bin/mailman/admindb
> ScriptAlias /confirm /usr/lib/cgi-bin/mailman/confirm
> ScriptAlias /create /usr/lib/cgi-bin/mailman/create
> ScriptAlias /edithtml /usr/lib/cgi-bin/mailman/edithtml
> ScriptAlias /listinfo /usr/lib/cgi-bin/mailman/listinfo
> ScriptAlias /options /usr/lib/cgi-bin/mailman/options
> ScriptAlias /private /usr/lib/cgi-bin/mailman/private
> ScriptAlias /rmlist /usr/lib/cgi-bin/mailman/rmlist
> ScriptAlias /roster /usr/lib/cgi-bin/mailman/roster
> ScriptAlias /subscribe /usr/lib/cgi-bin/mailman/subscribe
> ScriptAlias /mailman/ /usr/lib/cgi-bin/mailman/
> 


Your Apache config looks OK. Have you enabled mod_cgi?


> The things that I am searching out are the things mentioned above plus
> mail not being delivered through the list. I am pretty focused on
> figuring out the web interface problem first as it was the first problem
> I noticed. I have figured out that mailman is working, I can create
> lists and add members through the command line, but the list mail is not
> getting delivered. The mail log says it was sent, but I do not receive
> it on any of the addresses I added to my testlist.


See .

Also, when you say "The mail log says it was sent" do you mean you see
entries in /var/log/mail.log saying the mail to a final recipient was
successfully delivered to that recipient's MX. If so, the problem is
between that MX and the final recipient's mailbox. If that's not what
you mean, what is in the mail.log?

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


Re: [Mailman-Users] Mailman installation does not work

2016-07-07 Thread Bob

Thanks for responding Mark. My replies to your comments are below.

On 2016-07-07 10:02 AM, Mark Sapiro wrote:

On 7/6/16 10:38 AM, Bob Lydiate wrote:

Problem 1
When I run 'check_perms -f' it tells me that the permissions on
/var/lib/mailman/cron bad group (has:root, expected list) (fixing)
this problem is repeated with 9 other scripts. When I check the actual
directory '/var/lib/mailman' I find that these files are all links to
'/usr/lib/*; where the correct group is set.


You can ignore the check_perms error. It comes about because the Debian
(and hence Ubuntu) package patches check_perms to use os.lstat rather
than os.stat and thus looks at the mode and group of the symlink instead
of the target. The mode and group of the symlink are irrelevant and
can't be changed anyway.



Thank you for pointing this out. I was hoping that this was the case.






When I try to access the web interface, I am asked if I want to open a file
called 'admin' instead of opening a webpage called admin.


This is an issue with your Apache config. See
.



I have done what this page says as far as I can tell and it still 
doesn't serve up a webpage. What I have in 
'/etc/apache2/sites-enabled/mailman.conf' is


 
AllowOverride None
Options ExecCGI
AddHandler cgi-script .cgi
Require all granted
   
   
Options FollowSymlinks
AllowOverride None
Require all granted
   
   
AllowOverride None
Require all granted
   




when I run '/etc/init.d/mailman start' or the equivalent for postfix or
apache, I get no errors.


OK.



I did alter the config setup to have mydomain.ca rather than
lists.mydomain.ca, but that is the only change I made to the config as it
came through.


What exactly did you change?

from /etc/mailman/mm_cfg.py
DEFAULT_EMAIL_HOST = 'faithwalk.ca'
DEFAULT_URL_HOST   = 'faithwalk.ca'

and from /etc/apache2/sites-enabled/mailman.conf

ServerName faithwalk.ca
DocumentRoot /var/www/
ErrorLog /var/log/apache2/lists-error.log
CustomLog /var/log/apache2/lists-access.log combined


Options FollowSymLinks
AllowOverride None


Alias /pipermail/ /var/lib/mailman/archives/public/
Alias /images/mailman/ /usr/share/images/mailman/
ScriptAlias /admin /usr/lib/cgi-bin/mailman/admin
ScriptAlias /admindb /usr/lib/cgi-bin/mailman/admindb
ScriptAlias /confirm /usr/lib/cgi-bin/mailman/confirm
ScriptAlias /create /usr/lib/cgi-bin/mailman/create
ScriptAlias /edithtml /usr/lib/cgi-bin/mailman/edithtml
ScriptAlias /listinfo /usr/lib/cgi-bin/mailman/listinfo
ScriptAlias /options /usr/lib/cgi-bin/mailman/options
ScriptAlias /private /usr/lib/cgi-bin/mailman/private
ScriptAlias /rmlist /usr/lib/cgi-bin/mailman/rmlist
ScriptAlias /roster /usr/lib/cgi-bin/mailman/roster
ScriptAlias /subscribe /usr/lib/cgi-bin/mailman/subscribe
ScriptAlias /mailman/ /usr/lib/cgi-bin/mailman/





I have checked the archives and have searched out the issues that I
suspect, but have found nothing that worked to fix these issues.


What exactly are your issues? What doesn't work? What do you do that
produces a result different from what you expect, and what is the result?

The things that I am searching out are the things mentioned above plus 
mail not being delivered through the list. I am pretty focused on 
figuring out the web interface problem first as it was the first problem 
I noticed. I have figured out that mailman is working, I can create 
lists and add members through the command line, but the list mail is not 
getting delivered. The mail log says it was sent, but I do not receive 
it on any of the addresses I added to my testlist.



--
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] Mailman installation does not work

2016-07-07 Thread Mark Sapiro
On 7/6/16 10:38 AM, Bob Lydiate wrote:
> 
> Problem 1
> When I run 'check_perms -f' it tells me that the permissions on
> /var/lib/mailman/cron bad group (has:root, expected list) (fixing)
> this problem is repeated with 9 other scripts. When I check the actual
> directory '/var/lib/mailman' I find that these files are all links to
> '/usr/lib/*; where the correct group is set.


You can ignore the check_perms error. It comes about because the Debian
(and hence Ubuntu) package patches check_perms to use os.lstat rather
than os.stat and thus looks at the mode and group of the symlink instead
of the target. The mode and group of the symlink are irrelevant and
can't be changed anyway.


> When I try to access the web interface, I am asked if I want to open a file
> called 'admin' instead of opening a webpage called admin.


This is an issue with your Apache config. See
.


> when I run '/etc/init.d/mailman start' or the equivalent for postfix or
> apache, I get no errors.


OK.


> I did alter the config setup to have mydomain.ca rather than
> lists.mydomain.ca, but that is the only change I made to the config as it
> came through.


What exactly did you change?


> I have checked the archives and have searched out the issues that I
> suspect, but have found nothing that worked to fix these issues.


What exactly are your issues? What doesn't work? What do you do that
produces a result different from what you expect, and what is the result?


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


[Mailman-Users] Mailman installation does not work

2016-07-07 Thread Bob Lydiate
I am reinstalling Mailman after having to change servers. I am using Ubuntu
16.04, Apache, Postfix, Mailman. I have apache and postfix both working and
serving mail and web. I have installed and re-installed Mailman a couple of
times to try and get it working right and now have no idea what is creating
the problem that stops it from working. I have several issues that I can
identify, and I am sure there are several that I have missed.

Problem 1
When I run 'check_perms -f' it tells me that the permissions on
/var/lib/mailman/cron bad group (has:root, expected list) (fixing)
this problem is repeated with 9 other scripts. When I check the actual
directory '/var/lib/mailman' I find that these files are all links to
'/usr/lib/*; where the correct group is set.

When I try to access the web interface, I am asked if I want to open a file
called 'admin' instead of opening a webpage called admin.

when I run '/etc/init.d/mailman start' or the equivalent for postfix or
apache, I get no errors.

I did alter the config setup to have mydomain.ca rather than
lists.mydomain.ca, but that is the only change I made to the config as it
came through.

I have checked the archives and have searched out the issues that I
suspect, but have found nothing that worked to fix these issues.

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