Re: [Mailman-Users] Fix defacement

2005-05-07 Thread Jim Tittsler
On May 3, 2005, at 04:21, Tony Bibbs wrote:

 I had my mailman site defaced.  The
 /path/to/mailman/archives/public/listname/index.html
 pages have all been replaced by crap.

 How do I recover those pages?

You can regenerate them using the 'arch' tool supplied with Mailman:

bin/arch --wipe mylist

would regenerate the HTML archives for the list called mylist.

(This assumes it is just the HTML that has been damaged, and not the  
mbox file containing the archives themselves.)

-- 
Jim Tittsler http://www.OnJapan.net/  GPG: 0x01159DB6
Python Starship  http://Starship.Python.net/crew/jwt/
Mailman IRC  irc://irc.freenode.net/#mailman



--
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] Mailman htdig problem

2005-05-07 Thread Jim Tittsler
On May 3, 2005, at 06:07, Chris Serenil wrote:

 I have just installed Mailman 2.1.15 with the htdig
 patch 444884 and 444879. The search fails when I have
 a list name with a dot in it. (Example
 fa.dl-testlist). I will get these errors when doing a
 search. If there is no dot it works fine.

 htdig Archives Access Failure
 The requested list cannot be accessed. No list -3-

I don't use those patches, but a quick look suggests that the problem  
you are having is related to this line in sub doit:
if ($query-param('config') =~ /^([^\.]+)(|\.htsearch)$/) {

I'm guessing it is looking for either a bare listname or  
listname.htsearch.  The first group which looks for a string of  
characters that aren't in the set of '.' and '\' isn't a good choice  
for a listname with a dot in it.  (I'm guessing that the author  
didn't really want a \ there, since IIRC '.' isn't special inside a  
Perl character class and so doesn't warrant escaping... but that  
isn't the problem you are encountering.)  My Perl-foo has weakened  
over years of disuse, so it is risky to suggest something I can't  
test.  But since I didn't see any other replies, you might try  
something like:
if ($query-param('config') =~ /^(.*?)(\.htsearch)?$/) {
No warranty is expressed or implied.  If it breaks, you get to keep  
all the pieces.

I don't know if there are other places in the patches that assume  
there are no dots in the listname once you get past this hurdle.


-- 
Jim Tittsler http://www.OnJapan.net/  GPG: 0x01159DB6
Python Starship  http://Starship.Python.net/crew/jwt/
Mailman IRC  irc://irc.freenode.net/#mailman



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

2005-05-07 Thread Jim Tittsler

On May 7, 2005, at 03:36, Anshuman Prusty wrote:

 In the test server at gospelcom.net, I am testing the subscriptions  
 for the newsletter and receiving the following error messages

 -- 
 --

 Warning: fsockopen(): unable to connect to www.scflists.com:80 in / 
 usr/local/www/gospelcom/docs/settingcaptivesfree/Client.php on line  
 635 www.scflists.com

 Warning: fsockopen(): unable to connect to www.scflists.com:80 in / 
 usr/local/www/gospelcom/docs/settingcaptivesfree/Client.php on

These are errors in your custom PHP scripts, not in Mailman (which is  
coded in Python).  Whatever your Client.php script is attempting, is  
failing to connect to your www.scflists.com machine (which does  
appear to be running Mailman.)

 Are the www.scflists.com domain name specific? If we use the domain  
 name www.settingcaptivesfree.com later after the migration will it  
 work? In the interim the domain name used is http:// 
 settingcaptivesfree.test.gospelcom.net/ .

If you change the URL of a list after it is created, you will need to  
use the bin/fix_url script.

   http://www.python.org/cgi-bin/faqw-mm.py? 
req=showfile=faq04.029.htp
   http://www.python.org/cgi-bin/faqw-mm.py? 
req=showfile=faq04.053.htp

-- 
Jim Tittsler http://www.OnJapan.net/  GPG: 0x01159DB6
Python Starship  http://Starship.Python.net/crew/jwt/
Mailman IRC  irc://irc.freenode.net/#mailman



--
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] How to put extra spaces in Topic name field

2005-05-07 Thread Jim Tittsler
On May 3, 2005, at 00:07, Jeff Peterson wrote:

 In the Topic Name field, I have tried adding extra spaces, but the  
 extra
 spaces are not displayed.

The leading spaces are preserved in the list object, but since they  
are being displayed in a table cell, they don't appear in the GUI.

 I have tried putting a backslash '\' in front
 of the spaces, the backslash shows up with one space following it. I
 even tried adding 'nbsp', but no luck. Is it even possible to get  
 extra
 spaces displayed? Thank you.

I can think of two possibilities, each a little messy:

1.  You could use bin/withlist to add leading nbsp;nbsp; to the  
topics... and then never edit the topics through the GUI again.  (You  
can't use the web GUI since it will escape the .)

2.  Modify your Mailman/Cgi/options.py where it does Create the  
topics radios and replace the leading spaces of the topic name with  
'nbsp;' when building the topics table rows.


-- 
Jim Tittsler http://www.OnJapan.net/  GPG: 0x01159DB6
Python Starship  http://Starship.Python.net/crew/jwt/
Mailman IRC  irc://irc.freenode.net/#mailman



--
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] Custom Subscribe emails

2005-05-07 Thread Jim Tittsler
On May 4, 2005, at 03:36, James Beeghley wrote:

 I am setting up Mainman to be used as a communication mechanism for  
 my school district. I was wondering if it is possible to modify the  
 confirming emails which are sent to potential subscribers.

You can modify the template 'verify.txt', similar to the way one of  
the FAQ answers describes modifying 'subscribeack.txt'.  (One is the  
confirm email sent to a potential subscriber, the second the welcome  
to the list.)
   http://www.python.org/cgi-bin/faqw-mm.py? 
req=showfile=faq03.011.htp


-- 
Jim Tittsler http://www.OnJapan.net/  GPG: 0x01159DB6
Python Starship  http://Starship.Python.net/crew/jwt/
Mailman IRC  irc://irc.freenode.net/#mailman



--
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] ezmlm to mailman

2005-05-07 Thread cbaegert
Hi,

thank you for your answer.

  Pickle de l'état des archives
  vers /usr/local/mailman/archives/private/testliste/pipermail.pck

 I think that should be the last thing it writes

In fact, it's the only thing it writes...

 , as it saves the 
 state of the archives in the pickle.  (Does it create that file?  If
 not, check permissions/ownership of the directories.)

Yes, it does.


 If it doesn't show any output before that

It doesn't

 , I'd suspect that your mbox 
 file format is incorrect or that it isn't readable in archives/
 private/testliste.mbox/testliste.mbox

I just made a cat with all the messages of my ezmlm list. The permissions 
are :

-rw-rw-r--  1 mailman mailman 195702 mai  5 18:01 
archives/private/testliste.mbox/testliste.mbox

Regards,
-- 
Christophe BAEGERT  
--
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] Mail going to qfiles/shunt

