Re: [Mailman-Users] bug error when subscribing through web afterMailman 2.1.12 upgrade

2009-07-23 Thread Christopher Adams
Mark,

The modification to MailList.py is something that you suggested awhile
back and I had carried it through as Mailman was upgraded. Here is the
thread from 2005.

http://mail.python.org/pipermail/mailman-users/2005-January/042116.html

This time, it didn't seem to work and broke it.The problem was the
email sent to new list owners had the list address, but didn't
complete the actual address. Instead, it results in this:

Send list messages to:

   %(emailaddr)s

What is the actual solutilon to the template being populated with the
actual list address. This seems like something that would be assumed
to exist in an out of the box installation.

Thanks again for your help. I have removed the modifications and it is
working correctly again.

Christopher Adams

On Wed, Jul 22, 2009 at 5:50 PM, Mark Sapirom...@msapiro.net wrote:
 Christopher Adams wrote:

Since upgrading to version 2.1.12, I have experienced a number of
errors that have resulted in a You've Hit a Bug. So far, I have been
able to patch things up. The latest occurs when a user attempts to
subscribe from the web. Here is the error log information:

admin(9559): [- Mailman Version: 2.1.12 -]
admin(9559): [- Traceback --]
admin(9559): Traceback (most recent call last):
admin(9559):   File /usr/local/mailman/scripts/driver, line 112, in run_main
admin(9559):     main()
admin(9559):   File /usr/local/mailman/Mailman/Cgi/subscribe.py,
line 97, in main
admin(9559):     process_form(mlist, doc, cgidata, language)
admin(9559):   File /usr/local/mailman/Mailman/Cgi/subscribe.py,
line 177, in process_form
admin(9559):     mlist.AddMember(userdesc, remote)


 Here in the traceback, the subscribe CGI is calling the list object's
 AddMember method to add the member

admin(9559):   File /usr/local/mailman/Mailman/MailList.py, line
894, in AddMember
admin(9559):     listinfo_url = self.getScriptUrl('listinfo', absolute=1)

 Then within the AddMember method in
 /usr/local/mailman/Mailman/MailList.py, the above line calls the
 list's getScriptUrl method which triggers the exception below saying
 the list object has no getScriptUrl method.

 There are two things seriously wrong here:

 1) In the 2.1.12 released MailList.py, there is no line containing the
 name 'listinfo_url' anywhere in the module

 2) the 'getScriptUrl' list method doesn't exist, thus the exception.
 The method's name is 'GetScriptURL'.


admin(9559):   File /usr/local/mailman/Mailman/MailList.py, line
146, in __getattr__
admin(9559):     raise AttributeError, name
admin(9559): AttributeError: getScriptUrl


 So, the question here is where did this MailList.py module come from?
 Is this a source install or a package? Did you modify it in any way?
 It is clearly not an unmodified source distribution, and it is clearly
 broken.

 --
 Mark Sapiro m...@msapiro.net        The highway is for gamblers,
 San Francisco Bay Area, California    better use your sense - B. Dylan





-- 
Christopher Adams
adam...@gmail.com
--
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] Password reminder on private archive login page

2009-07-23 Thread liste yoneticisi
Dear Mr. Sapiro;

Thank you very much for your quick response.

Few months ago we made a list based modification in our test list.

It can be seen here:
http://mailman.metu.edu.tr/mailman/private/test
-
I am not very good at object oriented programming, and can hardly
understand python
scripts.

