Re: [Mailman-Users] loss of messages with text attachment

2005-03-18 Thread Richelle Jean
Thank you for your help !
Le 17 mars 05, à 16:02, Mark Sapiro a écrit :
Richelle Jean wrote:
The messages sent to our local mailman lists never arrive to the list
members if they have any kind of attachment even text/plain.  But the
messages with text/plain attachments appear in the archive. The other
messages appear in the archive only after using unshunt.
There should be messages in Mailman's 'error' log relating to the
shunted messages.
Unfortunately there is nothing in the error log concerning the messages 
that are not transmitted to the list members but appear in the 
archives.


The configuration of Content filtering is to enable filtering and
remove message attachments that does not match multipart/mixed,
text/plain .
Is there any other settings elsewhere that interfere with handling
message having attachments ?
See
http://mail.python.org/pipermail/mailman-users/2005-January/042239.html
and the references therein regarding content filtering.
From the references you are giving, I conclude that it is only in the 
Content filtering section that there are settings for how attachments 
are handled.

--
Jean Richelle [EMAIL PROTECTED]
The aMAZE Project Tel: +32 (0)2 
650 3587
SCMBB - ULB, Campus Plaine (BC, C6.114)   FAX: +32 (0)2 
650 5425
bd du Triomphe - CP263, B-1050 Bruxelles, Belgium

--
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úq01.027.htp


Re: [Mailman-Users] News-to-mail gateway

2005-03-18 Thread Puiu @ Xentra
Just wanted to thank again to Brad for his support.
I have finished installing Mailman and INN and everything works like a charm 
now.
Great work guys.

Regards,
Puiu Hrenciuc.
- Original Message - 
From: Brad Knowles [EMAIL PROTECTED]
To: Puiu @ Xentra [EMAIL PROTECTED]
Cc: Brad Knowles [EMAIL PROTECTED]; mailman-users@python.org
Sent: Wednesday, March 16, 2005 1:38 AM
Subject: Re: [Mailman-Users] News-to-mail gateway


At 12:50 AM +0200 2005-03-16, Puiu @ Xentra wrote:
 Thanks a lot for your help, I'd be more than happy if commercial 
software
 would have such a good support service. I'll do my best to offer support
 for my project, at least as good as you are offering to Mailman users.
 Anyway, after hours of work and research, guys from sf.net ( which
 otherwise is a very good thing ) discovered the problem and the 
solution:
 this feature is unsupported on sf.net :)
I saw that.  Sad, but true.
 I'll take another approach to this problem, I'll install Mailman and INN 
on
 a freebsd, so I'll have control with both Mailman and INN.
That should work fine.  Another alternative would be to switch hosting 
providers, and use one that does support the mail-to-news gateway.  If 
you're interested in considering that alternative, see 
http://www.python.org/cgi-bin/faqw-mm.py?req=showfile=faq01.017.htp.

 BTW, offtopic, what news server would you reccomend, that works
 best with Mailman ?
INN should work fine.  For running small USENET news servers, INN is one 
of the best solutions I know of.  If you want a big and highly-scalable 
server, I'd recommend looking at Diablo.  But either should work fine.

 Thanks and congratultaions for you dedication in supporting others,
I'm sorry we weren't able to help you get a better solution.  ;(
--
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] true virtual hosting with mailman-2.1.5

2005-03-18 Thread Christian Anton
Mark Sapiro wrote:
Over the UI i can't create a List either. I have the following in my 
mm_cfg.py:

##
# Put YOUR site-specific settings below this line.
DELIVERY_MODULE = 'SMTPDirect'
SMTPHOST = 'localhost'
SMTPPORT = 10025
SMTP_MAX_RCPTS = 1000
MTA = 'Postfix'
DEFAULT_EMAIL_HOST = 'gentix.de'
DEFAULT_URL_HOST = 'lists.gentix.de'
DEFAULT_URL_PATTERN = 'http://%s/mailman/'
DEFAULT_SERVER_LANGUAGE = 'de'
IMAGE_LOGOS = '/mailmanicons/'
POSTFIX_STYLE_VIRTUAL_DOMAINS = ['lists.citservice.de']
I configured a virtual host http://lists.citservice.de and i can access 
the cgi's of mailman under the URL http://lists.citservice.de/mailman/. 
When I access http://lists.citservice.de/mailman/create and want to 
create a new list 'testlist' i get an error:  Error: Unknown virtual 
host: lists.citservice.de. What am i doing wrong?
   

DEFAULT_URL_PATTERN = 'http://%s/mailman/'
is not needed in mm_cfg.py because it doesn't change the default from
Defaults.py. However, you need all of the following in mm_cfg.py after
the DEFAULT_URL_HOST line.
VIRTUAL_HOSTS.clear()
add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)
add_virtualhost('lists.citservice.de', 'citservice.de')
assuming that citservice.de is the correct e-mail host to go with
lists.citservice.de. Also, the POSTFIX_STYLE_VIRTUAL_DOMAINS should be
['citservice.de'] unless the e-mail host really is
'lists.citservice.de' in which case the second add_virtualhost()
should be
add_virtualhost('lists.citservice.de', 'lists.citservice.de')
--
Mark Sapiro [EMAIL PROTECTED]   The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan
 

I updated my config as follows:
DELIVERY_MODULE = 'SMTPDirect'
SMTPHOST = 'localhost'
SMTPPORT = 10025
SMTP_MAX_RCPTS = 1000
MTA = 'Postfix'
DEFAULT_EMAIL_HOST = 'gentix.de'
DEFAULT_URL_HOST = 'lists.gentix.de'
VIRTUAL_HOSTS.clear()
add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)
add_virtualhost('lists.citservice.de', 'lists.citservice.de')
DEFAULT_SERVER_LANGUAGE = 'de'
IMAGE_LOGOS = '/mailmanicons/'
POSTFIX_STYLE_VIRTUAL_DOMAINS = ['lists.citservice.de']
I really want to use 'lists.citservice.de' as email host. Adding a new 
list with the shell command
'newlist [EMAIL PROTECTED]' creates a new list, very fine. I 
get the message from mailman that my new list is created. But the 
automatically created virtual_mailman file is wrong format:

[EMAIL PROTECTED]  
liste2-lists.citservice.de
[EMAIL PROTECTED]
liste2-lists.citservice.de-admin
[EMAIL PROTECTED]  
liste2-lists.citservice.de-bounces
[EMAIL PROTECTED]  
liste2-lists.citservice.de-confirm
[EMAIL PROTECTED] 
liste2-lists.citservice.de-join
[EMAIL PROTECTED]
liste2-lists.citservice.de-leave
[EMAIL PROTECTED]
liste2-lists.citservice.de-owner
[EMAIL PROTECTED]  
liste2-lists.citservice.de-request
[EMAIL PROTECTED]
liste2-lists.citservice.de-subscribe
[EMAIL PROTECTED]  
liste2-lists.citservice.de-unsubscribe

when it would have to be
[EMAIL PROTECTED]  liste2-lists.citservice.de
[EMAIL PROTECTED]  liste2-lists.citservice.de-admin
Can you tell me what i didn't understand?
Thank you very much
Christian
--
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] true virtual hosting with mailman-2.1.5

2005-03-18 Thread Christian Anton
Mark Sapiro wrote:
Christian Anton wrote:
 

i got it installing finally, applying the patch line after line manually 
in editor. It installes everything fine, but now when i want to create a 
list mailman i get the following error:

ipx10995 mailman # ./bin/newlist
Name der Mailingliste: mailman
e-Mailadresse des Listenverwalters: [EMAIL PROTECTED]
Erstmaliges Passwort für die Liste mailman:
Traceback (most recent call last):
File ./bin/newlist, line 219, in ?
  main()
File ./bin/newlist, line 160, in main
  mlist.Create(listname, owner_mail, pw)
