Re: [Mailman-Users] problems with gid when installing

2007-01-22 Thread Peter Coolen
 
 
 I tried example.com/mailman/ just for a visit or a index 
 page but now I 
 receive a 403 forbidden...
 
 
 Let's try to debug one issue at a time, but what's in 
 error_log for the
 403?
 
 
The error when visiting domain.com/mailman/ 
[Mon Jan 22 10:01:52 2007] [error] [client 62.58.15.252] attempt to invoke
directory as script: /usr/local/mailman


 So now it looks like a permissions issue. What are the permissions on
 /usr/local/mailman (the contents looked OK in a prior post).
 
 Have you tried running bin/check_perms?

Results of bin/check_perms 

[EMAIL PROTECTED]:/usr/local/mailman# bin/check_perms
Warning: Private archive directory is other-executable (o+x).
 This could allow other users on your system to read private
archives.
 If you're on a shared multiuser system, you should consult the
 installation manual on how to fix this.
No problems found
[18091 refs]
[EMAIL PROTECTED]:/usr/local/mailman#


[EMAIL PROTECTED]:/usr/local/mailman# ls -l
total 72
drwxrwsr-x   11 root mailman  4096 Jan 20 16:23 Mailman
drwxrwsr-x4 root mailman  4096 Jan 20 16:19 archives
drwxrwsr-x2 root mailman  4096 Jan 20 16:19 bin
drwxrwsrwx2 root mailman  4096 Jan 20 16:19 cgi-bin
drwxrwsr-x2 root mailman  4096 Jan 20 16:19 cron
drwxrwsr-x2 root mailman  4096 Jan 20 16:30 data
drwxrwsr-x2 root mailman  4096 Jan 20 16:19 icons
drwxrwsr-x3 root mailman  4096 Jan 20 16:28 lists
drwxrwsr-x2 root mailman  4096 Jan 20 16:29 locks
drwxrwsr-x2 root mailman  4096 Jan 20 16:29 logs
drwxrwsr-x2 root mailman  4096 Jan 20 16:19 mail
drwxrwsr-x   34 root mailman  4096 Jan 20 16:19 messages
drwxrwsr-x6 root mailman  4096 Jan 20 16:19 pythonlib
drwxrwsr-x   11 root mailman  4096 Jan 20 16:29 qfiles
drwxrwsr-x2 root mailman  4096 Jan 20 16:19 scripts
drwxrwsr-x2 root mailman  4096 Jan 20 16:19 spam
drwxrwsr-x   35 root mailman  4096 Jan 20 16:19 templates
drwxrwsr-x4 root mailman  4096 Jan 20 16:19 tests


Thanks,

Peter

--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] problems with gid when installing

2007-01-22 Thread Peter Coolen
 Don't know why but it works almost ;-)

I see a webpage and can create a new mailinglist...

Only one last problem I can't create a new mailinglist..

Receive this error:
Error: You are not authorized to create new mailing lists

I changed the administrators passwd and list creater passwd with
bin/mmsitepass -c or without -c but no effect..

Any ideas?

thanks


--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


[Mailman-Users] Mailman, postfix virtual domains and mysql

2007-01-22 Thread Peter Coolen
Hi All,
 
Mailman almost works... First some problems with the webserver but that's
almost solved (can't use the list creaters and adminstrator password)
 
Also got the following problem:
 
I have a working postfix, mysql and virtual domains on the testserver.. This
works fine and is also on the main server.. 
 
Now I want to install mailman (done) and integrate with my mailserver..
 
Does someone have a manual for postfix virtual domains with mysql? I looked
it up in the site administrators manual but that's all about virtual domains
and not about mysql.. My config files are very different.
 
I use mysql_virtual_alias_maps, mysql_virtual_domains_maps and
mysql_virtual_mailbox_maps files
 
In these files are the following lines (table, select_field and where_field
are different):
user = username
password = password
hosts = localhost
dbname = Databasename
table = mailbox
select_field = maildir
where_field = username
 
 
Can someone help me with this?
 
Thanks
 
--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] problems with gid when installing

