Re: [Mailman-Users] To-Do-list admin

2009-04-01 Thread Helmut Schneider

Hi Mark,

From: Mark Sapiro m...@msapiro.net

Mark Sapiro wrote:


Helmut Schneider wrote:


I set up a new mailman instance (2.1.11). I remeber that when I
created new  lists a mail was sent to the admin describing what he
needs to add to  /etc/aliases to make the new list work. Currently I
do not recieve that  email at the new installation. Did I forget to
check a box?


It depends on how you create the list. If you create a list from the
web or via bin/newlist without the -q option, the admin should be
notified.

Is Mailman running?

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


In the above reply, I overlooked the fact that you were talking about
the aliases email to the owner of the site list ('mailman-owner').
This is only sent if you haven't changed the default MTA = 'Manual'
setting. If you have set MTA in mm_cfg.py to other than 'Manual', the
aliases mail will not be sent.


I did not touch the MTA setting, the only things I added are

DEFAULT_EMAIL_HOST
DEFAULT_URL_HOST
DEFAULT_URL_PATTERN
PUBLIC_ARCHIVE_URL
add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)
DELIVERY_MODULE = 'SMTPDirect'
SMTPHOST
SMTPPORT

Communication itself seems fine, i recieved a subscription reminder this 
morning from mailman-owner. 


--
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] mm_cfg.py in /usr : SELinux problem

2009-04-01 Thread Daniel Novotny
hello,

we are now having a problem, how to adapt mailman configuration (mm_cfg.py)
to SELinux policy:

it resides in /usr and the SELinux maintainer argues /usr should be read-only,
which is not satisfied, when you change the configuration (and the .pyc file
has to be generated in /usr/lib/mailman/Mailman/ , too)

I have thought about the way to fix this problem: simply moving the
file to /etc or /var is not enough, because it's part of the package Mailman
and lots of files say from Mailman import mm_cfg

any thoughts of this?
 thanks and regards,

   Daniel Novotny, Red Hat inc.
--
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] How to set default list settings

2009-04-01 Thread Barry Finkel
Salvatore D'Agostino sdagost...@tropotel.net wrote:

Does anyone know where I can set the default settings for all newly 
created lists so that I won't have to always log in to the website each 
time and set them individually?

Thanks in advance =)

I have 25 list template files that I use when I create a list via
the command-line interface.  I created these by saving the default
configuration and modifying it for each of the 25 configuration
variations.  My list-creation script has at its core:

 /usr/sbin/newlist $emaildomain $listname
 config_list -i $listname.config $listname

I take one of my 25 config templates, copy it into a new list
template, make the necessary modifications

 realname
 info
 decription
 etc.

and use that new config file as $listname.config in my script.
This assumes that one has access to the command-line interface.
I have never created a new list via the web page because I would then
have to remember what list parameters need to be changed.  I have
already done this work in creating my 25 list config templates.
--
Barry S. Finkel
Computing and Information Systems Division
Argonne National Laboratory  Phone:+1 (630) 252-7277
9700 South Cass Avenue   Facsimile:+1 (630) 252-4601
Building 222, Room D209  Internet: bsfin...@anl.gov
Argonne, IL   60439-4828 IBMMAIL:  I1004994

--
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] To-Do-list admin

2009-04-01 Thread Mark Sapiro
Helmut Schneider wrote:

I did not touch the MTA setting, the only things I added are

DEFAULT_EMAIL_HOST
DEFAULT_URL_HOST
DEFAULT_URL_PATTERN
PUBLIC_ARCHIVE_URL
add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)
DELIVERY_MODULE = 'SMTPDirect'
SMTPHOST
SMTPPORT

Communication itself seems fine, i recieved a subscription reminder this 
morning from mailman-owner. 


What is/are the address(es) listed for the owner of the mailman list?
Are they deliverable? This is where the aliases mail is sent.

What happens if you send mail to mailman-ow...@...?

-- 
Mark Sapiro m...@msapiro.netThe 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] mm_cfg.py in /usr : SELinux problem

2009-04-01 Thread Mark Sapiro
Daniel Novotny wrote:

we are now having a problem, how to adapt mailman configuration (mm_cfg.py)
to SELinux policy:

it resides in /usr and the SELinux maintainer argues /usr should be read-only,
which is not satisfied, when you change the configuration (and the .pyc file
has to be generated in /usr/lib/mailman/Mailman/ , too)

I have thought about the way to fix this problem: simply moving the
file to /etc or /var is not enough, because it's part of the package Mailman
and lots of files say from Mailman import mm_cfg

any thoughts of this?
 thanks and regards,

   Daniel Novotny, Red Hat inc.


I thought RedHat were the experts on this. See
http://mail.python.org/pipermail/mailman-developers/2004-October/017343.html.

