Re: [Mailman-Users] Extreme Slow delivery of messages

2008-10-20 Thread Mark Sapiro
faisal anif wrote:

here's the SMTP log:

for 49194 recips, completed in 49.745 seconds
is this a good thing? do I have to change anything in mailman?


Mailman has completed delivery to exim of the message for the 49194
recipients in under a minute at a rate of about 100 recipients per
second. That seems reasonable and certainly wouldn't result by itself
in significant delay to the recipients.

So the question now is when was this log entry written relative to when
the post was sent. If the entry was written within a minute or two of
the post's being sent (or approved), there were no significant delays
in Mailman and you need to look to exim and beyond.

-- 
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://wiki.list.org/x/AgA3
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://wiki.list.org/x/QIA9


[Mailman-Users] deleting a big message queue

2008-10-20 Thread Manlio Perillo

Hi.

I have a very big message queue for a mailing list.
The queue is so big that the web page
http://lists.xxx/mailman/admindb/yyy

takes to long that the server times out.


How can I delete the message queue using mailman internal API?


Thanks   Manlio Perillo

--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
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://wiki.list.org/x/QIA9


Re: [Mailman-Users] /bin/sh: mailman: command not found

2008-10-20 Thread Fahad Saeed


Thankyou Guys.It seems that my web interface is working fine for mailman as 
mark said.I tried to change the cron config files that were suggested, but it 
seems that I am still missing something.I am not getting the same email as the 
administrator, but none of the subscribed users are getting any emails.Below 
are the cron files in the system.Suggestions would be highly appreciable.
This is the crontab.in that I changed as suggested by the faq.

##
0 8 * * * /usr/lib/mailman/cron/checkdbs
#
# At 9AM, send notifications to disabled members that are due to be
# reminded to re-enable their accounts.
0 9 * * *  /usr/lib/mailman/cron/disabled
#
# Noon, mail digests for lists that do periodic as well as threshhold delivery.
0 12 * * *  /usr/lib/mailman/cron/senddigests
#
# 5 AM on the first of each month, mail out password reminders.
0 5 1 * *  /usr/lib/mailman/cron/mailpasswds
#
# Every 5 mins, try to gate news to mail.  You can comment this one out
# if you don't want to allow gating, or don't have any going on right now,
# or want to exclusively use a callback strategy instead of polling.
0,5,10,15,20,25,30,35,40,45,50,55 * * * *  /usr/lib/mailman/cron/gate_news
#
# At 3:27am every night, regenerate the gzip'd archive file.  Only
# turn this on if the internal archiver is used and
# GZIP_ARCHIVE_TXT_FILES is false in mm_cfg.py
27 3 * * *  /usr/lib/mailman/cron/nightly_gzip


and this is what is in  /etc/cron.d/mailman

###
# At 8AM every day, mail reminders to admins as to pending requests.
# They are less likely to ignore these reminders if they're mailed
# early in the morning, but of course, this is local time... ;)
0 8 * * * /usr/lib/mailman/cron/checkdbs
#
# At 9AM, send notifications to disabled members that are due to be
# reminded to re-enable their accounts.
0 9 * * *  /usr/lib/mailman/cron/disabled
#
# Noon, mail digests for lists that do periodic as well as threshhold delivery.
0 12 * * *  /usr/lib/mailman/cron/senddigests
#
# 5 AM on the first of each month, mail out password reminders.
0 5 1 * *  /usr/lib/mailman/cron/mailpasswds
#
# Every 5 mins, try to gate news to mail.  You can comment this one out
# if you don't want to allow gating, or don't have any going on right now,
# or want to exclusively use a callback strategy instead of polling.
0,5,10,15,20,25,30,35,40,45,50,55 * * * *  /usr/lib/mailman/cron/gate_news
#
# At 3:27am every night, regenerate the gzip'd archive file.  Only
# turn this on if the internal archiver is used and
# GZIP_ARCHIVE_TXT_FILES is false in mm_cfg.py
27 3 * * *  /usr/lib/mailman/cron/nightly_gzip
~


##