2005-05-07 Thread Brad Knowles
At 11:49 PM -0400 2005-05-06, Larry Hansford wrote:

  I got it working.  I upgraded from Python 2.2.3 to Python 2.3.5
  and reinstalled Mailman, and it began working.

Mailman 2.1.5 required Python 2.3, but in theory this was 
supposed to be fixed in Mailman 2.1.6, easing the restriction back 
down to Python 2.1.

What was the exact error message you were getting?

-- 
Brad Knowles, [EMAIL PROTECTED]

Those who would give up essential Liberty, to purchase a little
temporary Safety, deserve neither Liberty nor Safety.

 -- Benjamin Franklin (1706-1790), reply of the Pennsylvania
 Assembly to the Governor, November 11, 1755

   SAGE member since 1995.  See http://www.sage.org/ for more info.
--
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] Mail going to qfiles/shunt

2005-05-07 Thread Larry Hansford
At 07:45 AM 5/7/2005, Brad Knowles wrote:
At 11:49 PM -0400 2005-05-06, Larry Hansford wrote:
 I got it working.  I upgraded from Python 2.2.3 to Python 2.3.5
 and reinstalled Mailman, and it began working.
Mailman 2.1.5 required Python 2.3, but in theory this was 
supposed to be fixed in Mailman 2.1.6, easing the restriction back down 
to Python 2.1.