File /home/mailman/Mailman/MailList.py, line 455, in Create
  postingaddr = '[EMAIL PROTECTED]' % (firstname, domain)
UnboundLocalError: local variable 'firstname' referenced before assignment
   

The error occurs in a patched line indicating a problem with the patch.
The submitter of the patch has made some recent changes (yesterday). I
suggest you go back to
http://sourceforge.net/tracker/index.php?func=detailaid=943827group_id=103atid=300103
and follow the link in the recent comment to the latest 2.1.4 patch
and use that as a starting point.
 

this part is working fine now. I got the new patch, the patch's author 
sent it to me.

Thank you!
Christian
--
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] true virtual hosting with mailman-2.1.5

2005-03-18 Thread Mark Sapiro
Christian Anton wrote:

Adding a new 
list with the shell command
'newlist [EMAIL PROTECTED]' creates a new list, very fine. I 
get the message from mailman that my new list is created. But the 
automatically created virtual_mailman file is wrong format:

[EMAIL PROTECTED]  
liste2-lists.citservice.de
[EMAIL PROTECTED]
liste2-lists.citservice.de-admin
[EMAIL PROTECTED]  
liste2-lists.citservice.de-bounces
[EMAIL PROTECTED]  
liste2-lists.citservice.de-confirm
[EMAIL PROTECTED] 
liste2-lists.citservice.de-join
[EMAIL PROTECTED]
liste2-lists.citservice.de-leave
[EMAIL PROTECTED]
liste2-lists.citservice.de-owner
[EMAIL PROTECTED]  
liste2-lists.citservice.de-request
[EMAIL PROTECTED]
liste2-lists.citservice.de-subscribe
[EMAIL PROTECTED]  
liste2-lists.citservice.de-unsubscribe

when it would have to be
[EMAIL PROTECTED]  liste2-lists.citservice.de
[EMAIL PROTECTED]  liste2-lists.citservice.de-admin

Can you tell me what i didn't understand?

Standard unpatched Mailman supports virtual hosts but with the
restriction that two lists on two different hosts cannot have the same
name.

The patch you installed attempts to overcome this restriction by
appending the domain name to the list name in order to create a unique
name for all lists.

It does look like there is an issue with the generated aliases created
when this patch is used. This issue would have to be discussed with
the originator of the patch.

Note that if you are willing to accept the unique naming restriction,
you can use Mailman in a virtual hosting environment without patching.

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

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

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


Re: [Mailman-Users] Delayed Message sending

2005-03-18 Thread Mark Sapiro
Robert Haack wrote:

I have a user that sent a message to a list and the message did not go 
through right away.  I decided to look at the log files and I found the 
message below:

post:Mar 16 13:21:44 2005 (4221) post to all_sub from 
[EMAIL PROTECTED],
size=4209, message-id=[EMAIL PROTECTED], 26 failures

Can anybody tell me what the problem could be and any ideas on how to 
resolve this problem?

Mailman is telling you that it's attempt to deliver the post via SMTP
to your outgoing MTA failed for 26 of the messages recipients which
may be all or only part.

You may find more in the 'smtp-failure' log at the same time. Also look
in the MTA logs.

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

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

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


RE: [Mailman-Users] Getting Mailman to work

2005-03-18 Thread Olson, Gary
 Yes, it was a Postfix config problem.  I needed to change the
mynetworks (needed both localhost and the ip of server), myorigin,
mydestination, mydomain, and myhostname variables in the main.cf file
for Postfix.  Part of the problem was also with the DNS MX for the
server.  Changing these variables was not mentioned in the
Readme.Postfix file that is included with a Mailman install.  I don't
know if this problem was unique to my situation or if this is a common
problem.  

Gary