Thanks
Fahad Saeed



 Date: Sun, 19 Oct 2008 07:47:06 -0700
 From: [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]; mailman-users@python.org
 Subject: Re: [Mailman-Users] /bin/sh: mailman: command not found
 
 Fahad Saeed wrote:
 
 I am trying to install mailman on my server.I followed this tutorial:
 
 
 
 http://www.yolinux.com/TUTORIALS/Lin...alMailman.html
 
 
 I am guessing you mean
 http://www.yolinux.com/TUTORIALS/LinuxTutorialMailman.html
 
 
 
 After following all the steps, mailman seeems to be working as well as
 the webpage for the list. If I subscribe to the list, I get an email in
 my email inbox(hotmail, yahoo etc) for confirmation of the membership
 etc.
 
 
 It is best to follow the instructions for the specific software package
 you are installing rather than generic instructions that may not apply
 to the specific RPM or other package you are installing.
 
 
 But there are two problems that I would like to discuss and your input would 
 be appreciable
 
 
 
 1)If I email from one of my email box(subscribed to the list), the email is 
 not forwarded to any of the members.
 
 
 See the FAQ at http://wiki.list.org/x/A4E9. However, from the
 information below, at least your 'mailman' site list seems to be
 working as it should.
 
 
 
 2) I keep getting the following email in my administrator email box:
 
 
 
 
  Code:
  As list administrator, your authorization is requested for the
 following mailing list posting:
 
 List:[EMAIL PROTECTED]
 From:[EMAIL PROTECTED]
 Subject: Cron [EMAIL PROTECTED] mailman /usr/lib/mailman/cron/gate_news
 Reason:  Post by non-member to a members-only list
 
 At your convenience, visit:
 
 http://mydomain/mailman/admindb/mailman
 
 to approve or deny the request.
 If I allow, root to be subscibed to the list, I get the email to all the 
 recipients of the list, with the message:
 
 
 
 
  Code:
  [Mailman] Cron [EMAIL PROTECTED] mailman 
  /usr/lib/mailman/cron/gate_newsþ
 From:[EMAIL PROTECTED] on behalf of Cron Daemon ([EMAIL PROTECTED])
 
 /bin/sh: mailman: command not found
 Any pointers would be appreciable.If any logs are 

[Mailman-Users] moderating issue

2008-10-20 Thread Manon Lamontagne
I have mailman 2.1.11.cp2, under the member list, all the members have a
clear mod flag but when they post, we still need to approve their postings.

Where do I go to correct this problem? (Even as the owner and moderator I
have to approve my own posting)

 

Thanks,

Manon

 

--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
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://wiki.list.org/x/QIA9


Re: [Mailman-Users] Extreme Slow delivery of messages

2008-10-20 Thread faisal anif

here's the SMTP log:
 
for 49194 recips, completed in 49.745 seconds
is this a good thing? do I have to change anything in mailman?
 
Thanks
 
 Date: Fri, 17 Oct 2008 11:37:09 -0700 From: [EMAIL PROTECTED] To: [EMAIL 
 PROTECTED]; mailman-users@python.org Subject: Re: [Mailman-Users] Extreme 
 Slow delivery of messages  faisal anif wrote:   I've recently purchased 
 a dedicated server (P4 2.4, 1 GB RAM) with Cpanel/WHM .. I created a list 
 with cpanel but noticed that exim is extremely slow in delivering the 
 messages to the list although I changed the following settings in WHM:   
 The maximum each domain can send out per hour (0 is unlimited) = 0   
 Number of minutes between mail server queue runs (default is 60) = 1   I 
 checked with the server's providers, there are no constraints on the outgoing 
 messages from the server.   what could the problem be?   Question 1 - 
 is the delay in SMTP from Mailman to exim or is the delay between exim and 
 the remote MTA's?  Look in mailman's smtp log for messages like  Oct 17 
 09:47:08 2008 (30746) [EMAIL PROTECTED] smtp to g
 pc-website for 23 recips, completed in 0.396 seconds  The above is a VERP'd 
delivery, so it represents 23 separate SMTP transactions in 0.396 seconds. If 
your delivery is an order of magnitude or more slower than this, see the FAQ 
at http://wiki.list.org/x/doA9.  If the delay is between exim and the 
remote MTA's, this is an exim question, not a Mailman one, but the FAQ at 
http://wiki.list.org/x/qoA9 may help.  --  Mark Sapiro [EMAIL PROTECTED] 
The highway is for gamblers, San Francisco Bay Area, California better use 
your sense - B. Dylan 
_
Invite your mail contacts to join your friends list with Windows Live Spaces. 
It's easy!
http://spaces.live.com/spacesapi.aspx?wx_action=createwx_url=/friends.aspxmkt=en-us
--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
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://wiki.list.org/x/QIA9