What was the exact error message you were getting?
I wasn't seeing any error messages.  The maillog showed that the message 
was sent to the mailman alias:

May  5 12:31:41 mailserver postfix/local[3348]: 7592814046: 
to=[EMAIL PROTECTED], relay=local, delay=1, status=sent (delivered to 
command: /home/mailman/mail/mailman post testlist)

But, the message was never processed and distributed.  When I looked in the 
qfiles directory, the message would be in the shunt directory.


--
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] UnicodeEncodeError: 'ascii' codec can't encode character u'\xd6' in position 5: ordinal not in range(128)

2005-05-07 Thread Ralf Hildebrandt
 I get the error:
 
 UnicodeEncodeError: 'ascii' codec can't encode character u'\xd6' in
 position 5: ordinal not in range(128)
 
 in mailmans logs/errors, but how do I find out which list / which mail
 causes it?
 
 Apr 14 09:21:52 2005 (7409) Traceback (most recent call last):
   File /home/mailman/Mailman/Queue/Runner.py, line 111, in _oneloop
   self._onefile(msg, msgdata)
 File /home/mailman/Mailman/Queue/Runner.py, line 167, in _onefile
 keepqueued = self._dispose(mlist, msg, msgdata)
   File /home/mailman/Mailman/Queue/OutgoingRunner.py, line 73, in 
 _dispose
 self._func(mlist, msg, msgdata)
   File /home/mailman/Mailman/Handlers/SMTPDirect.py, line 152, in 
 process
 deliveryfunc(mlist, msg, msgdata, envsender, refused, conn)
   File /home/mailman/Mailman/Handlers/SMTPDirect.py, line 285, in 
 verpdeliver
 Decorate.process(mlist, msgcopy, msgdata)
   File /home/mailman/Mailman/Handlers/Decorate.py, line 58, in process
 username = username.encode(Utils.GetCharSet(d['user_language']))
 UnicodeEncodeError: 'ascii' codec can't encode character u'\xd6' in 
 position 5: ordinal not in range(128)
 
 This is version 2.1.6b4

Is this some sort of FAQ?
--
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] RuntimeError: command failed: /usr/sbin/postalias

2005-05-07 Thread James
I can access Mailman webpages just fine; however, after I fill in the
new list info and hit submit I get an error message (Bug in Mailman
version 2.1.5 We're sorry, we hit a bug!.) Also, it seems that no
emails can be sent or received trough the list.

I've tried to add in mm_cfg.py the following two lines to solve the
problem (see error log below) but this didn't help either.

POSTFIX_ALIAS_CMD = /usr/sbin/postalias 
POSTFIX_MAP_CMD = /usr/sbin/postmap


Python 2.3.5, Mailman 2.1.5, Postfix 2.1.5, Apache 2.0.54

Relevant error logs:
admin(3095): [- Traceback --]
admin(3095): RuntimeError: command failed: /usr/sbin/postalias
/var/lib/mailman/data/aliases (status: 1, Operation not permitted)
--
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] Mail going to qfiles/shunt

2005-05-07 Thread John W. Baxter
On 5/7/05 4:45 AM, Brad Knowles [EMAIL PROTECTED] wrote:

 Mailman 2.1.5 required Python 2.3, but in theory this was
 supposed to be fixed in Mailman 2.1.6, easing the restriction back
 down to Python 2.1.