2007-01-22 Thread Peter Coolen
This is working fine now..

I also found a manual (in the dark environments of the internet) for postfix
virtual domains mysql and mailman.. Hope to inform you when it works but
don't know for sure.

Thanks for all the help.. You are great!!

 -Oorspronkelijk bericht-
 Van: Mark Sapiro [mailto:[EMAIL PROTECTED] 
 Verzonden: maandag 22 januari 2007 16:59
 Aan: Peter Coolen; mailman-users@python.org
 Onderwerp: Re: [Mailman-Users] problems with gid when installing
 
 Peter Coolen wrote:
 
  Don't know why but it works almost ;-)
 
 I see a webpage and can create a new mailinglist...
 
 Only one last problem I can't create a new mailinglist..
 
 Receive this error:
 Error: You are not authorized to create new mailing lists
 
 I changed the administrators passwd and list creater passwd with 
 bin/mmsitepass -c or without -c but no effect..
 
 
 I have seen other reports of this kind of thing, but first 
 let's see if the web interface works in general.
 
 Try creating a list with bin/newlist and see if its web admin 
 interface works. If that's all OK we can come back to the web 
 create issue.
 
 -- 
 Mark Sapiro [EMAIL PROTECTED]   The highway is for gamblers,
 San Francisco Bay Area, Californiabetter use your sense - B. Dylan
 

--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] problems with gid when installing

2007-01-21 Thread Peter Coolen
 
 
 Other issues in your apache config.
 
 The Directory section should be /usr/local/mailman/, not 
 /usr/local/mailman/cgi-bin/. This is primarily for public archives.
 Also, if you are going to have public archives, you want
 
  Alias /pipermail/ /usr/local/mailman/archives/public/
 
 Finally, the AddHandler is superfluous for Mailman. The only 
 GGIs executed by Apache for Mailman are the compiled wrappers 
 in usr/local/mailman/cgi-bin/ which normally have no 
 extension (unless you specified --with-cgi-ext to configure). 
 Python scripts are executed indirectly by the wrapper, not 
 directly by Apache.
 
 -- 
 Mark Sapiro [EMAIL PROTECTED]   The highway is for gamblers,
 San Francisco Bay Area, Californiabetter use your sense - B. Dylan
 

Hi Mark,

Thanks for all your help.. I changed setting in my webserver but now I get a
404 NOT FOUND error... 

I looked in the manual and there it says $prefix/cgi-bin/ 

I tried both but both give a 404 not found..

Any other ideas?

--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] problems with gid when installing

2007-01-21 Thread Peter Coolen
 
 You don't put '$prefix' literally. $ prefix stands for the 
 path you provided to configure with the --prefix= option 
 (default /usr/local/mailman).
 
 What is in your Apache configuration now?

Some apache config lines for mailman

Alias /pipermail/ /usr/local/mailman/archives/public/

 Directory /usr/local/mailman/archives/public/
Options Indexes FollowSymlinks MultiViews
AllowOverride None
Order allow,deny
Allow from all
/Directory

ScriptAlias /cgi-bin/ /var/www/cgi-bin/

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

Directory /var/www/cgi-bin
AllowOverride None
Options None
Order allow,deny
Allow from all
/Directory

Directory /usr/local/mailman/cgi-bin/
Options Indexes FollowSymlinks MultiViews ExecCGI
AllowOverride None
Order allow,deny
Allow from all
/Directory


 
 What is in Apache's error_log associated with the 404?
 

[Sun Jan 21 17:24:24 2007] [error] [client 192.168.0.18] script not found or
unable to stat: usr/local/mailman/create
[Sun Jan 21 17:24:37 2007] [error] [client 192.168.0.34] script not found or
unable to stat: usr/local/mailman/

 What does 'ls -l /usr/local/mailman/cgi-bin' show?
 