[Mailman-Users] Installing mailman in DMZ

2008-10-20 Thread David Pradier

Hi guys,

before installing in production mailman, I'd like to check with you 
something. I would like to know if it is possible to install mailman on 
another machine than its webserver without using nfs ?
What I understand is the cgi scripts and the mailman demon both need to 
access the same files, am I wrong ?


If I'm right, allow me another question :
Is the only way to have a webserver in dmz and mailman not in dmz, 
without using nfs, to use the webserver in dmz as a proxy and install 
another webserver on the mailman machine ?


Thanks a lot for your input,
David
--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
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://wiki.list.org/x/QIA9


Re: [Mailman-Users] deleting a big message queue

2008-10-20 Thread Mark Sapiro
Manlio Perillo wrote:

I have a very big message queue for a mailing list.
The queue is so big that the web page
http://lists.xxx/mailman/admindb/yyy

takes to long that the server times out.


How can I delete the message queue using mailman internal API?


See the FAQ at http://wiki.list.org/x/M4A9.

-- 
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://wiki.list.org/x/AgA3
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://wiki.list.org/x/QIA9


Re: [Mailman-Users] moderating issue

2008-10-20 Thread Mark Sapiro
Manon Lamontagne wrote:

I have mailman 2.1.11.cp2, under the member list, all the members have a
clear mod flag but when they post, we still need to approve their postings.

Where do I go to correct this problem? (Even as the owner and moderator I
have to approve my own posting)

Is emergency (under Additional settings on the General Options page) On?

If not, both the notice to the admin and the admindb web interface shoe
the reason why the message was held. What is the reason?

-- 
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://wiki.list.org/x/AgA3
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://wiki.list.org/x/QIA9


Re: [Mailman-Users] Installing mailman in DMZ

2008-10-20 Thread Mark Sapiro
David Pradier wrote:

before installing in production mailman, I'd like to check with you 
something. I would like to know if it is possible to install mailman on 
another machine than its webserver without using nfs ?
What I understand is the cgi scripts and the mailman demon both need to 
access the same files, am I wrong ?


You are correct.


If I'm right, allow me another question :
Is the only way to have a webserver in dmz and mailman not in dmz, 
without using nfs, to use the webserver in dmz as a proxy and install 
another webserver on the mailman machine ?


The following searches may help

http://www.mail-archive.com/search?q=dmzl=mailman-users%40python.org

http://www.google.com/search?q=site%3Amail.python.org+inurl%3Amailman+dmz

-- 
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://wiki.list.org/x/AgA3
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://wiki.list.org/x/QIA9


Re: [Mailman-Users] Extreme Slow delivery of messages

2008-10-20 Thread Mark Sapiro
Mark Sapiro wrote:

faisal anif wrote:

here's the SMTP log:

for 49194 recips, completed in 49.745 seconds
is this a good thing? do I have to change anything in mailman?


Mailman has completed delivery to exim of the message for the 49194
recipients in under a minute at a rate of about 100 recipients per
second.


Ooops... That should be 1000 recipients per second.

-- 
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://wiki.list.org/x/AgA3
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://wiki.list.org/x/QIA9


[Mailman-Users] Cannot access Mailman

2008-10-20 Thread jewel . brueggeman-makda
Red Hat 5.1
Apache 2
Mailman 2.1.11


I am a newbie with Linux and am trying to get apache to see my Mailman
install. I have Apache's default home page up and running fine but am
not seeing Mailman.  I have tried the full path also:
http://localhost/mailman/listinfo/ and it doesn;t display anything. 
It's blank.  I have also created the mailman list and checked perms and
everything looks fine. I have also read the archives regarding this
issue and noticed the person was redirected to contact Apache, which I
very well may have to, but wanted to check with this listserv first to
make sure I am not missing anything. Here is what I have in my
httpd.conf file. 

Directory /
   Options FollowSymLinks
  AllowOverride None
/Directory

Directory /var/www/html
   Options Indexes Includes FollowSymLinks
   AllowOverride None
   Allow from all
   Order allow,deny
/Directory

Directory /var/www/icons
Options Indexes MultiViews
AllowOverride None
Allow from all
Order allow,deny
/Directory

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

ScriptAlias /mailman/ /usr/local/mailman/cgi-bin/
Alias /pipermail/ /usr/local/mailman/archives/public/

Directory /usr/local/mailman/archives/
Options +FollowSymlinks
/Directory

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

