Re: [Mailman-Users] [Mailman-Developers] Problem with format=flowed patch

2007-03-24 Thread Tokio Kikuchi
Mark Sapiro wrote:

> I don't think your suggestion is correct. What I am trying to do is get
> the format= and delsp= parameters from only the first text/plain part
> in the message. Often, this will be the only part in which case it
> doesn't matter.

Sorry that I misunderstood.  It was a little bit too early in the 
morning to start working. ;-) (6AM Japan)

I've almost done with this 'format=flowed' patch and others for 
Scrubber.py and Decorate.py for the trunk.  I'll commit them after 
adding some more test codes.

-- 
Tokio Kikuchi, [EMAIL PROTECTED]
http://weather.is.kochi-u.ac.jp/
--
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=show&file=faq01.027.htp


[Mailman-Users] how i begin?

2007-03-24 Thread orlando achury
please, hom i can begin in mailman

_
MSN Amor: busca tu ½ naranja http://latam.msn.com/amor/

--
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=show&file=faq01.027.htp


Re: [Mailman-Users] an alternative smtp server?

2007-03-24 Thread Zbigniew Szalbot
Hello,

>> Is it possible to specify
>> a LAN address of machine B so that mailman uses this machine for all of
>> its operations? Bounces and all other requests would come to machine A
>> anyway as this is defined at the router level.
>
>
> For outgoing SMTP, yes. Just set (for example)
>
>
> SMTPHOST = '192.168.0.5'

Thank you very much! That's very helpful. I will be able to delegate the
mailman job to machine B and won't have to worry about overloading it (due
to personalization) as it generally does almost nothing. :)

Warm regards,

-- 
Zbigniew Szalbot

--
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=show&file=faq01.027.htp


Re: [Mailman-Users] [Mailman-Developers] Problem with format=flowed patch

2007-03-24 Thread Mark Sapiro
Tokio Kikuchi wrote:
>
>I think the indent level of this part in Scrubber.py should be
>
>  if charset is None:
>  charset = part.get_content_charset(lcset)
>+format = part.get_param('format')
>+delsp = part.get_param('delsp')
>


Tokio,

Thanks for looking at this.

I don't think your suggestion is correct. What I am trying to do is get
the format= and delsp= parameters from only the first text/plain part
in the message. Often, this will be the only part in which case it
doesn't matter.

Consider however a message with a format=flowed text/plain 'body' and a
subsequent attached text/plain part perhaps without format=flowed. We
want to remember the format parameter from the first 'body' part and
not override it from the second text/plain part.

I recognize that there can always be a pathological case where it might
be more appropriate to get the parameters from a subsequent part, but
I think in general, the first text/plain part is the safest.

-- 
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=show&file=faq01.027.htp


Re: [Mailman-Users] [Mailman-Developers] Problem with format=flowed patch

2007-03-24 Thread Tokio Kikuchi
Hi Mark,

I was working this patch on the trunk.

I think the indent level of this part in Scrubber.py should be

  if charset is None:
  charset = part.get_content_charset(lcset)
+format = part.get_param('format')
+delsp = part.get_param('delsp')

Sorry if I misunderstand.

Mark Sapiro wrote:
> I have been working on a fix for the problem of Mailman's dropping
> format=flowed from Content-Type: headers. There is a bug report and a
> patch at
> .
> 
> The patch to Scrubber.py has just been revised (revised patch is
> attached to the above tracker item).
> 
> Scrubber would throw an exception when processing a message with no
> text/plain part. If you are using a prior version of this patch,
> please get the current version to avoid this problem.
> 


-- 
Tokio Kikuchi, [EMAIL PROTECTED]
http://weather.is.kochi-u.ac.jp/
--
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=show&file=faq01.027.htp


Re: [Mailman-Users] an alternative smtp server?

2007-03-24 Thread Mark Sapiro
Zbigniew Szalbot wrote:
>
>Is it possible to specify 
>a LAN address of machine B so that mailman uses this machine for all of
>its operations? Bounces and all other requests would come to machine A
>anyway as this is defined at the router level.


For outgoing SMTP, yes. Just set (for example)

SMTPHOST = '192.168.0.5'

in mm_cfg.py. You can also set

SMTPPORT = nn

if nn is other than 25.

-- 
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=show&file=faq01.027.htp


[Mailman-Users] an alternative smtp server?

2007-03-24 Thread Zbigniew Szalbot
Hello,

I have two machines on my LAN both with the same domain name. Mailman is
installed on machine A but for actual SMTP mailman work I would like to
use machine B (as machine A is a bit stressed with other tasks). I cannot
use the domain entered in the general settings for a list (because smtp
servers on both machines have the same domian). Is it possible to specify 
a LAN address of machine B so that mailman uses this machine for all of
its operations? Bounces and all other requests would come to machine A
anyway as this is defined at the router level.

Thank you very much in advance!