Which would imply that Barry's new email module is good back at least to
Python 2.1.  (If so, that tells me we can use it (with a Python 2.3.x
system) to perhaps reduce the incidence of certain errors.  Not a
Mailman-related program suite.)

  --John


--
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] No mail delivered

2005-05-07 Thread James
Thanks to Dan' suggestions I've fixed the perm error. 

I have a different MTA problem now. When I try to subscribe to the
list, or send an email to the list I get...nothing. No email makes it
trough the list, and I also get no subscription conformation from the
list.

Python 2.3.5, Mailman 2.1.5, Postfix 2.1.5, Apache 2.0.54
--
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] No mail delivered

2005-05-07 Thread James
I can't understand these two logs. No mail makes it trough and this is
the only relelvant thing that I can see in the MTA logs. The second
log is a cron error. I've search the FAQ, read it, and I still don't
know how to troubleshoot this.

May  7 16:30:02 mail postfix/pickup[531]: 620D21002E8A: uid=1030 from=mailman
May  7 16:30:02 mail postfix/cleanup[619]: 620D21002E8A:
message-id=[EMAIL PROTECTED]
May  7 16:30:02 mail postfix/qmgr[532]: 620D21002E8A:
from=[EMAIL PROTECTED], size=1000, nrcpt=1 (queue active)
May  7 16:30:02 mail postfix/local[624]: 620D21002E8A:
to=[EMAIL PROTECTED], orig_to=mailman, relay=local, delay=0,
status=sent (delivered to command: procmail -a $EXTENSION)
May  7 16:30:02 mail postfix/qmgr[532]: 620D21002E8A: removed

Also, every 5 min I get this email:
Traceback (most recent call last):
  File /var/lib/mailman/cron/gate_news, line 284, in ?
main()
  File /var/lib/mailman/cron/gate_news, line 259, in main
lock.lock(timeout=0.5)
  File /var/lib/mailman/Mailman/LockFile.py, line 243, in lock
self.__write()
  File /var/lib/mailman/Mailman/LockFile.py, line 422, in __write
fp = open(self.__tmpfname, 'w')
IOError: [Errno 13] Permission denied:
'/var/lib/mailman/locks/gate_news.lock.mail.607.0'
--
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] No mail delivered

2005-05-07 Thread Larry Hansford
Did you copy the /home/mailman/scripts/mailman to /etc/rc.d/init.d/, and 
then do chkconfig --add mailman?

Did you do a /etc/rc.d/init.d/mailman start?  Did you get any errors when 
you did the start?

At 07:41 PM 5/7/2005, James wrote:
Hrrm... what do I do now?
ps  aux | grep qrunner
root   665  0.0  0.0  1536  452 pts/0S+   16:39   0:00 grep qrunner
On 5/7/05, Scot Hacker [EMAIL PROTECTED] wrote:
you sure the Mailman threads  are actually runnning? If you run

 ps  aux | grep qrunner

 in a shell,  you should see one or more threads listed (beyond the grep
 process). If  you don't, then Mailman isn't running.

 Scot

--
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/lhansfor%40lch-assoc.com

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.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

Re: [Mailman-Users] No mail delivered

2005-05-07 Thread James
I've cp /usr/lib/mailman/scripts/mailman /etc/init.d/. No errors.

I do have one problem with cron that I can't figure out. When I try to
ls -la the path in the error message below I don't see the
gate_news.lock

ls -la /var/lib/mailman/locks/
total 8
drwxrwxr-x+ 2 list list 57 May  7 17:01 .
drwxrwxrwt+ 4 root root 34 May  7 16:19 ..
-rw-rw-r--+ 2 list list 46 May  8  2005 master-qrunner
-rw-rw-r--+ 2 list list 46 May  8  2005 master-qrunner.mail.854

This is the error message:

Traceback (most recent call last):
  File /var/lib/mailman/cron/gate_news, line 284, in ?
main()
  File /var/lib/mailman/cron/gate_news, line 259, in main