Here is a snippet of my httpd.log:
[Mon Oct 20 10:47:16 2008] [notice] Apache/2.2.3 (Red Hat) configured --
resuming normal operations
[Mon Oct 20 10:47:20 2008] [error] [client 127.0.0.1] (13)Permission
denied: exec of '/usr/local/mailman/cgi-bin/admindb' failed
[Mon Oct 20 10:47:20 2008] [error] [client 127.0.0.1] Premature end of
script headers: admindb
[Mon Oct 20 10:47:25 2008] [error] [client 127.0.0.1] attempt to invoke
directory as script: /usr/local/mailman/cgi-bin/
[Mon Oct 20 10:47:27 2008] [error] [client 127.0.0.1] attempt to invoke
directory as script: /usr/local/mailman/cgi-bin/
[Mon Oct 20 10:47:31 2008] [error] [client 127.0.0.1] (13)Permission
denied: exec of '/usr/local/mailman/cgi-bin/listinfo' failed
[Mon Oct 20 10:47:31 2008] [error] [client 127.0.0.1] Premature end of
script headers: listinfo
[Mon Oct 20 10:57:32 2008] [notice] caught SIGTERM, shutting down
[Mon Oct 20 10:59:01 2008] [notice] core dump file size limit raised to
4294967295 bytes
[Mon Oct 20 10:59:01 2008] [notice] SELinux policy enabled; httpd
running as context system_u:system_r:httpd_t:s0
[Mon Oct 20 10:59:01 2008] [notice] suEXEC mechanism enabled (wrapper:
/usr/sbin/suexec)
[Mon Oct 20 10:59:01 2008] [notice] Digest: generating secret for digest
authentication ...
[Mon Oct 20 10:59:01 2008] [notice] Digest: done
[Mon Oct 20 10:59:01 2008] [notice] mod_python: Creating 4 session
mutexes based on 150 max processes and 0 max threads.
[Mon Oct 20 10:59:01 2008] [notice] Apache/2.2.3 (Red Hat) configured --
resuming normal operations
[Mon Oct 20 10:59:06 2008] [error] [client 127.0.0.1] (13)Permission
denied: exec of '/usr/local/mailman/cgi-bin/listinfo' failed
[Mon Oct 20 10:59:06 2008] [error] [client 127.0.0.1] Premature end of
script headers: listinfo
[Mon Oct 20 10:59:09 2008] [error] [client 127.0.0.1] attempt to invoke
directory as script: /usr/local/mailman/cgi-bin/
[Mon Oct 20 10:59:10 2008] [error] [client 127.0.0.1] attempt to invoke
directory as script: /usr/local/mailman/cgi-bin/
[Mon Oct 20 10:59:10 2008] [error] [client 127.0.0.1] attempt to invoke
directory as script: /usr/local/mailman/cgi-bin/
[Mon Oct 20 10:59:11 2008] [error] [client 127.0.0.1] attempt to invoke
directory as script: /usr/local/mailman/cgi-bin/
[Mon Oct 20 10:59:54 2008] [notice] caught SIGTERM, shutting down


Also, here is a snapshot to show some of my permission settings:
drwxrwsr-x 20 mailman mailman 4096 Oct 14 15:30 .
drwxr-xr-x 12 rootroot4096 Sep 16 15:50 ..
drwxrwsr-x  4 mailman mailman 4096 Oct 14 15:30 archives
drwxrwsr-x  2 mailman mailman 4096 Oct 15 09:19 bin
drwxrwsr-x  2 mailman mailman 4096 Oct 15 09:10 cgi-bin
drwxrwsr-x  2 mailman mailman 4096 Oct 15 09:09 cron
drwxrwsr-x  2 mailman mailman 4096 Oct 20 15:36 data
drwxrwsr-x  2 mailman mailman 4096 Oct 15 09:09 icons
drwxrwsr-x  4 mailman mailman 4096 Oct 20 14:47 lists
drwxrwsr-x  2 mailman mailman 4096 Oct 20 14:48 locks
drwxrwsr-x  2 mailman mailman 4096 Oct 20 15:33 logs
drwxrwsr-x  2 mailman mailman 4096 Oct 15 09:10 mail
drwxrwsr-x 11 mailman mailman 4096 Oct 20 15:38 Mailman
drwxrwsr-x 37 mailman mailman 4096 Oct 14 15:40 messages
drwxrwsr-x  6 mailman mailman 4096 Oct 14 15:31 pythonlib
drwxrwsr-x 11 mailman mailman 4096 Oct 20 14:48 qfiles
drwxrwsr-x  2 mailman mailman 4096 Oct 15 09:10 scripts
drwxrwsr-x  2 mailman mailman 4096 Oct 14 15:30 spam
drwxrwsr-x 38 mailman mailman 4096 Oct 14 15:40 templates
drwxrwsr-x  4 mailman mailman 4096 Oct 15 09:19 tests


