[Mailman-Developers] Injection duplicate removal

2003-07-11 Thread Nigel Metheringham
Occasionally a subscriber on a list has some mail problem which results
in multiple copies being sent out to the list.  Now this is annoying
when it happens to a personal address, when a list address gets bombed
in this way its seriously annoying - and in some cases has been a real
problem for the originator who gets 1000's of messages complaining about
the multiple sendings :-)

Would it be advantageous to have a duplicate filter within Mailman which
maintains a database of the last n messages sent, holding the sender,
subject and a body hash.  Duplicates could then be bounced before list
injection.

This is working round someone elses set of bugs, but could be a useful
list defence mechanism.  However it will not solve the looping mail
problem where a mail gets bigger each time round as something is
prepended/appended to it.

Nigel.

-- 
[ Nigel Metheringham   [EMAIL PROTECTED] ]
[ - Comments in this message are my own and not ITO opinion/policy - ]


___
Mailman-Developers mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-developers


Re: [Mailman-Developers] Storing additional user data

2003-07-11 Thread Chris Boulter
On Thu 2003-07-10 15:21:44 -0400, Barry Warsaw wrote:
 On Thu, 2003-07-10 at 15:12, David Birnbaum wrote:
  It's easy enough to add members to the list and remove them from an
  external source, but it would be really nice if we could have Mailman call
  a program of our choice, with some arguments/environment variable/STDIN
  whenver it reacts to a bounce or something similar like that, passing in
  the relevant information about which email address is being affected and
  what's being done to it.
 
 Ug.  I think forking is too expensive.  What I could imagine would be an
 XMLRPC backend against which you could write a server in your language
 of choice.  Now, whether XMLRPC is more efficient than fork/popen/and
 friends, I don't know, but at least you won't have to worry about funny
 shell escapes and other nonsense.

An XML/SOAP-like interface would be nice!

Listserv supports something it calls 'list exits', which are programs called
in response to significant happenings (a bit of an old and crufty mechanism,
but better than nothing). Their manual documents the 'exit points' they
support. They all look quite obvious, but it might be of some use if
something similar is being planned for Mailman3. Section 5.2 of their
manual:
http://www.lsoft.com/manuals/1.8e/developer/developer.pdf

-- 
Write friendlier email : http://www.math.fu-berlin.de/~guckes/mail/edit.html
Certify your signature : http://sig.jellybaby.net/   [101f42d9ex623]

___
Mailman-Developers mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-developers


Fw: [Mailman-Developers] Archive problem

2003-07-11 Thread Marco Antonio Reis Henriques
Hi,

I solved that problem. The interesting thing about this problem was that the
first, second and third messages didn't appear in the archive html
interface, only the following messages (forth, ...). Thanks for anyone that
didn't help me. :-)

Cheers,

Marco


