[Mailman-Users] Messages don't getting distributed (2.1.6)

2005-07-01 Thread Fernando Schapachnik
Hi,
I have a 2.1.6 installation with many mailing lists. In one of them 
messages are not getting distributed. Looking through the archives, it seems 
that I might be hitting a malformed mime message 
(http://msgs.securepoint.com/cgi-bin/get/mailman-users-0506/48.html). That post 
says that the problem is corrected in 2.1.6, so I'm not sure it is the same 
(I'm using python-2.3.4).

What I see is:
--- LOG ---

Jun 30 11:34:33 2005 (86236) Uncaught runner exception: 'ascii' codec can't 
decode byte 0xf3 in position 163: ordinal not in range(128)
Jun 30 11:34:33 2005 (86236) Traceback (most recent call last):
  File /usr/local/mailman/Mailman/Queue/Runner.py, line 111, in _oneloop
self._onefile(msg, msgdata)
  File /usr/local/mailman/Mailman/Queue/Runner.py, line 167, in _onefile
keepqueued = self._dispose(mlist, msg, msgdata)
  File /usr/local/mailman/Mailman/Queue/OutgoingRunner.py, line 73, in 
_dispose
self._func(mlist, msg, msgdata)
  File /usr/local/mailman/Mailman/Handlers/SMTPDirect.py, line 131, in process
Decorate.process(mlist, msg, msgdata)
  File /usr/local/mailman/Mailman/Handlers/Decorate.py, line 98, in process
uheader = unicode(header, lcset)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xf3 in position 163: 
ordinal not in range(128)

Jun 30 11:34:33 2005 (86236) SHUNTING: 
1120142006.933392+7403da4cb4ccf9c0434b639a8b249c8b942c90f2A

--- LOG ---

The message looks like:

--- MSG ---
From: 
To: LIST
Subject: SUBJECT
Date: Thu, 30 Jun 2005 11:33:03 -0300
User-Agent: KMail/1.6.2
MIME-Version: 1.0
Content-Disposition: inline
Organization: XXX
Content-Type: text/plain;
  charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
Message-Id: [EMAIL PROTECTED]

English text, except for the portuguese words:
atualização bibliográfica saudações
--- MSG ---

Any ideas?

Thanks!


Fernando P. Schapachnik
[EMAIL PROTECTED]
--
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] Messages don't getting distributed (2.1.6)

2005-07-01 Thread Fernando Schapachnik
En un mensaje anterior, Mark Sapiro escribió:
 It appears that this list has a header defined (msg_header) and that
 header contains the 0xf3 character (small letter O with acute accent).

Great, will try, thanks. Aren't latin1 chars supposed to be used in headers? I 
was under the impression that they were legal there.

Thanks again.

Fernando P. Schapachnik
[EMAIL PROTECTED]
--
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] footer (fwd)

2003-02-07 Thread Fernando Schapachnik
After asking I found it my self.

The very withlist script that sets the value adds the field.

Thanks for all the help.

I'll post the results when I'm done, so others can use it if desired.

Regards.


En un mensaje anterior, Fernando Schapachnik escribió:
 Remember the thread about getting external footers? Here is where I
 got stuck. The only remaining issue is how to add an attribute to
 existing mailing lists.
 
 Any ideas?

--
Mailman-Users mailing list
[EMAIL PROTECTED]
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/

This message was sent to: archive@jab.org
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org



Re: [Mailman-Users] footer (fwd)

2003-02-06 Thread Fernando Schapachnik
Remember the thread about getting external footers? Here is where I
got stuck. The only remaining issue is how to add an attribute to
existing mailing lists.

Any ideas?

Thanks!

En un mensaje anterior, Tom Neff escribió:
 If you have the ability to patch your Mailman installation, you could 
 add a new variable name (like mlist.fortune) to the ALLOWEDS array in 
 Mailman/Gui/Digest.py and then use the 'withlist' command to set this 
 variable to a new value every so often, and include it in the msg_footer 