[EMAIL PROTECTED]:/var/log/apache$ ls -l /usr/local/mailman/cgi-bin/
total 220
-rwxr-sr-x1 root mailman 17476 Jan 20 16:19 admin*
-rwxr-sr-x1 root mailman 17484 Jan 20 16:19 admindb*
-rwxr-sr-x1 root mailman 17484 Jan 20 16:19 confirm*
-rwxr-sr-x1 root mailman 17484 Jan 20 16:19 create*
-rwxr-sr-x1 root mailman 17484 Jan 20 16:19 edithtml*
-rwxr-sr-x1 root mailman 17484 Jan 20 16:19 listinfo*
-rwxr-sr-x1 root mailman 17484 Jan 20 16:19 options*
-rwxr-sr-x1 root mailman 17484 Jan 20 16:19 private*
-rwxr-sr-x1 root mailman 17484 Jan 20 16:19 rmlist*
-rwxr-sr-x1 root mailman 17484 Jan 20 16:19 roster*
-rwxr-sr-x1 root mailman 17484 Jan 20 16:19 subscribe*

 -- 
 Mark Sapiro [EMAIL PROTECTED]   The highway is for gamblers,
 San Francisco Bay Area, Californiabetter use your sense - B. Dylan
 

--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] problems with gid when installing

2007-01-21 Thread Peter Coolen
 

 -Oorspronkelijk bericht-
 Van: Mark Sapiro [mailto:[EMAIL PROTECTED] 
 Verzonden: zondag 21 januari 2007 17:56
 Aan: Peter Coolen; mailman-users@python.org
 Onderwerp: Re: [Mailman-Users] problems with gid when installing
 
 Peter Coolen wrote:
 
 [Sun Jan 21 17:24:24 2007] [error] [client 192.168.0.18] script not 
 found or unable to stat: usr/local/mailman/create
 
 
 This error came from the missing slash in ScriptAlias when 
 you tried to visit something like 
 http://example.com/mailman/create/.
 

I also tried mailman/create/ but create is not a directory.. So you must not
use the slash... It still can't find the files..


 
 [Sun Jan 21 17:24:37 2007] [error] [client 192.168.0.34] script not 
 found or unable to stat: usr/local/mailman/
 
 
 And this error came from something like http://example.com/mailman/.
 
 If you want this latter URL to work (usually people send it 
 to the listinfo page), you need something like
 
  RedirectMatch ^/mailman[/]*$   http://example.com/mailman/listinfo
 
 in your Apache config.
 

I tried example.com/mailman/ just for a visit or a index page but now I
receive a 403 forbidden...  


The error is still 
[Sun Jan 21 23:08:45 2007] [error] [client 192.168.0.34] script not found or
unable to stat: /usr/local/mailman/create

Do you have any other ideas for helping me? I changed the missing slash but
that was not the fault..

Peter

--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] problems with gid when installing

2007-01-21 Thread Peter Coolen
My access log  says this:

192.168.0.34 - - [21/Jan/2007:23:13:50 +0100] GET /mailman/create HTTP/1.1
404 295 - Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.9)
Gecko/20061206 Firefox/1.5.0.9

And error log this:
[Sun Jan 21 23:13:50 2007] [error] [client 192.168.0.34] script not found or
unable to stat: /usr/local/mailman/create