-- 
Zbigniew Szalbot

--
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=show&file=faq01.027.htp


Re: [Mailman-Users] owner/moderator requests not sent

2007-03-24 Thread Mark Sapiro
Paula Gray-Overtoom wrote:

>There could be an alias type problem.  If I send a message to
>[EMAIL PROTECTED] the message gets sent to the list
>owners, but if I send the message to [EMAIL PROTECTED] it
>doesn't get sent.


This may be an MTA/alias issue. The real question is what is the email
host name you want to use for your list. If it is
servername.domain.com, then your list and possibly your Mailman
installation is misconfigured.

To what domain are list posts addressed? [EMAIL PROTECTED]
or [EMAIL PROTECTED]

If they are sent to [EMAIL PROTECTED], and that works, what's
different in the MTA/aliases configuration between listname and
listname-owner?

If the list addresses are intended to be at servername.domain.com, then
the list's host_name attribute should be servername.domain.com. Also
probably DEFAULT_EMAIL_HOST in mm_cfg.py should be set to
'servername.domain.com', and possibly other things set in mm_cfg.py.

See
.
Don't overlook the section on "Existing versus new lists".

-- 
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=show&file=faq01.027.htp


Re: [Mailman-Users] owner/moderator requests not sent

2007-03-24 Thread Paula Gray-Overtoom
There could be an alias type problem.  If I send a message to
[EMAIL PROTECTED] the message gets sent to the list
owners, but if I send the message to [EMAIL PROTECTED] it
doesn't get sent.

When the messages aren't going through the MTA log entries are as
follows:

Mar 24 13:38:59 frost sendmail[7404]: l2OHcxQ0007402:
to=<[EMAIL PROTECTED]>, delay=00:00:00, xdelay=00:00:00,
mailer=esmtp, pri=231017, relay=mail.monroe.lib.in.us. [66.244.68.18],
dsn=2.0.0, stat=Sent (
<[EMAIL PROTECTED]> Queued mail for
delivery)
Mar 24 13:38:59 frost sendmail[7401]: l2OHcxAi007399:
to=<[EMAIL PROTECTED]>, delay=00:00:00, xdelay=00:00:00,
mailer=esmtp, pri=229229, relay=mail.monroe.lib.in.us. [66.244.68.18],
dsn=2.0.0, stat=Sent (
<[EMAIL PROTECTED]> Queued mail for
delivery)

Thanks,
Paula

~~~
Paula Gray-Overtoom
Bloomington, IN

 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Mark Sapiro
Sent: Saturday, March 24, 2007 1:35 PM
To: mailman-users@python.org
Subject: Re: [Mailman-Users] owner/moderator requests not sent

Paula Gray-Overtoom wrote:
>
>I am only getting the first two of the entries in the mailman smtp log.
>So, the resend to the actual owners isn't happening.


It seems there is some problem with delivery to the listname-owner
address. Perhaps an alias problem.

What happens if you email the listname-owner address directly?

What's in the MTA log for the mail to listname-owner?

-- 
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/pgrayove%40monroe.l
ib.in.us

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


Re: [Mailman-Users] owner/moderator requests not sent

2007-03-24 Thread Mark Sapiro
Paula Gray-Overtoom wrote:
>
>I am only getting the first two of the entries in the mailman smtp log.
>So, the resend to the actual owners isn't happening.


It seems there is some problem with delivery to the listname-owner
address. Perhaps an alias problem.

What happens if you email the listname-owner address directly?

What's in the MTA log for the mail to listname-owner?

-- 
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=show&file=faq01.027.htp


Re: [Mailman-Users] owner/moderator requests not sent

2007-03-24 Thread Paula Gray-Overtoom
I do have admin_immed_notify set to yes.

I am only getting the first two of the entries in the mailman smtp log.
So, the resend to the actual owners isn't happening. 

Thanks,
Paula

~~~
Paula Gray-Overtoom
Bloomington, IN