So I did it. I also added:

self.external_footer = ''

in MailList.py:InitVars()

and

d['external_footer'] = mlist.external_footer

in Handlers/Decorate.py:process() (line 38).

I can set the footer with 'withlist', but the problem is that
previous lists don't have the external_footer field so they blow
with:

  File /usr/local/mailman/Mailman/MailList.py, line 130, in __getattr__
raise AttributeError, name
AttributeError: external_footer

How do I add the new attribute to the existing lists?

Thanks!

Fernando P. Schapachnik
[EMAIL PROTECTED]

--
Mailman-Users mailing list
[EMAIL PROTECTED]
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/

This message was sent to: archive@jab.org
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org



Re: [Mailman-Users] footer

2003-02-01 Thread Fernando Schapachnik
En un mensaje anterior, Tom Neff escribió:
 If you have the ability to patch your Mailman installation, you could 
 add a new variable name (like mlist.fortune) to the ALLOWEDS array in 
 Mailman/Gui/Digest.py and then use the 'withlist' command to set this 
 variable to a new value every so often, and include it in the msg_footer 

So I did it. I also added:

self.external_footer = ''

in MailList.py:InitVars()

and

d['external_footer'] = mlist.external_footer

in Handlers/Decorate.py:process() (line 38).

I can set the footer with 'withlist', but the problem is that
previous lists don't have the external_footer field so they blow
with:

  File /usr/local/mailman/Mailman/MailList.py, line 130, in __getattr__
raise AttributeError, name
AttributeError: external_footer

How do I add the new attribute to the existing lists?

Thanks!

Fernando P. Schapachnik
[EMAIL PROTECTED]

--
Mailman-Users mailing list
[EMAIL PROTECTED]
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/

This message was sent to: archive@jab.org
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org



Re: [Mailman-Users] footer

2003-01-31 Thread Fernando Schapachnik
En un mensaje anterior, Jon Carnes escribió:
 Forgive my lack of exact language.  To be more precise, you can turn on
 personalization for a list using the Web-Admin. Once you do that certain
 other features become available and you can then edit the Footer (using the
 Web-Admin) and put in variables that will be recognized and replaced by
 Mailman with things like the persons email address, the list name, the admin
 address, etc.  There is no need to know anything except the names of the
 variables to use in the footer.

Sorry to be insistant, but this is not what I need. I don't need a different
footer for each subscriber. I need a different footer for each post, but
the same to all subscribers.

I realize that I gain some extra footer variables if I turn personalization on,
but fail to see how any of them relate to including the output from an external
commands. Think about including the fortune output in the footer, for example.

Thanks again!

Fernando P. Schapachnik
[EMAIL PROTECTED]

--
Mailman-Users mailing list
[EMAIL PROTECTED]
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/

This message was sent to: archive@jab.org
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org



Re: [Mailman-Users] footer

2003-01-31 Thread Fernando Schapachnik
En un mensaje anterior, Bobby and Denise escribió:
 Forgive me for the simplicity of this suggestion, but if you want to include
 the same footer in a given post to all subscribers, couldn't you simply
 include the footer at the bottom of your post content?
 
 Sorry if I'm misunderstanding your needs.

Is the same for all, but varies in each post.

Regards.

Fernando P. Schapachnik
[EMAIL PROTECTED]

--
Mailman-Users mailing list
[EMAIL PROTECTED]
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/

This message was sent to: archive@jab.org
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org



Re: [Mailman-Users] footer

2003-01-31 Thread Fernando Schapachnik
En un mensaje anterior, Simon White escribió:
  I realize that I gain some extra footer variables if I turn personalization on,
  but fail to see how any of them relate to including the output from an external
  commands. Think about including the fortune output in the footer, for example.
 
 Put a wrapper around the aliases, for example:
 
 [EMAIL PROTECTED]  |/usr/bin/mywrapper|/home/mailman/mail/mailman post 