I don't have 

Re: [Mailman-Users] Cannot access Mailman

2008-10-20 Thread Mark Sapiro
[EMAIL PROTECTED] wrote:

Red Hat 5.1
Apache 2
Mailman 2.1.11


I am a newbie with Linux and am trying to get apache to see my Mailman
install. I have Apache's default home page up and running fine but am
not seeing Mailman.  I have tried the full path also:
http://localhost/mailman/listinfo/ and it doesn;t display anything. 
It's blank.  I have also created the mailman list and checked perms and
everything looks fine. I have also read the archives regarding this
issue and noticed the person was redirected to contact Apache, which I
very well may have to, but wanted to check with this listserv first to
make sure I am not missing anything. Here is what I have in my
httpd.conf file. 

Directory /
   Options FollowSymLinks
  AllowOverride None
/Directory

Directory /var/www/html
   Options Indexes Includes FollowSymLinks
   AllowOverride None
   Allow from all
   Order allow,deny
/Directory

Directory /var/www/icons
Options Indexes MultiViews
AllowOverride None
Allow from all
Order allow,deny
/Directory

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

ScriptAlias /mailman/ /usr/local/mailman/cgi-bin/
Alias /pipermail/ /usr/local/mailman/archives/public/

Directory /usr/local/mailman/archives/
Options +FollowSymlinks


You're going to need
Order allow,deny
Allow from all
here, but that only affects public archive access.

/Directory

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

Here is a snippet of my httpd.log:
[Mon Oct 20 10:47:16 2008] [notice] Apache/2.2.3 (Red Hat) configured --
resuming normal operations
[Mon Oct 20 10:47:20 2008] [error] [client 127.0.0.1] (13)Permission
denied: exec of '/usr/local/mailman/cgi-bin/admindb' failed


Have you run bin/check_perms?


[Mon Oct 20 10:47:20 2008] [error] [client 127.0.0.1] Premature end of
script headers: admindb
[Mon Oct 20 10:47:25 2008] [error] [client 127.0.0.1] attempt to invoke
directory as script: /usr/local/mailman/cgi-bin/
[Mon Oct 20 10:47:27 2008] [error] [client 127.0.0.1] attempt to invoke
directory as script: /usr/local/mailman/cgi-bin/


If you want to be able to go to http://hostname/mailman/ and have it go
to the listinfo overview, you need

RedirectMatch ^/mailman[/]*$  /mailman/listinfo

in httpd.conf.


[Mon Oct 20 10:47:31 2008] [error] [client 127.0.0.1] (13)Permission
denied: exec of '/usr/local/mailman/cgi-bin/listinfo' failed


check_perms?


[Mon Oct 20 10:47:31 2008] [error] [client 127.0.0.1] Premature end of
script headers: listinfo
[Mon Oct 20 10:57:32 2008] [notice] caught SIGTERM, shutting down
[Mon Oct 20 10:59:01 2008] [notice] core dump file size limit raised to
4294967295 bytes
[Mon Oct 20 10:59:01 2008] [notice] SELinux policy enabled; httpd
running as context system_u:system_r:httpd_t:s0
[Mon Oct 20 10:59:01 2008] [notice] suEXEC mechanism enabled (wrapper:
/usr/sbin/suexec)


Aha! You have both SELinux and SuEXEC Both of these affect permissions
in different ways: SuEXEC confilcts with Mailman's security model of
SETGID wrappers. Getting Mailman's web interface to run with SuEXEC is
somewhat involved. You will probably find additional error messages in
/var/log/httpd/suexec_log. It would be best to disable SuEXEC by

  chmod u-s /usr/sbin/suexec

and restart Apache. See http://httpd.apache.org/docs/2.0/suexec.html.

If you do this and still have permissions issues, see
http://www.mail-archive.com/mailman-users@python.org/msg33574.html.


-- 
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://wiki.list.org/x/AgA3
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://wiki.list.org/x/QIA9


Re: [Mailman-Users] Problem Migrating Mailman to New Server