- Original Message - 
From: Marco Antonio Reis Henriques [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Wednesday, July 09, 2003 9:44 AM
Subject: Fw: [Mailman-Developers] Archive problem


 Hi,

 I'm writing from Brazil and I need some help from you. I'm still
having
 problems when my list receives the first, second and third messages that
 doesn't shown in html archive interface, but the following messages are
ok.
 I'm using Python 2.2.2 and Mailman 2.1 on a NetBSD 1.6 machine.  I see in
my
 error log file the lines  below for the first, second and third messages
 received by my list:

  Jul 07 09:42:52 2003 (23058) Uncaught runner exception: unsupported
format
 character '(' (0x28) at index 2
 Jul 07 09:42:52 2003 (23058) Traceback (most recent call last):
 File /usr/local/mailman/Mailman/Queue/Runner.py, line 105, in _oneloop
 self._onefile(msg, msgdata)
 File /usr/local/mailman/Mailman/Queue/Runner.py, line 155, in _onefile
 keepqueued = self._dispose(mlist, msg, msgdata)
 File /usr/local/mailman/Mailman/Queue/ArchRunner.py, line 73, in
_dispose
 mlist.ArchiveMail(msg)
 File /usr/local/mailman/Mailman/Archiver/Archiver.py, line 207, in
 ArchiveMail h.close()
 File /usr/local/mailman/Mailman/Archiver/pipermail.py, line 306, in
close
 self.write_TOC()
 File /usr/local/mailman/Mailman/Archiver/HyperArch.py, line 1008, in
 write_TOC toc.write(self.html_TOC())
 File /usr/local/mailman/Mailman/Archiver/HyperArch.py, line 701, in
 html_TOC accum.append(self.html_TOC_entry(a))
 File /usr/local/mailman/Mailman/Archiver/HyperArch.py, line 732, in
 html_TOC_entry textlink = templ % {
 File /usr/local/mailman/Mailman/Archiver/HyperArch.py, line 118, in
sizeof
 out = _(' %(size)i bytes ')
 File /usr/local/mailman/Mailman/i18n.py, line 78, in _ return
 _translation.gettext(s) % dict ValueError: unsupported format character
'('
 (0x28) at index 2
 Jul 07 09:42:52 2003 (23058) SHUNTING:
 1057581770.414556+d6c1ae52a492b811c605bafb6607164b0261267e


  Hi ALL,
 
  I'm using Python 2.2.2 and Mailman 2.1 on a NetBSD 1.6
  machine.
 
  I´m having trouble with Archive. My first message to
  my list is saved in
  /usr/local/mailman/archives/private/teste-l/2003-July.txt,
  the messages are still been send but no are save. And,
  my index.html file in
  /usr/local/mailman/archives/private/teste-l/ is empty.
  I see in my error log file the lines below:
 
  Jul 07 09:42:52 2003 (23058) Uncaught runner
  exception: unsupported format character '(' (0x28) at
  index 2
  Jul 07 09:42:52 2003 (23058) Traceback (most recent
  call last):
File /usr/local/mailman/Mailman/Queue/Runner.py,
  line 105, in _oneloop
  self._onefile(msg, msgdata)
File /usr/local/mailman/Mailman/Queue/Runner.py,
  line 155, in _onefile
  keepqueued = self._dispose(mlist, msg, msgdata)
File
  /usr/local/mailman/Mailman/Queue/ArchRunner.py, line
  73, in _dispose
  mlist.ArchiveMail(msg)
File
  /usr/local/mailman/Mailman/Archiver/Archiver.py,
  line 207, in ArchiveMail
  h.close()
File
  /usr/local/mailman/Mailman/Archiver/pipermail.py,
  line 306, in close
  self.write_TOC()
File
  /usr/local/mailman/Mailman/Archiver/HyperArch.py,
  line 1008, in write_TOC
  toc.write(self.html_TOC())
File
  /usr/local/mailman/Mailman/Archiver/HyperArch.py,
  line 701, in html_TOC
  accum.append(self.html_TOC_entry(a))
File
  /usr/local/mailman/Mailman/Archiver/HyperArch.py,
  line 732, in html_TOC_entry
  textlink = templ % {
File
  /usr/local/mailman/Mailman/Archiver/HyperArch.py,
  line 118, in sizeof
  out = _(' %(size)i bytes ')
File /usr/local/mailman/Mailman/i18n.py, line 78,
  in _
  return _translation.gettext(s) % dict
  ValueError: unsupported format character '(' (0x28) at
  index 2
 
  Jul 07 09:42:52 2003 (23058) SHUNTING:
  1057581770.414556+d6c1ae52a492b811c605bafb6607164b0261267e
 
 
  Someone could help me ?!?
 
  Cheers,
 
  Marco
 
 
 
  ___
  Yahoo! Mail
  Mais espaço, mais segurança e gratuito: caixa postal de 6MB, antivírus,
 proteção contra spam.
  http://br.mail.yahoo.com/
 
  ___
  Mailman-Developers mailing list
  [EMAIL PROTECTED]
  http://mail.python.org/mailman/listinfo/mailman-developers


 ___
 Mailman-Developers mailing list
 [EMAIL PROTECTED]
 http://mail.python.org/mailman/listinfo/mailman-developers


___
Mailman-Developers mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-developers