But I am trying to understand the commands.
I tried the text in the attachment also but as you warned, it didn't
work.:-(

---
The final problem is you've inserted your code in the wrong place. You
put it where it is only reached if the user is already authenticated
or provided a valid authentication.
---

Actually if someone reached to the archive (in order to see attachments,
messages for example) he probably had not logged into list archives
page yet. He is asked to enter his e-mail and corresponding password.

After submitting both correctly, the html form runs private script.
FORM METHOD=POST  ACTION=$HOST/mailman/private/$LISTNAME

But as you mentioned;
For the reminder form the necessary form action lines should be as
follows:

FORM action=$HOST/mailman/options/$LISTNAME method=POST 
INPUT name=email type=TEXT (*)
INPUT name=login-remind type=SUBMIT value=Remind 

There are three submit buttons in options page but the necessary one is
named login-remind.

(*) It may not be necessary, since it is already written in archive
authentication form. But the private script is reading the variables
username and password, but option script is reading the
variable email.

---
What needs to be done is the reminder button has to be added to the
private.html archive login template and code needs to be added to
Mailman/Cgi/private.py to recognize the button and send the reminder.
---

You also suggested that a remind button could be added to
generic private.html externally.

I tried that also (but the Turkish version.
$MAILMAN_PATH/mailman/templates/tr/private.html)

But it didn't have any effect.


By the way;
from the file  Mailman/Cgi/options.py
I copied the necessary lines as follows.

# Password reminder section
actionurl = mlist.GetScriptURL('options')

form = Form(actionurl)
table = Table(width='100%', border=0, cellspacing=4, cellpadding=5)

table.AddRow([Center(Header(2, _('Password reminder')))])

table.AddCellInfo(table.GetCurrentRowIndex(), 0,
  bgcolor=mm_cfg.WEB_HEADER_COLOR)

table.AddRow([Label(_('Email address:')),
   TextBox('email', size=20)])

table.AddRow([_(By clicking on the emRemind/em button, your
password will be emailed to you.)])

table.AddRow([Center(SubmitButton('login-remind', _('Remind')))])
# Finish up glomming together the login page

-
Do these lines work?
Is it necessary to add html code to template/private.html also?

Regards...

Liste Yoneticisi
http://e-list.cc.metu.edu.tr
http://e-liste.bidb.odtu.edu.tr

On Mon, 20 Jul 2009, Mark Sapiro wrote:

Date: Mon, 20 Jul 2009 20:20:22 -0700
From: Mark Sapiro m...@msapiro.net
To: liste yoneticisi liste...@metu.edu.tr,
 Mailman Users ML mailman-users@python.org
Subject: Re: [Mailman-Users] Password reminder on private archive login page

liste yoneticisi wrote:

I have two main questions.

First; We once asked about adding password reminder to private archive
login page. We tried some modifications but couldn't succeed. I copied the
previous correspondence below.


Can I put the password reminder on private archive login page? So that,
list members who want to see the archive, but do not remember their
passwords, can quickly learn their passwords. Otherwise, password
reminder is too hard to find using the links on general list info page..


This is a good idea. I think I'll implement it for Mailman 2.2.

What needs to be done is the reminder button has to be added to the
private.html archive login template and code needs to be added to
Mailman/Cgi/private.py to recognize the button and send the reminder.

You can look at Mailman/Cgi/options.py for how it's done there.



I have added the following lines to
PATH/mailman/Mailman/Cgi/private.py


print Utils.maketext(
'private.html',
{'action'  : Utils.websafe(action),
 'realname': mlist.real_name,
 'message' : message,
 }, mlist=mlist)
return

### My Lines 7/4/2009 Eklenti baslangic

if cgidata.has_key('emailpw'):
mlist.MailUserPassword(user)
options_page(
mlist, doc, user, cpuser, userlang,
_('A reminder of your password has been emailed to you.'))
print doc.Format()
return
### My Lines 7/4/2009 Eklenti bitis


lang = mlist.getMemberLanguage(username)
i18n.set_language(lang)
doc.set_language(lang)

# Authorization confirmed... output the desired file
try:

[Mailman-Users] List exclude feature across several domains on same server in a shared hosting environment

2009-07-23 Thread Cris McConkey
Thanks to a Dreamhost technical support person writing a patch for 
Mailman running in a shared hosting environment, I can now use the list 
exclude feature to avoid duplicate messages when an address is 
subscribed to more than one list on the same domain.


Since I have more than one domain with mailman lists, I am wondering if 
it is in the works to to have list exclusion that would work across 
domains on the sme server.


Is this doable?

--Cris
--

Visit *Tompkins County Against War  Occupation*,

Weblog for Tompkins County War Resisters:* **tompkinsagainstwar.org* 
http://tompkinsagainstwar.org/*.*


*Subscribe* webcal://tompkinsagainstwar.org/?ec3_ical  to community 
event calendar with iCal, Lightning or Sunbird.


--
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] bug error when subscribing through webafterMailman 2.1.12 upgrade

2009-07-23 Thread Mark Sapiro
Christopher Adams wrote:

The modification to MailList.py is something that you suggested awhile
back and I had carried it through as Mailman was upgraded. Here is the
thread from 2005.

http://mail.python.org/pipermail/mailman-users/2005-January/042116.html

This time, it didn't seem to work and broke it.The problem was the
email sent to new list owners had the list address, but didn't
complete the actual address. Instead, it results in this:

Send list messages to:

   %(emailaddr)s

What is the actual solutilon to the template being populated with the
actual list address. This seems like something that would be assumed
to exist in an out of the box installation.


The problem with the modification is my fault. I said to add

   listinfo_url = self.getScriptUrl('listinfo', absolute=1)

but this is wrong. It needs to be

   listinfo_url = self.GetScriptURL('listinfo', absolute=1)

However, this has nothing to do with the mail sent to the owner of a
new list. This particular modification was to add a definition of
'listinfo_url' to the substitutions in the verify.txt template for the
confirmation message sent to someone subscribing when the policy
includes 'confirm'. The same modification is also required when the
verify.txt template is used for an address change confirmation.

Adding %(emailaddr)s to the newlist.txt template requires a different
modification to MailList.py.

-- 
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] List exclude feature across several domains on sameserver in a shared hosting environment

2009-07-23 Thread Mark Sapiro
Cris McConkey wrote:

Thanks to a Dreamhost technical support person writing a patch for 
Mailman running in a shared hosting environment, I can now use the list 
exclude feature to avoid duplicate messages when an address is 
subscribed to more than one list on the same domain.

Since I have more than one domain with mailman lists, I am wondering if 
it is in the works to to have list exclusion that would work across 
domains on the sme server.


I'm not sure I understand why a patch was required. Perhaps Dreamhost
has other patches that broke the sibling list feature and they needed
to fix it.

In any case, cross domain siblings are supported in standard Mailman if
ALLOW_CROSS_DOMAIN_SIBLING is set to True or Yes in mm_cfg.py.


-- 
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] bug error when subscribing through webafterMailman 2.1.12 upgrade

2009-07-23 Thread Christopher Adams
Mark,

Yes, you are correct. I realized that I was referring to the wrong fix
after sending my message. I certainly didn't want to insinuate that
you gave me bad information.

That aside, the question still stands. Why are these fixes needed to
force the templates to display as it seems they should be default?
What about a list adminstrator who doesn't have full run of the system
to make these fixes? An administrator who does have full run would
have to know some python and understand the way Mailman works on the
backend. I guess that is the hope for an adminstrator, isn't it?

On Thu, Jul 23, 2009 at 7:39 AM, Mark Sapirom...@msapiro.net wrote:
 Christopher Adams wrote:

The modification to MailList.py is something that you suggested awhile
back and I had carried it through as Mailman was upgraded. Here is the
thread from 2005.

http://mail.python.org/pipermail/mailman-users/2005-January/042116.html

This time, it didn't seem to work and broke it.The problem was the
email sent to new list owners had the list address, but didn't
complete the actual address. Instead, it results in this:

Send list messages to:

   %(emailaddr)s

What is the actual solutilon to the template being populated with the
actual list address. This seems like something that would be assumed
to exist in an out of the box installation.


 The problem with the modification is my fault. I said to add

           listinfo_url = self.getScriptUrl('listinfo', absolute=1)

 but this is wrong. It needs to be

           listinfo_url = self.GetScriptURL('listinfo', absolute=1)

 However, this has nothing to do with the mail sent to the owner of a
 new list. This particular modification was to add a definition of
 'listinfo_url' to the substitutions in the verify.txt template for the
 confirmation message sent to someone subscribing when the policy
 includes 'confirm'. The same modification is also required when the
 verify.txt template is used for an address change confirmation.

 Adding %(emailaddr)s to the newlist.txt template requires a different
 modification to MailList.py.

 --
 Mark Sapiro m...@msapiro.net        The highway is for gamblers,
 San Francisco Bay Area, California    better use your sense - B. Dylan





-- 
Christopher Adams
adam...@gmail.com
--
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] bug error when subscribing through web after Mailman 2.1.12 upgrade

2009-07-23 Thread Mark Sapiro
Christopher Adams wrote:

That aside, the question still stands. Why are these fixes needed to
force the templates to display as it seems they should be default?
What about a list adminstrator who doesn't have full run of the system
to make these fixes? An administrator who does have full run would
have to know some python and understand the way Mailman works on the
backend. I guess that is the hope for an adminstrator, isn't it?


The way current mailman works, you can't just arbitrarily add
replacements to templates. Each template is processed with a
dictionary of replacements that is specific to that template. The fact
that you see some substitution in template-A does not mean you can use
the same substitution in template-B because the dictionary for
template-B probably doesn't include it.