I understand your issue with mm_cfg. All I can suggest is symlinks
might help. I thought the current RedHat package currently has a
symlink /etc/mm_cfg.py - /usr/lib/mailman/Mailman/mm_cfg.py (or vice
versa). Does this help?

If the problem is strictly with mm_cfg.pyc, you may be able to make
/usr/lib/mailman/Mailman/mm_cfg.pyc an empty file with mode  (or
(0400) so python won't try to write it.

If John Dennis is still at RedHat, he may be able to help as I think
he's probably thought about this more than anyone.

-- 
Mark Sapiro m...@msapiro.netThe 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] How to set default list settings

2009-04-01 Thread Mark Sapiro
Salvatore D'Agostino wrote:

Does anyone know where I can set the default settings for all newly 
created lists so that I won't have to always log in to the website each 
time and set them individually?


Most list settings have defaults in Mailman/Defaults.py. Read that file
to see what the settings are and override the ones you want to change
by setting them in mm_cfg.py. See http://wiki.list.org/x/fIA9.

You can also make an input file for bin/config_list containing those
settings you wish to change, and just run bin/config_list with that
file as input on the newly created list.

-- 
Mark Sapiro m...@msapiro.netThe 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] Debugging question

2009-04-01 Thread Mark Sapiro
Whit Blauvelt wrote:

Okay, after an old Gentoo server died that was running mailman happily for
years with sendmail, I rebuilt things on Ubuntu using a stock postfix with a
custom-compiled mailman. The web interface all looks fine - the lists and
their users are there - and the aliases are in place. But mail coming in
disappears without an error message to tell me why. For instance:

Mar 31 10:37:13 green postfix/local[28766]: 4E92B17FBEA: 
to=xyz-annou...@mm.xyz.org, relay=local, delay=0.45,
delays=0.02/0.02/0/0.4, dsn=2.0.0, status=sent (delivered to command: 
/web/mailman/mail/mailman post xyz-announce)

Nothing happens further. No error message shows in any system log.

Now, obviously I've set up something wrong. But how do I get some useful
debugging messages so I can get properly clued here?


Have you started Mailman (bin/mailmanctl start)?

The above log entry says the mail was successfully delivered to the
mail wrapper, and in the absence of an error reported back to postfix,
was placed in Mailman's qfiles/in queue. Is it still there? Is there
anything in Mailman's error or other logs?

See http://wiki.list.org/x/A4E9.

-- 
Mark Sapiro m...@msapiro.netThe 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] To-Do-list admin

2009-04-01 Thread Helmut Schneider

From: Mark Sapiro m...@msapiro.net

Helmut Schneider wrote:


I did not touch the MTA setting, the only things I added are

DEFAULT_EMAIL_HOST
DEFAULT_URL_HOST
DEFAULT_URL_PATTERN
PUBLIC_ARCHIVE_URL
add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)
DELIVERY_MODULE = 'SMTPDirect'
SMTPHOST
SMTPPORT

Communication itself seems fine, i recieved a subscription reminder this
morning from mailman-owner.



What is/are the address(es) listed for the owner of the mailman list?


postmas...@domain.tld


Are they deliverable? This is where the aliases mail is sent.
What happens if you send mail to mailman-ow...@...?


A mail to mailman-ow...@domain.tld is forwarded to postmas...@domain.tld and 
gets delivered. 


--
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] To-Do-list admin

2009-04-01 Thread Mark Sapiro
Helmut Schneider wrote:

From: Mark Sapiro m...@msapiro.net
 Helmut Schneider wrote:

 I did not touch the MTA setting, the only things I added are

 DEFAULT_EMAIL_HOST
 DEFAULT_URL_HOST
 DEFAULT_URL_PATTERN
 PUBLIC_ARCHIVE_URL
 add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)
 DELIVERY_MODULE = 'SMTPDirect'
 SMTPHOST
 SMTPPORT

 Communication itself seems fine, i recieved a subscription reminder this
 morning from mailman-owner.


 What is/are the address(es) listed for the owner of the mailman list?

postmas...@domain.tld

 Are they deliverable? This is where the aliases mail is sent.
 What happens if you send mail to mailman-ow...@...?

A mail to mailman-ow...@domain.tld is forwarded to postmas...@domain.tld and 
gets delivered. 

And is that also true if it is sent via SMTPHOST:SMTPPORT (assuming
they are different from localhost)?

If so I don't know what the problem is. You can check Mailman's smtp
log and error log for messages at the time a list is cerated. Also,
check MTA logs.

If MTA = 'Manual' (the default), when a list is created via the web,
Mailman will send the 'aliases' mail to mailman-owner@(the email
domain of the list). Mailman should receive that and resend it to the
actual list owner.

If lists are created via bin/newlist, there is never an aliases email.
The aliases are just reported to stdout of the newlist command.

-- 
Mark Sapiro m...@msapiro.netThe 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