-Original Message-
From: Mark Sapiro [mailto:[EMAIL PROTECTED] 
Sent: Saturday, March 24, 2007 1:09 PM
To: Paula Gray-Overtoom; mailman-users@python.org
Subject: Re: [Mailman-Users] owner/moderator requests not sent

Paula Gray-Overtoom wrote:

>I have mailman installed with a RedHat rpm, version
>mailman-2.1.5.1-34.rhel4.5  Everything works great except that the list
>owners or moderators do not get any requests when postings are held.
>Posters get the message that the posting is waiting for approval.  Any
>suggestions on what might be causing this problem would be most
>appreciated.


Is admin_immed_notify set to Yes (under Notifications on the General
Options page)?

If so, do you see three entries in Mailman's smtp log similar to the
following from the time the message was held.

>Mar 24 08:50:56 2007 (1570)
<[EMAIL PROTECTED]> smtp for 1 recips,
completed in 0.034 seconds
>Mar 24 08:50:56 2007 (1570)
<[EMAIL PROTECTED]> smtp for 1 recips,
completed in 0.062 seconds
>Mar 24 08:51:10 2007 (1570)
<[EMAIL PROTECTED]> smtp for n recips,
completed in 0.067 seconds


The first of these is the notice to the poster, the second is the
notice to [EMAIL PROTECTED] and the third is the resend of
the [EMAIL PROTECTED] message to the actual owners and
moderators.

Note that all three have Mailman gererated Message-Ids and that the 2nd
and third have the same Message-Id which differs from the first only
in that the first numeric field is incremented by 1.

-- 
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=show&file=faq01.027.htp


Re: [Mailman-Users] owner/moderator requests not sent

2007-03-24 Thread Mark Sapiro
Paula Gray-Overtoom wrote:

>I have mailman installed with a RedHat rpm, version
>mailman-2.1.5.1-34.rhel4.5  Everything works great except that the list
>owners or moderators do not get any requests when postings are held.
>Posters get the message that the posting is waiting for approval.  Any
>suggestions on what might be causing this problem would be most
>appreciated.


Is admin_immed_notify set to Yes (under Notifications on the General
Options page)?

If so, do you see three entries in Mailman's smtp log similar to the
following from the time the message was held.

>Mar 24 08:50:56 2007 (1570) <[EMAIL PROTECTED]> smtp for 1 recips, completed 
>in 0.034 seconds
>Mar 24 08:50:56 2007 (1570) <[EMAIL PROTECTED]> smtp for 1 recips, completed 
>in 0.062 seconds
>Mar 24 08:51:10 2007 (1570) <[EMAIL PROTECTED]> smtp for n recips, completed 
>in 0.067 seconds


The first of these is the notice to the poster, the second is the
notice to [EMAIL PROTECTED] and the third is the resend of
the [EMAIL PROTECTED] message to the actual owners and
moderators.

Note that all three have Mailman gererated Message-Ids and that the 2nd
and third have the same Message-Id which differs from the first only
in that the first numeric field is incremented by 1.

-- 
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=show&file=faq01.027.htp


[Mailman-Users] owner/moderator requests not sent

2007-03-24 Thread Paula Gray-Overtoom
I have mailman installed with a RedHat rpm, version
mailman-2.1.5.1-34.rhel4.5  Everything works great except that the list
owners or moderators do not get any requests when postings are held.
Posters get the message that the posting is waiting for approval.  Any
suggestions on what might be causing this problem would be most
appreciated.

Thanks.

~~~
Paula 
 

--
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=show&file=faq01.027.htp


Re: [Mailman-Users] Unsubscribe links in footers and passwords

2007-03-24 Thread Mark Sapiro
David Beaumont wrote:

>Firstly is there a way to globally remove passwords for all users on a list.
>They are a pain, users forget them and I trust our users not to need one.


No, you can't remove passwords, but you can set everyone's password to,
for example, a single letter.

You would do this with withlist. The following is an example of a
withlist session that would set everyone's password to the letter p.

bin/withlist -l example
Loading list example (locked)
The variable `m' is the example MailList instance
>>> for member in m.getMembers():
... m.setMemberPassword(member, 'p')
...   (at this prompt, type  only)
>>>m.Save()
>>>   (at this prompt, enter control-D)
Unlocking (but not saving) list: example
Finalizing


Note that there is a more elaborate reset_pw.py withlist script in
Mailman's bin directory. It gives everyone a new, random password. You
could modify it by changing the line

randompw = Utils.MakeRandomPassword()

to for example

randompw = 'p'

and run it via

bin/withlist -l -r reset_pw listname


>Secondly and alternatively I notice at the foot of each of the mailman
>developers emails is an 'unsubscribe' link that takes you to your own
>details page in mailman
>
>Eg "Unsubscribe:
>http://mail.python.org/mailman/options/mailman-users/david%40johmar.com";
>
>How do you get the individuals email address to be included at the end of
>that link?


Set

OWNERS_CAN_ENABLE_PERSONALIZATION = Yes

in mm_cfg.py

Then in the admin interface set Non-digest options->personalize to Yes
and follow the (Details for personalize) link to see the additional
substitutions that are available when the list is personalized.

-- 
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=show&file=faq01.027.htp


[Mailman-Users] Unsubscribe links in footers and passwords

2007-03-24 Thread David Beaumont
Firstly is there a way to globally remove passwords for all users on a list.
They are a pain, users forget them and I trust our users not to need one.

Secondly and alternatively I notice at the foot of each of the mailman
developers emails is an 'unsubscribe' link that takes you to your own
details page in mailman

Eg "Unsubscribe:
http://mail.python.org/mailman/options/mailman-users/david%40johmar.com";

How do you get the individuals email address to be included at the end of
that link?

Thanks

David

--
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=show&file=faq01.027.htp