lock.lock(timeout=0.5)
  File /var/lib/mailman/Mailman/LockFile.py, line 243, in lock
self.__write()
  File /var/lib/mailman/Mailman/LockFile.py, line 422, in __write
fp = open(self.__tmpfname, 'w')
IOError: [Errno 13] Permission denied:
'/var/lib/mailman/locks/gate_news.lock.mail.841.0'






On 5/7/05, Larry Hansford [EMAIL PROTECTED] wrote:
 Did you copy the /home/mailman/scripts/mailman to /etc/rc.d/init.d/, and
 then do chkconfig --add mailman?
 
 Did you do a /etc/rc.d/init.d/mailman start?  Did you get any errors when
 you did the start?
 
 
 At 07:41 PM 5/7/2005, James wrote:
 Hrrm... what do I do now?
 
 ps  aux | grep qrunner
 root   665  0.0  0.0  1536  452 pts/0S+   16:39   0:00 grep qrunner
 
 
 On 5/7/05, Scot Hacker [EMAIL PROTECTED] wrote:
 you sure the Mailman threads  are actually runnning? If you run
  
   ps  aux | grep qrunner
  
   in a shell,  you should see one or more threads listed (beyond the grep
   process). If  you don't, then Mailman isn't running.
  
   Scot
  
 --
 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/lhansfor%40lch-assoc.com
 
 Security Policy:
 http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.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


Re: [Mailman-Users] Editing confirm page

2005-05-07 Thread Jim Tittsler
On May 8, 2005, at 06:16, Daya Baran wrote:

 If you edit confirm.py - you get this message Bug In Mailman

You must have made a mistake editing the script so that it was no  
longer a valid Python program.

 I had to reinstall mailman

If you had just been making changes to the one file, you could have  
just copied the backup of your confirm.py before you started making  
changes.

 I would like to change the following:

 2) remove Recieve digests?  Yes or No

You don't need to make any programming changes to remove that.  If  
you don't want to support digests, simply set 'digestable' to No on  
the Digest options page of the administrative web interface, and it  
will not appear on the confirm web page.

 3) prefered language

If you only allow one language on the Language options page of your  
administrative interface, the selection box still appears, but the  
user will not be able to change the language.  If you want to  
eliminate the selection appearing, you will have to change confirm.py  
to comment out the table.AddRow() where it gets added to the page.

 1) header and footer
 4) Cancel my subscription

These also would take modifications to confirm.py (and possibly to  
Mailman/htmlformatter.py depending upon the level of changes you want  
to make to the header and footer).  You can change some of the colors  
in your mm_cfg.py (see the WEB_* variables in Defaults.py).



-- 
Jim Tittsler http://www.OnJapan.net/  GPG: 0x01159DB6
Python Starship  http://Starship.Python.net/crew/jwt/
Mailman IRC  irc://irc.freenode.net/#mailman



--
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] how to create master default setting?

2005-05-07 Thread James
Is there a way to create default settings (privacy options, bounce
processing etc) that would be copied to all newly added mailing lists?
--
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] how to create master default setting?

2005-05-07 Thread Jim Tittsler

On May 8, 2005, at 10:43, James wrote:

 Is there a way to create default settings (privacy options, bounce
 processing etc) that would be copied to all newly added mailing lists?

Copy the settings you wish to customize from Mailman/Defaults.py to  
your Mailman/mm_cfg.py file and make the changes there.  (The  
settings in mm_cfg.py override those in Defaults.py, will survive  
Mailman updates, and will apply to newly created lists.)
   http://www.python.org/cgi-bin/faqw-mm.py? 
req=showfile=faq04.021.htp
   http://www.python.org/cgi-bin/faqw-mm.py? 
query=mm_cfgquerytype=simplecasefold=yesreq=search

-- 
Jim Tittsler http://www.OnJapan.net/  GPG: 0x01159DB6
Python Starship  http://Starship.Python.net/crew/jwt/
Mailman IRC  irc://irc.freenode.net/#mailman



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