That said, one thing on my to-do list for Mailman 2.2 is to have a
global set of replacements that can be used in all templates, but that
does not currently exist.

-- 
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] Password reminder on private archive login page

2009-07-23 Thread Mark Sapiro
liste yoneticisi wrote:

But I am trying to understand the commands.
I tried the text in the attachment also but as you warned, it didn't
work.:-(



Yes, It had a few problems :(


---
The final problem is you've inserted your code in the wrong place. You
put it where it is only reached if the user is already authenticated
or provided a valid authentication.
---

Actually if someone reached to the archive (in order to see attachments,
messages for example) he probably had not logged into list archives
page yet. He is asked to enter his e-mail and corresponding password.


My remark above referred to where in the logical flow of the private.py
module you had put your code. It was not about how a user would arrive
at the page.

Since I had planned to look into this for Mailman 2.2 anyway, I have
made a first cut at implementing this feature. The attached
privatepw.patch.txt contains patches to Mailman/Cgi/private.py and
templates/en/private.html to implement this feature. I have tested
them and they seem OK.

You're on your own for the Turkish version of the private.html template.

-- 
Mark Sapiro m...@msapiro.netThe highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan

=== modified file 'Mailman/Cgi/private.py'
--- Mailman/Cgi/private.py  2006-04-04 23:47:14 +
+++ Mailman/Cgi/private.py  2009-07-23 21:02:00 +
@@ -1,4 +1,4 @@
-# Copyright (C) 1998-2006 by the Free Software Foundation, Inc.
+# Copyright (C) 1998-2009 by the Free Software Foundation, Inc.
 #
 # This program is free software; you can redistribute it and/or
 # modify it under the terms of the GNU General Public License
@@ -131,6 +131,27 @@
 if cgidata.has_key('submit'):
 # This is a re-authorization attempt
 message = Bold(FontSize('+1', _('Authorization failed.'))).Format()
+# Are we processing a password reminder from the login screen?
+if cgidata.has_key('login-remind'):
+if username:
+message = Bold(FontSize('+1', _(If you are a list member,
+  your password has been emailed to you.))).Format()
+else:
+message = Bold(FontSize('+1',
+_('Please enter your email address'))).Format()
+if mlist.isMember(username):
+mlist.MailUserPassword(username)
+elif username:
+# Not a member
+if mlist.private_roster == 0:
+# Public rosters
+safeuser = Utils.websafe(username)
+message = Bold(FontSize('+1',
+  _('No such member: %(safeuser)s.'))).Format()
+else:
+syslog('mischief',
+   'Reminder attempt of non-member w/ private rosters: %s',
+   username)
 # Output the password form
 charset = Utils.GetCharSet(mlist.preferred_language)
 print 'Content-type: text/html; charset=' + charset + '\n\n'

=== modified file 'templates/en/private.html'
--- templates/en/private.html   2005-12-12 00:58:15 +
+++ templates/en/private.html   2009-07-23 20:56:09 +
@@ -38,6 +38,21 @@
   you can explicitly expire the cookie by visiting your
   member options page and clicking the
   emLog out/em button.
+  p
+TABLE WIDTH=100%% BORDER=0 CELLSPACING=4 CELLPADDING=5
+TR
+  TD COLSPAN=2 WIDTH=100%% BGCOLOR=#99CCFF ALIGN=CENTER
+   BFONT COLOR=#00 SIZE=+1Password Reminder/FONT/B
+  /TD
+/TR
+tr
+  tdIf you don't remember your password, enter your email address
+  above and click the emRemind/em button and your
+  password will be emailed to you./td
+/tr
+tr
+  tdcenterINPUT name=login-remind type=SUBMIT value=Remind 
/center/td
+/tr
 /FORM
 /body
 /html

--
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] Batch send?

2009-07-23 Thread Mark Sapiro
Webmaster wrote:

Maybe I'm missing this but my server only lets me send 200 per hour.

I need to send a message once per week to a club of 600.

I can't find a batch processing timer, is there one?


No there is not. This is discussed in the FAQ at
http://wiki.list.org/x/j4A9

-- 
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] Batch send?

2009-07-23 Thread Brad Knowles

on 7/22/09 1:57 PM, Webmaster said:

Maybe I'm missing this but my server only lets me send 200 per hour.

I need to send a message once per week to a club of 600.

I can't find a batch processing timer, is there one?


The short answer is no.

The long answer would be to go to the FAQ Wiki at 
http://wiki.list.org/display/DOC/Frequently+Asked+Questions and search 
for rate limit.