-Original Message-
From: Mark Sapiro [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 18, 2005 11:24 AM
To: Olson, Gary; mailman-users@python.org
Subject: Re: [Mailman-Users] Getting Mailman to work

Olson, Gary wrote:

snip

Messages sent from within the administrative area for the test list 
to remind myself of the password have simply been queued and contain 
the error message stating:

[EMAIL PROTECTED]: host barracuda.eicc.edu[205.221.78.150] said: 550
[EMAIL PROTECTED]: Sender address rejected: Domain not 
found (in
reply to RCPT TO command)

However I can send messages to [EMAIL PROTECTED] as member postfix when I

change the from heading to test.ateec-lists.org within postfix
itself.

Is this perhaps that I have the permissions for Mailman set wrong?
Any
help anyone can provide will be appreciated.   Thanks!

It looks to me like a Postfix configuration problem, i.e. Mailman is
sending the mail as it should and Postfix is not accepting it because it
doesn't like the sender [EMAIL PROTECTED].

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

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

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


Re: [Mailman-Users] loss of messages with text attachment

2005-03-18 Thread Mark Sapiro
Richelle Jean wrote:

 From the references you are giving, I conclude that it is only in the 
Content filtering section that there are settings for how attachments 
are handled.

Basically, yes.

There are mm_cfg.py settings for ARCHIVE_SCRUBBER and
ARCHIVE_HTML_SANITIZER which allow an alternative scrubber for the
archives and control how HTML parts are handled in the archives, but
the only settings that affect how attachments are handled in messages
delivered to the list are the content filtering setting.

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

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

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


Re: [Mailman-Users] Getting Mailman to work

2005-03-18 Thread Mark Sapiro
Olson, Gary wrote:

snip

Messages sent from within the administrative area for the test list to
remind myself of the password have simply been queued and contain the
error message stating:

[EMAIL PROTECTED]: host barracuda.eicc.edu[205.221.78.150] said: 550
[EMAIL PROTECTED]: Sender address rejected: Domain not
found (in
reply to RCPT TO command)

However I can send messages to [EMAIL PROTECTED] as member postfix when I
change the from heading to test.ateec-lists.org within postfix itself.

Is this perhaps that I have the permissions for Mailman set wrong?   Any
help anyone can provide will be appreciated.   Thanks!

It looks to me like a Postfix configuration problem, i.e. Mailman is
sending the mail as it should and Postfix is not accepting it because
it doesn't like the sender [EMAIL PROTECTED].

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

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

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


[Mailman-Users] bounce runner day of year out of range error

2005-03-18 Thread Heather Madrone
Hello.

I'm running Mailman 2.1.5 on Mac OSX 10.2.8 using Python 2.4 and exim
4.42.  I have the bounce threshold set to 3.0, but Mailman only rarely manages
to disable accounts that have been bouncing solidly for weeks.

Before I set up Mailman on my own server, I was running it through an ISP.
During the several years I ran Mailman on that site, I only had a handful of
bouncers disabled.  I thought that was suspicious at the time, but it wasn't my
server, and so I couldn't get in under the hood.

I've been watching the exim traffic.  About 20 addresses have been failing
solidly for the past 3 weeks, but Mailman has only disabled 8 of them.  Every
few days, I get the following message:

Traceback (most recent call last):
  File /Applications/mailman/bin/qrunner, line 270, in ?
main()
 File /Applications/mailman/bin/qrunner, line 230, in main
   qrunner.run()
  File /Applications/mailman/Mailman/Queue/Runner.py, line 87, in run
   self._cleanup()
 File /Applications/mailman/Mailman/Queue/BounceRunner.py, line 220, 
in _cleanup
BounceMixin._cleanup(self)
  File /Applications/mailman/Mailman/Queue/BounceRunner.py, line 132, 
in _cleanup
   self._register_bounces()
  File /Applications/mailman/Mailman/Queue/BounceRunner.py, line 120, 
in _register_bounces
mlist.registerBounce(addr, msg, day=day)
  File /Applications/mailman/Mailman/Bouncer.py, line 131, in 
registerBounce
time.strftime('%d-%b-%Y', day + (0,)*6))
ValueError: day of year out of range

