Re: [Mailman-Users] Update mailman MacServer5
On 09/04/2016 12:53 AM, Matthias Schmidt via Mailman-Users wrote: > Hello, > > now I’m stuck here: > > local[74919]: fatal: execvp /usr/share/mailman/mail/mailman: No such file or > directory > > local is owned by postfix so far I found out. > What I can’t find is where this line is to be able to correct it (Spotlight > also finds nothing) > > thanks > Matthias Hallo, Matthias, How did you solve your problem. I have the same issue, but the mailing list thread doesn't show, what you did to address this, only that it evidently ceased to be broken. Yours, Dominik Hoffmann -- 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] Update mailman MacServer5
Timothy, thanks for the tip, but I do not intend to install MacPorts as I had different experiences with it in the past. Besides that, mailman is now running fine now. The only problem left is that the include of the cgi link of the mailman config is not working with the current Apache setup. I guess it has something to do with the new way Apple handles every website hosted on the box through a proxy and I still need to find out how that works - will do so tomorrow ;-) If you don’t mind, you could post your config for your website hosting your list. thanks Matthias > Am 05.09.2016 um 02:52 schrieb Timothy Jasionowski: > > I think I may have sent this directly, but... > > Mattias, > > I had good luck installing mailman on El Capitan/Server 5 using MacPorts, as > it manages all the dependencies and integrates all the chron jobs and startup > stuff, but due to some legacy issues with the MacPorts configuration file, > the build appends the .cgi prefix in the URI construction. It, otherwise, > works fine. It avoided a lot of the issues you had in configuring it and, > more importantly, maintaining it. > > If you want to get rid of the extension, download macports, refresh the build > index, then edit the macports mailman build file, replacing: > > configure.args --with-cgi-ext=.cgi \ > --with-cgi-gid=${cgigroup} \ > > with > > configure.args --with-cgi-gid=${cgigroup} \ > > Thanks again to Marius Schamschula for that tip, as it drove me crazy. > > Timothy > > Sent from my iPhone > >> On Sep 4, 2016, at 11:53, Mark Sapiro wrote: >> >>> On 09/04/2016 01:56 AM, Matthias Schmidt via Mailman-Users wrote: >>> sorry for being such a pain today _/\_ >>> >>> now the webinterface is not coming up. >>> It looks like the cgi is not executed instead a 404 error is generated >>> >>> my mailman.conf for apache looks like that (it’s basically the same as on >>> 10.6, I just changed the path): >>> >>> ScriptAlias /mailman/ "/usr/local/mailman/cgi-bin/" >> >> >> This is OK, but ... >> >> >>> Alias /pipermail/ "/var/mailman/archives/public/" >>> >>> Options FollowSymLinks MultiViews Indexes >>> AllowOverride None >>> Order allow,deny >>> Allow from all >>> >>> >>> it is included with http.conf >>> >>> for the site I have a redirect: >>> RewriteCond %{HTTP_HOST}%{REQUEST_URI} ^liste\.dinj\.de.$ >>> RewriteRule ^/(.*) https://%{SERVER_NAME}/mailman/listinfo/dinj >>> [L,R=permanent] >>> and that stuff was working on 10.6 >> >> >> And all that does is redirect 'http(s)://liste.dinj.de/' to >> 'https://%{SERVER_NAME}/mailman/listinfo/dinj' >> >> >>> the logs say this: >>> [Sun Sep 04 17:41:42.375938 2016] [:debug] [pid 95364] >>> mod_hfs_apple2.c(397): [client 127.0.0.1:59199] mod_hfs_apple: Allowing >>> access with matching directory. filename = /WebFolder/dinj/mailman >>> [Sun Sep 04 17:41:42.375977 2016] [core:info] [pid 95364] [client >>> 127.0.0.1:59199] AH00128: File does not exist: >>> /WebFolder/dinj/mailman/listinfo/dinj >> >> >> So why is Apache looking for /WebFolder/dinj/mailman/listinfo/dinj? Is >> /WebFolder/dinj the DocumentRoot? >> >> Does this happen with any mailman URL? If you go to >> 'https://liste.dinj.de/mailman/admin/dinj' do you get a similar 404 or >> only if you go to' https://liste.dinj.de/'. >> >> Somehow your 'ScriptAlias /mailman/' directive is not effective. In a >> more or less normal apache configuration it is not sufficient to put >> mailman.conf in /etc/apache2/conf.d/, you must also have a symlink to it >> in /etc/apache2/conf-enabled/. I have no idea if this applies to Mac OX >> X Server, but you need to look at your Include and IncludeOptional >> directives in the main apache2.conf or whatever it's called to ensure >> that mailman.conf is directly or indirectly included. >> >> >>> /usr/local/mailman/cgi-bin/ has permissions set to 775 >> >> >> It should be 2775 (drwxrwsr-w) but the important thing is the files >> therein should be 2755 (-rwxr-sr-x). >> >> -- >> 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/timothy.d%40jasionow.ski > -- > 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:
Re: [Mailman-Users] Update mailman MacServer5
I think I may have sent this directly, but... Mattias, I had good luck installing mailman on El Capitan/Server 5 using MacPorts, as it manages all the dependencies and integrates all the chron jobs and startup stuff, but due to some legacy issues with the MacPorts configuration file, the build appends the .cgi prefix in the URI construction. It, otherwise, works fine. It avoided a lot of the issues you had in configuring it and, more importantly, maintaining it. If you want to get rid of the extension, download macports, refresh the build index, then edit the macports mailman build file, replacing: configure.args --with-cgi-ext=.cgi \ --with-cgi-gid=${cgigroup} \ with configure.args --with-cgi-gid=${cgigroup} \ Thanks again to Marius Schamschula for that tip, as it drove me crazy. Timothy Sent from my iPhone > On Sep 4, 2016, at 11:53, Mark Sapirowrote: > >> On 09/04/2016 01:56 AM, Matthias Schmidt via Mailman-Users wrote: >> sorry for being such a pain today _/\_ >> >> now the webinterface is not coming up. >> It looks like the cgi is not executed instead a 404 error is generated >> >> my mailman.conf for apache looks like that (it’s basically the same as on >> 10.6, I just changed the path): >> >> ScriptAlias /mailman/ "/usr/local/mailman/cgi-bin/" > > > This is OK, but ... > > >> Alias /pipermail/ "/var/mailman/archives/public/" >> >>Options FollowSymLinks MultiViews Indexes >>AllowOverride None >>Order allow,deny >>Allow from all >> >> >> it is included with http.conf >> >> for the site I have a redirect: >> RewriteCond %{HTTP_HOST}%{REQUEST_URI} ^liste\.dinj\.de.$ >> RewriteRule ^/(.*) https://%{SERVER_NAME}/mailman/listinfo/dinj >> [L,R=permanent] >> and that stuff was working on 10.6 > > > And all that does is redirect 'http(s)://liste.dinj.de/' to > 'https://%{SERVER_NAME}/mailman/listinfo/dinj' > > >> the logs say this: >> [Sun Sep 04 17:41:42.375938 2016] [:debug] [pid 95364] >> mod_hfs_apple2.c(397): [client 127.0.0.1:59199] mod_hfs_apple: Allowing >> access with matching directory. filename = /WebFolder/dinj/mailman >> [Sun Sep 04 17:41:42.375977 2016] [core:info] [pid 95364] [client >> 127.0.0.1:59199] AH00128: File does not exist: >> /WebFolder/dinj/mailman/listinfo/dinj > > > So why is Apache looking for /WebFolder/dinj/mailman/listinfo/dinj? Is > /WebFolder/dinj the DocumentRoot? > > Does this happen with any mailman URL? If you go to > 'https://liste.dinj.de/mailman/admin/dinj' do you get a similar 404 or > only if you go to' https://liste.dinj.de/'. > > Somehow your 'ScriptAlias /mailman/' directive is not effective. In a > more or less normal apache configuration it is not sufficient to put > mailman.conf in /etc/apache2/conf.d/, you must also have a symlink to it > in /etc/apache2/conf-enabled/. I have no idea if this applies to Mac OX > X Server, but you need to look at your Include and IncludeOptional > directives in the main apache2.conf or whatever it's called to ensure > that mailman.conf is directly or indirectly included. > > >> /usr/local/mailman/cgi-bin/ has permissions set to 775 > > > It should be 2775 (drwxrwsr-w) but the important thing is the files > therein should be 2755 (-rwxr-sr-x). > > -- > 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/timothy.d%40jasionow.ski -- 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] Update mailman MacServer5
On 09/04/2016 01:56 AM, Matthias Schmidt via Mailman-Users wrote: > sorry for being such a pain today _/\_ > > now the webinterface is not coming up. > It looks like the cgi is not executed instead a 404 error is generated > > my mailman.conf for apache looks like that (it’s basically the same as on > 10.6, I just changed the path): > > ScriptAlias /mailman/ "/usr/local/mailman/cgi-bin/" This is OK, but ... > Alias /pipermail/ "/var/mailman/archives/public/" > > Options FollowSymLinks MultiViews Indexes > AllowOverride None > Order allow,deny > Allow from all > > > it is included with http.conf > > for the site I have a redirect: > RewriteCond %{HTTP_HOST}%{REQUEST_URI} ^liste\.dinj\.de.$ > RewriteRule ^/(.*) https://%{SERVER_NAME}/mailman/listinfo/dinj > [L,R=permanent] > and that stuff was working on 10.6 And all that does is redirect 'http(s)://liste.dinj.de/' to 'https://%{SERVER_NAME}/mailman/listinfo/dinj' > the logs say this: > [Sun Sep 04 17:41:42.375938 2016] [:debug] [pid 95364] mod_hfs_apple2.c(397): > [client 127.0.0.1:59199] mod_hfs_apple: Allowing access with matching > directory. filename = /WebFolder/dinj/mailman > [Sun Sep 04 17:41:42.375977 2016] [core:info] [pid 95364] [client > 127.0.0.1:59199] AH00128: File does not exist: > /WebFolder/dinj/mailman/listinfo/dinj So why is Apache looking for /WebFolder/dinj/mailman/listinfo/dinj? Is /WebFolder/dinj the DocumentRoot? Does this happen with any mailman URL? If you go to 'https://liste.dinj.de/mailman/admin/dinj' do you get a similar 404 or only if you go to' https://liste.dinj.de/'. Somehow your 'ScriptAlias /mailman/' directive is not effective. In a more or less normal apache configuration it is not sufficient to put mailman.conf in /etc/apache2/conf.d/, you must also have a symlink to it in /etc/apache2/conf-enabled/. I have no idea if this applies to Mac OX X Server, but you need to look at your Include and IncludeOptional directives in the main apache2.conf or whatever it's called to ensure that mailman.conf is directly or indirectly included. > /usr/local/mailman/cgi-bin/ has permissions set to 775 It should be 2775 (drwxrwsr-w) but the important thing is the files therein should be 2755 (-rwxr-sr-x). -- Mark SapiroThe highway is for gamblers, San Francisco Bay Area, Californiabetter use your sense - B. Dylan signature.asc Description: OpenPGP digital signature -- 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] Update mailman MacServer5
sorry for being such a pain today _/\_ now the webinterface is not coming up. It looks like the cgi is not executed instead a 404 error is generated my mailman.conf for apache looks like that (it’s basically the same as on 10.6, I just changed the path): ScriptAlias /mailman/ "/usr/local/mailman/cgi-bin/" Alias /pipermail/ "/var/mailman/archives/public/" Options FollowSymLinks MultiViews Indexes AllowOverride None Order allow,deny Allow from all it is included with http.conf for the site I have a redirect: RewriteCond %{HTTP_HOST}%{REQUEST_URI} ^liste\.dinj\.de.$ RewriteRule ^/(.*) https://%{SERVER_NAME}/mailman/listinfo/dinj [L,R=permanent] and that stuff was working on 10.6 the logs say this: [Sun Sep 04 17:41:42.375938 2016] [:debug] [pid 95364] mod_hfs_apple2.c(397): [client 127.0.0.1:59199] mod_hfs_apple: Allowing access with matching directory. filename = /WebFolder/dinj/mailman [Sun Sep 04 17:41:42.375977 2016] [core:info] [pid 95364] [client 127.0.0.1:59199] AH00128: File does not exist: /WebFolder/dinj/mailman/listinfo/dinj /usr/local/mailman/cgi-bin/ has permissions set to 775 thanks again Matthias > Am 04.09.2016 um 14:06 schrieb Mark Sapiro: > > On 09/03/2016 09:53 PM, Matthias Schmidt wrote: >> >> now I’m stuck here: >> local[74919]: fatal: execvp /usr/share/mailman/mail/mailman: No such file or >> directory >> >> local is owned by postfix so far I found out. >> What I can’t find is where this line is to be able to correct it (Spotlight >> also finds nothing) > > > It's in your Postfix aliases for Mailman. > > -- > Mark Sapiro The highway is for gamblers, > San Francisco Bay Area, Californiabetter use your sense - B. Dylan > signature.asc Description: Message signed with OpenPGP using GPGMail -- 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] Update mailman MacServer5
On 09/03/2016 09:53 PM, Matthias Schmidt wrote: > > now I’m stuck here: > local[74919]: fatal: execvp /usr/share/mailman/mail/mailman: No such file or > directory > > local is owned by postfix so far I found out. > What I can’t find is where this line is to be able to correct it (Spotlight > also finds nothing) It's in your Postfix aliases for Mailman. -- Mark SapiroThe highway is for gamblers, San Francisco Bay Area, Californiabetter use your sense - B. Dylan signature.asc Description: OpenPGP digital signature -- 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] Update mailman MacServer5
Hello, now I’m stuck here: local[74919]: fatal: execvp /usr/share/mailman/mail/mailman: No such file or directory local is owned by postfix so far I found out. What I can’t find is where this line is to be able to correct it (Spotlight also finds nothing) thanks Matthias > Am 04.09.2016 um 01:10 schrieb Mark Sapiro: > > On 09/03/2016 08:48 AM, Matthias Schmidt via Mailman-Users wrote: >> >> I’ve been updating a MacOS10.6 Server to Server 5 (elCapitan). >> Mailman is not shipped anymore with the current version. >> So I downloaded 2.1.23, installed the lat version of phyton as well as >> dnsphyton. >> Then I copied the old mailman folders over to /usr/local/mailman and >> /var/mailman >> Then I ran configure and the installation went through. >> but when I try to start mailman I get this error: >> File "/usr/local/mailman/bin/mailmanctl", line 106, in >>from Mailman import mm_cfg >> ImportError: No module named Mailman > > > It would appear that there is some confusion, probably due to the > '--prefix' and '--with-var-prefix' you configured with not being > correct. It looks like they should be --prefix=/usr/local/mailman > --with-var-prefix=/var/mailman. > > What's in /usr/local/mailman/bin/paths.py for 'prefix =' and is there a > Mailman directory and a Mailman/__init__.py file in that directory? > > -- > 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/beta%40admilon.net signature.asc Description: Message signed with OpenPGP using GPGMail -- 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] Update mailman MacServer5
Mark, thanks. > Am 04.09.2016 um 01:10 schrieb Mark Sapiro: > > On 09/03/2016 08:48 AM, Matthias Schmidt via Mailman-Users wrote: >> >> I’ve been updating a MacOS10.6 Server to Server 5 (elCapitan). >> Mailman is not shipped anymore with the current version. >> So I downloaded 2.1.23, installed the lat version of phyton as well as >> dnsphyton. >> Then I copied the old mailman folders over to /usr/local/mailman and >> /var/mailman >> Then I ran configure and the installation went through. >> but when I try to start mailman I get this error: >> File "/usr/local/mailman/bin/mailmanctl", line 106, in >>from Mailman import mm_cfg >> ImportError: No module named Mailman > > > It would appear that there is some confusion, probably due to the > '--prefix' and '--with-var-prefix' you configured with not being > correct. It looks like they should be --prefix=/usr/local/mailman > —with-var-prefix=/var/mailman. I ran configure again like this: mailman-2.1.23/configure --prefix=/usr/local/mailman --with-var-prefix=/var/mailman > > What’s in /usr/local/mailman/bin/paths.py for 'prefix =' and is there a ah: the old path to the 10.6 installation prefix = ‘/usr/share/mailman' and it should be prefix:’/usr/local/mailman’ > Mailman directory and a Mailman/__init__.py file in that directory? yes seams mailman at least starts after I corrected the prefix, but it’s not yet working. I guess I have to do some more digging into the postfix setup ;-) thanks again Matthias > > -- > 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/beta%40admilon.net signature.asc Description: Message signed with OpenPGP using GPGMail -- 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] Update mailman MacServer5
On 09/03/2016 08:48 AM, Matthias Schmidt via Mailman-Users wrote: > > I’ve been updating a MacOS10.6 Server to Server 5 (elCapitan). > Mailman is not shipped anymore with the current version. > So I downloaded 2.1.23, installed the lat version of phyton as well as > dnsphyton. > Then I copied the old mailman folders over to /usr/local/mailman and > /var/mailman > Then I ran configure and the installation went through. > but when I try to start mailman I get this error: > File "/usr/local/mailman/bin/mailmanctl", line 106, in > from Mailman import mm_cfg > ImportError: No module named Mailman It would appear that there is some confusion, probably due to the '--prefix' and '--with-var-prefix' you configured with not being correct. It looks like they should be --prefix=/usr/local/mailman --with-var-prefix=/var/mailman. What's in /usr/local/mailman/bin/paths.py for 'prefix =' and is there a Mailman directory and a Mailman/__init__.py file in that directory? -- Mark SapiroThe highway is for gamblers, San Francisco Bay Area, Californiabetter use your sense - B. Dylan signature.asc Description: OpenPGP digital signature -- 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] Update mailman MacServer5
Hello, I’ve been updating a MacOS10.6 Server to Server 5 (elCapitan). Mailman is not shipped anymore with the current version. So I downloaded 2.1.23, installed the lat version of phyton as well as dnsphyton. Then I copied the old mailman folders over to /usr/local/mailman and /var/mailman Then I ran configure and the installation went through. but when I try to start mailman I get this error: File "/usr/local/mailman/bin/mailmanctl", line 106, in from Mailman import mm_cfg ImportError: No module named Mailman All what I found on google is more about Linux installations … So I guess I’m missing something here. Thanks for help Matthias signature.asc Description: Message signed with OpenPGP using GPGMail -- 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