--
Brad Knowles b...@shub-internet.org
LinkedIn Profile: http://tinyurl.com/y8kpxu
--
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] permission denied error

2009-07-23 Thread LuKreme

On Jul 22, 2009, at 8:02, LuKreme krem...@kreme.com wrote:

IOError: [Errno 13] Permission denied: '/usr/local/mailman/lists/ 
mailman/config.pck'


all the config.pck files have the same permissions though:

10 -rw-rw  1 mailman  mailman  8556 Jul 21 12:00 list1/config.pck
8 -rw-rw  1 mailman  mailman  7825 Mar 11 12:00 list1/ 
config.pck.corrupt
10 -rw-rw  1 mailman  mailman  8556 Jul 21 09:00 list1/ 
config.pck.last
8 -rw-rw  1 mailman  mailman  7825 Mar 11 12:10 list1/ 
config.pck.safety

10 -rw-rw  1 mailman  mailman  9678 Jul 21 12:00 list2/config.pck
10 -rw-rw  1 mailman  mailman  9678 Jul 21 09:00 list2/ 
config.pck.last

4 -rw-rw  1 mailman  mailman  3640 Jul 21 12:00 mailman/config.pck
4 -rw-rw  1 mailman  mailman  3640 Mar 11 12:00 mailman/ 
config.pck.corrupt
4 -rw-rw  1 mailman  mailman  3640 Jul 21 09:00 mailman/ 
config.pck.last
4 -rw-rw  1 mailman  mailman  3640 Mar 11 12:07 mailman/ 
config.pck.safety


$ bin/check_perms -f
No problems found


No one has any solutions?

--
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] permission denied error

2009-07-23 Thread Mark Sapiro
LuKreme krem...@kreme.com wrote:

No one has any solutions?


See my reply at
http://mail.python.org/pipermail/mailman-users/2009-July/066577.html
and provide the information I ask for, and we might be able to help.

-- 
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] Bounces and templates

2009-07-23 Thread Mark Sapiro
Oliver Glueck wrote in an HTML only post:

I get an email-bounce message, because my email was to big.
This is ok it was a test, but in this bounce-email I can read the URL
to the mailman-/mailserver to cancel my email.

But if I'm an external list user, I don't have to see this 
internal link. (No forwarding)

How can I remove this URL permanently for all?
I can't find some words in the templates folder 


Your post did not reach the Mailman-Users list because it was a
text/html message and the list's content filtering removed the
text/html part and there was nothing left to post. Set your mail
client to compose/send plain text only or at least to send both plain
text and HTML.

As to your questions, Mailman is designed to do a lot of things via the
web and it intends that the web interface be exposed to all list
members.

If however you don't want to provide the user with this link in this
message, you can make an edited version of the postheld.txt template
as discussed in the FAQ at http://wiki.list.org/x/jYA9.

-- 
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] permission denied error

2009-07-23 Thread LuKreme

On 23-Jul-2009, at 16:58, Mark Sapiro wrote:

LuKreme krem...@kreme.com wrote:


No one has any solutions?


See my reply at
http://mail.python.org/pipermail/mailman-users/2009-July/066577.html
and provide the information I ask for, and we might be able to help.


Sorry, I never saw that post, it's not in my mail queue. I am getting  
these error as system mailing warnings from cron:


Traceback (most recent call last):
 File /usr/local/mailman/cron/gate_news, line 284, in module
   main()
 File /usr/local/mailman/cron/gate_news, line 264, in main
   process_lists(lock)
 File /usr/local/mailman/cron/gate_news, line 199, in process_lists
   mlist = MailList.MailList(listname, lock=0)
 File /usr/local/mailman/Mailman/MailList.py, line 130, in __init__
   self.Load()
 File /usr/local/mailman/Mailman/MailList.py, line 629, in Load
   dict, e = self.__load(file)
 File /usr/local/mailman/Mailman/MailList.py, line 595, in __load
   fp = open(dbfile)
IOError: [Errno 13] Permission denied: '/usr/local/mailman/lists/ 
mailman/config.pck'


I get these emails ever 5 minutes.

Mail sent to the mailing list still goes out.

For now I've simply commented out the crontab line for the mailman user:

#0,5,10,15,20,25,30,35,40,45,50,55 * * * * /usr/local/bin/python2.4 - 
S /usr/local/mailman/cron/gate_news