2008-10-20 Thread Dennis Putnam
Mark Sapiro wrote:
 Dennis Putnam wrote:
   
 Mark Sapiro wrote:
 
 Can you go successfully go to a
 http://www.example.com/mailman/listinfo/listname page for a known
 listname even though it doesn't appear on the overview. If not, I
 think your web server is pointing at the wrong place.

   
 OK, now we are making progress. Thanks. I can indeed see the list if I
 supply the list name in the link like you suggested. I guess that means
 the scriptalias is correct so the question now becomes, why do they not
 show up on the admin or listinfo links? Does this also mean if I start
 mailman it will work in spite of the incorrect web interface?
 


 Yes, Mailman will probably work if you start it as long as aliases or
 whatever is required for mail delivery to the list are in place.

 As far as lists missing from the listinfo overview, we are back to the
 FAQ at http://wiki.list.org/x/lYA9.

 Assuming the lists are public (Privacy options... - advertised = Yes),
 the list doesn't appear on the overview because

 VIRTUAL_HOST_OVERVIEW = On

 (the default), and the host portion of the list's web_page_url
 attribute does not exactly match the host portion of the URL used to
 access the page.

 Perhaps you had

 VIRTUAL_HOST_OVERVIEW = Off

 in mm_cfg.py on the old server and didn't carry it over. Or, perhaps
 you changed it in Defaults.py on the old server; if so, this is why
 you shouldn't do that.

   
I'm making some progress as the problems so far seem to be ownerhip and
permissions since the copy had to be done as root. I could not find
anything that tells me what the group and owner should be for each
associated directory but I think I have them all set to mailman:mail.
Now I am getting this error from postfix:

status=bounced (Command died with status 2:
/usr/lib/mailman/mail/mailman post mailman. Command output: Group
mismatch error.  Mailman expected the mail wrapper script to be executed
as group mail, but the system's mail server executed the mail script
as group mailman.  Try tweaking the mail server to run the script as
group mail, or re-run configure,  providing the command line option
`--with-mail-gid=mailman'. )
Oct 20 19:25:15 dap002 postfix/qmgr[27883]: 9D0D819835: removed
Oct 20 19:25:20 dap002 postfix/smtp[28602]: 202FF19836:
to=[EMAIL PROTECTED], relay=mail.bellsouth.net[207.115.11.17]:25,
delay=6.8, delays=0.01/0.01/3.2/3.6, dsn=2.0.0, status=sent (250 ok ;
id=20081020232532H05001u3qhe)
Oct 20 19:25:20 dap002 postfix/qmgr[27883]: 202FF19836: removed

I don't think I understand what to do at this point. Everything other
then what I copied was set per the Mandriva installer.




signature.asc
Description: OpenPGP digital signature
--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
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://wiki.list.org/x/QIA9

Re: [Mailman-Users] Problem Migrating Mailman to New Server

2008-10-20 Thread Mark Sapiro
Dennis Putnam wrote:

I'm making some progress as the problems so far seem to be ownerhip and
permissions since the copy had to be done as root. I could not find
anything that tells me what the group and owner should be for each
associated directory but I think I have them all set to mailman:mail.


bin/check_perms will help. I don't think mailman:mail is correct. The
user is not important, but the group should be Mailman's group (the
setting for MAILMAN_GROUP in Defaults.py. Run

bin/check_perms -f

as root. That should make group and mode correct.


Now I am getting this error from postfix:

status=bounced (Command died with status 2:
/usr/lib/mailman/mail/mailman post mailman. Command output: Group
mismatch error.  Mailman expected the mail wrapper script to be executed
as group mail, but the system's mail server executed the mail script
as group mailman.  Try tweaking the mail server to run the script as
group mail, or re-run configure,  providing the command line option
`--with-mail-gid=mailman'. )


See the FAQ at http://wiki.list.org/x/tYA9.


I don't think I understand what to do at this point. Everything other
then what I copied was set per the Mandriva installer.


Where are your aliases?

The mail wrapper is compiled to to expect to be invoked by the 'mail'
group. Postfix will invoke the wrapper as the user and that user's
primary group corresponding to the owner of the aliases.db file in
which the pipe command was found. I.e., if the aliases.db file is
userx:groupy, postfix will invoke the wrapper as userx:groupx where
groupx is userx's primary group.

-- 
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://wiki.list.org/x/AgA3
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://wiki.list.org/x/QIA9