Auditing the bounce log, I can see that this error causes the bounce score of 
bouncers
to be reset.

Has anyone seen anything like this?  I've checked the FAQ and the sourceforge 
bug
page, and even gone Googling looking for this problem.  So far, I've turned up 
nothing.

-- 
Thank you,

Heather Madrone [EMAIL PROTECTED]
http://www.madrone.com
--
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] bounce runner day of year out of range error

2005-03-18 Thread Mark Sapiro
Heather Madrone wrote:

I'm running Mailman 2.1.5 on Mac OSX 10.2.8 using Python 2.4 and exim
4.42.  I have the bounce threshold set to 3.0, but Mailman only rarely manages
to disable accounts that have been bouncing solidly for weeks.

snip

I've been watching the exim traffic.  About 20 addresses have been failing
solidly for the past 3 weeks, but Mailman has only disabled 8 of them.  Every
few days, I get the following message:

   Traceback (most recent call last):
 File /Applications/mailman/bin/qrunner, line 270, in ?
   main()
File /Applications/mailman/bin/qrunner, line 230, in main
  qrunner.run()
 File /Applications/mailman/Mailman/Queue/Runner.py, line 87, in run
  self._cleanup()
File /Applications/mailman/Mailman/Queue/BounceRunner.py, line 220, 
 in _cleanup
   BounceMixin._cleanup(self)
 File /Applications/mailman/Mailman/Queue/BounceRunner.py, line 132, 
 in _cleanup
  self._register_bounces()
 File /Applications/mailman/Mailman/Queue/BounceRunner.py, line 120, 
 in _register_bounces
   mlist.registerBounce(addr, msg, day=day)
 File /Applications/mailman/Mailman/Bouncer.py, line 131, in 
 registerBounce
   time.strftime('%d-%b-%Y', day + (0,)*6))
   ValueError: day of year out of range

I don't know what causes this error beyond the immediately obvious
ValueError, but I have an idea about bouncing users not being disabled.

Bounce processing was changed in 2.1.5. From the NEWS file -

- The bounce processor has been redesigned so that now when an
  address's bounce score reaches the threshold, that address will be
  sent a probe message.  Only if the probe bounces will the address
  be disabled.  The score is reset to zero when the probe is sent.
  Also, bounce events are now kept in an event file instead of in
  memory.  This should help contain the bloat of the BounceRunner.

  New supporting variables in Defaults.py: VERP_PROBE_FORMAT,
  VERP_PROBE_REGEXP

Check the 'bounce' log. The sending of a probe is logged. The question
is are probes being sent for all 20 or so addresses? If so, the
underlying problem may be that the VERP like probe address is not
being properly preserved and returned to the bounce processor when the
probe bounces.

If it turns out that this is the problem, I'm not sure what you can do
in 2.1.5, but 2.1.6 (in late beta) makes bounce probes optional and
off by default.

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

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

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


Re: [Mailman-Users] bounce runner day of year out of range error

2005-03-18 Thread Jim Tittsler
On Mar 19, 2005, at 07:27, Heather Madrone wrote:
I'm running Mailman 2.1.5 on Mac OSX 10.2.8 using Python 2.4 and exim
[...]
	  File /Applications/mailman/Mailman/Bouncer.py, line 131, in 
registerBounce
	time.strftime('%d-%b-%Y', day + (0,)*6))
	ValueError: day of year out of range
This error occurs because Python 2.4's strftime() checks its arguments 
more strictly than earlier versions.

Three options are:
  1) switch to the 2.1.6beta versions, where this has already been fixed
  2) change line 131 of Bouncer.py to be:
   time.strftime('%d-%b-%Y', day + (0,0,0,0,1,0)))
  3) use Python 2.3
--
Jim Tittsler http://www.OnJapan.net/  GPG: 0x01159DB6
Python Starship  http://Starship.Python.net/
Ringo MUG Tokyo  http://www.ringo.net/rss.html
--
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