(which should be */5 * * * * anyway, no?)

but I don't know that that's a solution?

--
You too will get old. And when you do you'll fantasize that when
you were young prices where reasonable, politicians were noble,
and children respected their elders. Respect your elders.

--
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] permission denied error

2009-07-23 Thread Mark Sapiro
LuKreme wrote:

On 23-Jul-2009, at 16:58, Mark Sapiro wrote:
 LuKreme krem...@kreme.com wrote:

 No one has any solutions?

 See my reply at
 http://mail.python.org/pipermail/mailman-users/2009-July/066577.html
 and provide the information I ask for, and we might be able to help.

Sorry, I never saw that post, it's not in my mail queue.


My 23-Jul-2009, at 16:58 (-0600) post (and this one too) was sent to
the list only. The post archived at the above link was addressed to
you and to the list. The copy to you was accepted by your MX
(mail.covisp.net). Perhaps you are filtering mail from me?

I am getting  
these error as system mailing warnings from cron:
Traceback (most recent call last):
  File /usr/local/mailman/cron/gate_news, line 284, in module
main()
  File /usr/local/mailman/cron/gate_news, line 264, in main
process_lists(lock)
  File /usr/local/mailman/cron/gate_news, line 199, in process_lists
mlist = MailList.MailList(listname, lock=0)
  File /usr/local/mailman/Mailman/MailList.py, line 130, in __init__
self.Load()
  File /usr/local/mailman/Mailman/MailList.py, line 629, in Load
dict, e = self.__load(file)
  File /usr/local/mailman/Mailman/MailList.py, line 595, in __load
fp = open(dbfile)
IOError: [Errno 13] Permission denied: '/usr/local/mailman/lists/ 
mailman/config.pck'

I get these emails ever 5 minutes.

Mail sent to the mailing list still goes out.


Do Mailman's other cron jobs run without error?

Could this be a SELinux or other security manager issue?

What are the permissions on the /usr/local/mailman/lists/mailman/
directory?


For now I've simply commented out the crontab line for the mailman user:

#0,5,10,15,20,25,30,35,40,45,50,55 * * * * /usr/local/bin/python2.4 - 
S /usr/local/mailman/cron/gate_news

(which should be */5 * * * * anyway, no?)


I don't think all cron daemons support the /n notation which is why we
use the V7 standard notation.


but I don't know that that's a solution?


It's a satisfactory avoidance if you don't actually have any lists
gating from usenet, and it's a reasonable 'efficiency' as well in that
circumstance, but there is some underlying issue that should be
addressed.

-- 
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] permission denied error

2009-07-23 Thread LuKreme

On 23-Jul-2009, at 22:12, Mark Sapiro wrote:

LuKreme wrote:
On 23-Jul-2009, at 16:58, Mark Sapiro wrote:

LuKreme krem...@kreme.com wrote:


No one has any solutions?


See my reply at
http://mail.python.org/pipermail/mailman-users/2009-July/066577.html 


and provide the information I ask for, and we might be able to help.


Sorry, I never saw that post, it's not in my mail queue.


My 23-Jul-2009, at 16:58 (-0600) post (and this one too) was sent to
the list only. The post archived at the above link was addressed to
you and to the list. The copy to you was accepted by your MX
(mail.covisp.net). Perhaps you are filtering mail from me?


Not specifically, but mail to my list address that is not to a list  
goes into a quarantine that I look at only on rare occasions. I never  
saw the copy sent to the list though. The one directly to me is in the  
quarantine and I pulled it out after seeing your second reply.



Do Mailman's other cron jobs run without error?


I thought so, but it looks like they all are (this is the only one  
ever 5 minutes, so it overwhelmed the others)



Could this be a SELinux or other security manager issue?


FreeBSD 6.2-RELEASE with no weird chroot stuff.


What are the permissions on the /usr/local/mailman/lists/mailman/
directory?


2 drwxrwsr-x  21 mailman  mailman


It's a satisfactory avoidance if you don't actually have any lists
gating from usenet, and it's a reasonable 'efficiency' as well in that
circumstance, but there is some underlying issue that should be
addressed.


I'm still looking into it.  I suspect this has something to do with a  
portupgrade as the errors started about the time I was doing a lot of  
updates.


Hmm.. I think I might have found the problem, there was a crontab for  
'nobody' that had the various mailman tasks in it. Mailman runs as the  
user mailman, not nobody. See if that eliminates the issue.


--
Personal isn't the same as important

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