list-name
 
 Then the script mywrapper could be like this:
 
 #!/bin/bash
 while read line
 do
 echo $line
 done
 
 fortune=`/usr/games/fortune`
 
 echo -- 
 echo $fortune

Thanks for your idea an script. I've allready thought of that, but, as you mentioned,
it is only good for plain text post, but breaks MIME ones, so it is not good enough.

Thanks anyway!

Fernando P. Schapachnik
[EMAIL PROTECTED]

--
Mailman-Users mailing list
[EMAIL PROTECTED]
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/

This message was sent to: archive@jab.org
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org



Re: [Mailman-Users] footer

2003-01-31 Thread Fernando Schapachnik
En un mensaje anterior, Tom Neff escribió:
 If you have the ability to patch your Mailman installation, you could add a 
 new variable name (like mlist.fortune) to the ALLOWEDS array in 
 Mailman/Gui/Digest.py and then use the 'withlist' command to set this 
 variable to a new value every so often, and include it in the msg_footer 
 field in your admin interface.  Or you could do a more direct  brutal 

This is good enough for me. I will look into it. Also, I can call the
set-footer program from aliases, so it is fired everytime somebody mails
the list!

If I come up with something tidy, I like to contrib it back. What is the
standard way to do that?

Thanks!

Fernando P. Schapachnik
[EMAIL PROTECTED]

--
Mailman-Users mailing list
[EMAIL PROTECTED]
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/

This message was sent to: archive@jab.org
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org



Re: [Mailman-Users] footer

2003-01-30 Thread Fernando Schapachnik
En un mensaje anterior, Jon Carnes escribió:
 You can edit the footer information directly via the Web-admin.

Is there a way to include external commands output in the footer?

Thanks!

Fernando Schapachnik
[EMAIL PROTECTED]


--
Mailman-Users mailing list
[EMAIL PROTECTED]
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/

This message was sent to: archive@jab.org
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org



Re: [Mailman-Users] footer

2003-01-30 Thread Fernando Schapachnik
En un mensaje anterior, Jon Carnes escribió:
 It's Open Source - so there is always a way :-)

Without hacking the source, I mean :-)

 
 In this case Barry made it easy for you. If you turn on personalization
 then you can include certain elements in the footer (as is denoted by
 the messages from thi list which indicate your individual email address)

But I mean, is there a standard way? Something like `command` maybe?
(I'm not a python guy, so maybe I have to do some research in that
direction.)

TIA!



Fernando P. Schapachnik
[EMAIL PROTECTED]


--
Mailman-Users mailing list
[EMAIL PROTECTED]
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/

This message was sent to: archive@jab.org
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org



[Mailman-Users] Two questions: external headers and moderation

2003-01-25 Thread Fernando Schapachnik
Hi,
First of all forgive if this message is inappropiate for the
charter (too technical). Is my first post, and I haven't found the
answers in the archive.

To the point:

a) I have a 'sponsored' list and need to include some random footers
in the posts. Is there a way to include external commands' output
there?

b) Some of my moderated lists have quite a lot of traffic, but most
of the posts turn out to be Ok. I though email based moderation would
ease things on the moderator. It turns out that the confirm/deny
message comes as a MIME attachment and his MUA (Kmail, BTW) treats it
as 'read-only', so he can't reply to it. To make things worst, Kmail
wouldn't allow him to cutpaste the Subject line of the attachment
also... :( I know it is a MUA's bug, but I'm trying to find a
workaround to it. Is there some way to have this info in the message
body or something?

Also, I was expecting to have some approve/deny mechanism that
wouldn't involve sending the password in clear text. Is this planned
for some future release?

Thanks in advance for any help.

Fernando P. Schapachnik
[EMAIL PROTECTED]

--
Mailman-Users mailing list
[EMAIL PROTECTED]
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/

This message was sent to: archive@jab.org
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org