Please help


 

 -Oorspronkelijk bericht-
 Van: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] 
 Namens Peter Coolen
 Verzonden: zondag 21 januari 2007 23:13
 Aan: mailman-users@python.org
 Onderwerp: Re: [Mailman-Users] problems with gid when installing
 
  
 
  -Oorspronkelijk bericht-
  Van: Mark Sapiro [mailto:[EMAIL PROTECTED]
  Verzonden: zondag 21 januari 2007 17:56
  Aan: Peter Coolen; mailman-users@python.org
  Onderwerp: Re: [Mailman-Users] problems with gid when installing
  
  Peter Coolen wrote:
  
  [Sun Jan 21 17:24:24 2007] [error] [client 192.168.0.18] 
 script not 
  found or unable to stat: usr/local/mailman/create
  
  
  This error came from the missing slash in ScriptAlias when 
 you tried 
  to visit something like http://example.com/mailman/create/.
  
 
 I also tried mailman/create/ but create is not a directory.. 
 So you must not use the slash... It still can't find the files..
 
 
  
  [Sun Jan 21 17:24:37 2007] [error] [client 192.168.0.34] 
 script not 
  found or unable to stat: usr/local/mailman/
  
  
  And this error came from something like 
 http://example.com/mailman/.
  
  If you want this latter URL to work (usually people send it to the 
  listinfo page), you need something like
  
   RedirectMatch ^/mailman[/]*$   http://example.com/mailman/listinfo
  
  in your Apache config.
  
 
 I tried example.com/mailman/ just for a visit or a index page 
 but now I receive a 403 forbidden...  
 
 
 The error is still
 [Sun Jan 21 23:08:45 2007] [error] [client 192.168.0.34] 
 script not found or unable to stat: /usr/local/mailman/create
 
 Do you have any other ideas for helping me? I changed the 
 missing slash but that was not the fault..
 
 Peter
 
 --
 Mailman-Users mailing list
 Mailman-Users@python.org
 http://mail.python.org/mailman/listinfo/mailman-users
 Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
 Searchable Archives: 
 http://www.mail-archive.com/mailman-users%40python.org/
 Unsubscribe: 
 http://mail.python.org/mailman/options/mailman-users/peter%40c
 oolen.net
 
 Security Policy: 
 http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq
 01.027.htp

--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


[Mailman-Users] problems with gid when installing

2007-01-20 Thread Peter Coolen
Hi All,
 
I tried to install mailman on my slackware system with postfix (mysql
virtual domains) and apache..
 
I followed the whole mnual ,except the thing about the virtual domains.. I
will do this later on.
 
When i want to go to the page www.domain.tld/mailman/create, I get the error
below:
 
Mailman CGI error!!!
%s
--with-cgi-gidwebCGI--with-mail-gidmail-SThe Mailman CGI wrapper encountered
a fatal error. This entry is being stored in your syslog:Group mismatch
error. Mailman expected the %s wrapper script to be executed as group %s,
but the system's %s server executed the %s script as group %s. Try
tweaking the %s server to run the script as group %s, or re-run configure,
providing the command line option `%s=%s'.Failure to find group name for GID
%d. Mailman expected the %s wrapper to be executed as group %s, but the
system's %s server executed the wrapper as GID %d for which the name could
not be found. Try adding GID %d to your system as %s, or tweak your %s
server to run the wrapper as group %s.nobodycreateMailman cgi-wrapper
(create)driver$ Ѕ 
 
 
 
I already reinstalled with the follwing options:
 
./configure --with-mail-gid = postfix --with-cgi-gid = nobody
make
make install
 
Postfix has the owner and group postfix and Apache nobody..
 
Could someone please help me and advise?
--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] problems with gid when installing

2007-01-20 Thread Peter Coolen
 
 
 
 There is something wrong with your web server configuration. 
 Instead of executing Mailman's cgi-bin/create wrapper and 
 serving it's output, the web server is serving the wrapper 
 file as text.
 
 -- 

Do you have any idea how to fix this problem with my web server
configuration? It is Apache 1.3.36

Below are some setting from apache:
LoadModule cgi_module libexec/apache/mod_cgi.so
AddModule mod_cgi.c
User nobody
Group nobody
Alias /mailman/ /usr/local/mailman/cgi-bin/

 Directory /usr/local/mailman/cgi-bin/
Options Indexes FollowSymlinks MultiViews ExecCGI
AllowOverride None
Order allow,deny
Allow from all
/Directory

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

AddHandler cgi-script .cgi .py


Thanks for all help

--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp