Re: [Mailman-Users] Why do some get digests as a series of attachments?

2016-09-02 Thread Mark Sapiro
On 09/02/2016 11:23 PM, Richard Johnson wrote:
> Actually, my list is setup to send all digests in text format.  I was toying 
> with the idea of sending in MIME format. Maybe that would be better?


I assume you mean that Digest options -> mime_is_default_digest is set
to Plain, but that only sets the default for new subscribers. It's a
user option and any user can change her setting.

Also, if you change it to MIME, that only affects people who subscribe
after the change. It doesn't change any current members.


> But it sounds as if you're saying that a user can specify that they want MIME 
> instead of there configured version, somewhere in their personal config?


Yes. The user can set it on her options page - "Get MIME or Plain Text
Digests?" and the admin can set it for a user with the 'plain' checkbox
on the Membership Management... -> Membership List pages (unchecked = MIME)

I think MIME digests are better. They have several advantages IF (and
it's upper case IF on purpose) the user's mail client deals well with
the format. Mobile phone apps as a class are generally quite bad at
dealing with MIME digests as are some web mail apps.

Each user needs to decide for herself which is preferred based on the
client(s) she uses.

Personally, I set digest mode to MIME on those few lists I subscribe to
in digest form, and I just don't try to read them on my phone or just
read the TOC and maybe delete the digest as uninteresting. If I want to
read and possibly reply to a message in the digest, I use a real MUA on
a real computer.

-- 
Mark Sapiro The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan
--
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Why do some get digests as a series of attachments?

2016-09-02 Thread Richard Johnson
Actually, my list is setup to send all digests in text format.  I was toying 
with the idea of sending in MIME format. Maybe that would be better?

But it sounds as if you're saying that a user can specify that they want MIME 
instead of there configured version, somewhere in their personal config?


/raj
(sent from iPhone)


> On Sep 2, 2016, at 7:45 PM, Mark Sapiro  wrote:
> 
>> On 09/02/2016 06:48 PM, Richard Johnson wrote:
>> This is strange.  One of my list users gets digest messages as a series of 
>> attachments, while all other users receive digests as all text, with the 
>> messages one after the other.
>> 
>> The person who gets the attachments has a Cox.net address.  Maybe they're 
>> doing something to it?
> 
> 
> That has nothing to do with it. There are two digest formats.
> 
> Plain text is a digest with all non-plain text parts stored aside and
> replaced by links and flattened into a single plain text message.
> 
> MIME format is a multipart digest with each original message in its own
> sub-part.
> 
> Your user who gets 'attachments' has elected to receive MIME digests.
> You can see this on the user's options page or the admin membership list
> pages.
> 
> Whether a MIME digest is rendered with the message parts inline, only as
> attachments or not at all is a function of the mail client reading the
> message.
> 
> -- 
> Mark Sapiro The highway is for gamblers,
> San Francisco Bay Area, Californiabetter use your sense - B. Dylan
> --
> Mailman-Users mailing list Mailman-Users@python.org
> https://mail.python.org/mailman/listinfo/mailman-users
> Mailman FAQ: http://wiki.list.org/x/AgA3
> Security Policy: http://wiki.list.org/x/QIA9
> Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
> Unsubscribe: 
> https://mail.python.org/mailman/options/mailman-users/raj%40mischievous.us
--
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] digest frequency control

2016-09-02 Thread Matt Morgan
On Fri, Sep 2, 2016 at 2:56 PM, Mark Sapiro  wrote:

> On 09/02/2016 08:59 AM, Matt Morgan wrote:
> > I think I understand this but I'm hoping someone can help confirm I got
> it
> > right.
> >
> ...
> >
> > Do I have that all correct?
>
>
> Yes.
>
> Also, note that the --listname option to senddigests may be repeated to
> do multiple named lists.
>
> You could implement a --exceptlistname option in cron/senddigests. It
> wouldn't be hard. A patch is attached. I like it so much it will be in
> 2.1.24 .
>

Fantastic! Thanks.
--
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Why do some get digests as a series of attachments?

2016-09-02 Thread Mark Sapiro
On 09/02/2016 06:48 PM, Richard Johnson wrote:
> This is strange.  One of my list users gets digest messages as a series of 
> attachments, while all other users receive digests as all text, with the 
> messages one after the other.
> 
> The person who gets the attachments has a Cox.net address.  Maybe they're 
> doing something to it?


That has nothing to do with it. There are two digest formats.

Plain text is a digest with all non-plain text parts stored aside and
replaced by links and flattened into a single plain text message.

MIME format is a multipart digest with each original message in its own
sub-part.

Your user who gets 'attachments' has elected to receive MIME digests.
You can see this on the user's options page or the admin membership list
pages.

Whether a MIME digest is rendered with the message parts inline, only as
attachments or not at all is a function of the mail client reading the
message.

-- 
Mark Sapiro The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan
--
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Why do some get digests as a series of attachments?

2016-09-02 Thread Carl Zwanzig

On 9/2/2016 6:48 PM, Richard Johnson wrote:

This is strange.  One of my list users gets digest messages as a series
of attachments, while all other users receive digests as all text, with
the messages one after the other.

The person who gets the attachments has a Cox.net address.  Maybe they're
doing something to it?


Almost anything in the handling chain can mess with the format.  Could be 
that cox.net's web email doesn't understand digest format, but if the user 
is reading email via imap from cox it would be OK.


I think you need to look closer at how people are getting & reading their email.

z!
--
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


[Mailman-Users] Why do some get digests as a series of attachments?

2016-09-02 Thread Richard Johnson
This is strange.  One of my list users gets digest messages as a series of 
attachments, while all other users receive digests as all text, with the 
messages one after the other.

The person who gets the attachments has a Cox.net address.  Maybe they're doing 
something to it?


/raj
(sent from iPhone)

--
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Digest formatting--clickable TOC?

2016-09-02 Thread Mark Sapiro
On 09/02/2016 02:00 PM, Andrew Hodgson wrote:
> 
> I requested a similar feature a while ago:
> 
> https://mail.python.org/pipermail/mailman-users/2014-December/078192.html


And my responses at

and

still hold. Read the whole thread.

Note, this is quite doable in Mailman 3 as MM 3 messages contain an
Archived-At: header with a link to the archived message (this is not
possible to do in Mailman 2.1 for various technical reasons). You mite
consider submitting a feature request for this at
.

This is still tricky for 'plain' digests as by definition they don't
contain html and things like

https://lists.mailman3.org/archives/list/mailman-us...@mailman3.org/message/HQGWIKZIU6CLTO6TZAXKWB2PE7ZFTIYJ/";>lists.mailman3.org
web site. (Mark Sapiro)

render like that and not as an active

lists.mailman3.org web site. (Mark Sapiro)

link. and things like

lists.mailman3.org web site. (Mark Sapiro)


look ugly even if the MUA renders the URL as an active link.

OTOH, in a MIME format digest, the TOC could be a text/html part which
would work.

-- 
Mark Sapiro The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan
--
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Digest formatting--clickable TOC?

2016-09-02 Thread Andrew Hodgson
Hi,

I requested a similar feature a while ago:

https://mail.python.org/pipermail/mailman-users/2014-December/078192.html

I am still asked for this feature quite often.

Andrew.

-Original Message-
From: Mailman-Users 
[mailto:mailman-users-bounces+andrew=hodgsonfamily@python.org] On Behalf Of 
Matt Morgan
Sent: 02 September 2016 17:39
To: Mailman-Users@python.org
Subject: [Mailman-Users] Digest formatting--clickable TOC?

One of the lists I'm now running uses Mailman as an aid to generating a 
periodical email publication. People send in items for topics, and an editor 
grafts them into a single large message that goes out about twice a month. The 
eventual publication looks a lot like a mailman digest, and that's what I'm 
switching it to.

The single-most user-requested improvement to this publication is that they 
want clickable links in the Table of Contents that anchor down to the entries 
in the list.

I understand that mailman can do digests as a series of MIME attachments to the 
TOC email, one for each posting. I don't think that's going to work for this 
crowd, although I'm not sure.

And I understand that not all email clients support anchors in html-formatted 
messages. But has anybody done something like this (where a digest's TOC is 
clickable and links down to the contents)? Are there other options I'm not 
thinking about?

Thanks,
Matt
--
Mailman-Users mailing list Mailman-Users@python.org 
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: 
http://wiki.list.org/x/QIA9 Searchable Archives: 
http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/andrew%40hodgsonfamily.org
--
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] List is displaying subscriber in header

2016-09-02 Thread Mark Sapiro
On 09/02/2016 11:40 AM, Christian F Buser via Mailman-Users wrote:
> 
> A list (Mailman 2.1.21 on cPanel installation) is behaving strangely. In the 
> header of a list message, there appears an "Envelope-To:" header line, which 
> contains 200 (of the approximately 1000) subscribers. 
> 
> I did not find any setting which could be wront, and I think this behaviour 
> is new to that list. But as far as I remember, I did not change anything 
> recently. 


Your MTA is adding this header containing all the recipients in the
particular SMTP transaction that delivered this message from Mailman to
the MTA.

You need access to the installation to do anything about this. If this
is a hosted Mailman, you'll have to deal with the host.

There are two ways to fix this.

1) fix the MTA, probably exim in cPanel,
.

2) change Mailman to send only one recipient per transaction. This can
be accomplished in multiple ways:
  a) If personalize is available in Non-Digest options, set it to Yes.
  b) add
VERP_DELIVERY_INTERVAL = 1
 to mm_cfg.py
  c) add
SMTP_MAX_RCPTS = 1
 to mm_cfg.py

(I recommend b)

-- 
Mark Sapiro The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan
--
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] digest frequency control

2016-09-02 Thread Mark Sapiro
On 09/02/2016 08:59 AM, Matt Morgan wrote:
> I think I understand this but I'm hoping someone can help confirm I got it
> right.
> 
...
>
> Do I have that all correct?


Yes.

Also, note that the --listname option to senddigests may be repeated to
do multiple named lists.

You could implement a --exceptlistname option in cron/senddigests. It
wouldn't be hard. A patch is attached. I like it so much it will be in
2.1.24 .

-- 
Mark Sapiro The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan
=== modified file 'cron/senddigests'
--- cron/senddigests	2008-06-29 20:31:47 +
+++ cron/senddigests	2016-09-02 18:22:49 +
@@ -28,7 +28,12 @@
 -l listname
 --listname=listname
 Send the digest for the given list only, otherwise the digests for all
-lists are sent out.
+lists are sent out.  May be repeated to do multiple lists.
+
+-e listname
+--exceptlist listname
+Don't send the digest for the given list.  May be repeated to skip
+multiple lists.
 """
 
 import os
@@ -63,22 +68,31 @@
 
 def main():
 try:
-opts, args = getopt.getopt(sys.argv[1:], 'hl:', ['help', 'listname='])
+opts, args = getopt.getopt(sys.argv[1:], 'hl:e:',
+   ['help', 'listname=', 'exceptlist='])
 except getopt.error, msg:
 usage(1, msg)
 
 if args:
 usage(1)
 
+exceptlists = []
 listnames = []
 for opt, arg in opts:
 if opt in ('-h', '--help'):
 usage(0)
 elif opt in ('-l', '--listname'):
 listnames.append(arg)
+elif opt in ('-e', '--exceptlist'):
+exceptlists.append(arg)
 
 if not listnames:
 listnames = Utils.list_names()
+for listname in exceptlists:
+try:
+listnames.remove(listname)
+except ValueError:
+pass
 
 for listname in listnames:
 mlist = MailList.MailList(listname, lock=0)

--
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org

[Mailman-Users] List is displaying subscriber in header

2016-09-02 Thread Christian F Buser via Mailman-Users
Hi all 

A list (Mailman 2.1.21 on cPanel installation) is behaving strangely. In the 
header of a list message, there appears an "Envelope-To:" header line, which 
contains 200 (of the approximately 1000) subscribers. 

I did not find any setting which could be wront, and I think this behaviour is 
new to that list. But as far as I remember, I did not change anything recently. 

What is wrong here? 

Thank you, Christian 
-- 
Christian F. Buser, Hohle Gasse 6, CH-5507 Mellingen (Switzerland)  
Hilfe fuer Strassenkinder in Ghana: http://www.chance-for-children.org
--
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


[Mailman-Users] Digest formatting--clickable TOC?

2016-09-02 Thread Matt Morgan
One of the lists I'm now running uses Mailman as an aid to generating a
periodical email publication. People send in items for topics, and an
editor grafts them into a single large message that goes out about twice a
month. The eventual publication looks a lot like a mailman digest, and
that's what I'm switching it to.

The single-most user-requested improvement to this publication is that they
want clickable links in the Table of Contents that anchor down to the
entries in the list.

I understand that mailman can do digests as a series of MIME attachments to
the TOC email, one for each posting. I don't think that's going to work for
this crowd, although I'm not sure.

And I understand that not all email clients support anchors in
html-formatted messages. But has anybody done something like this (where a
digest's TOC is clickable and links down to the contents)? Are there other
options I'm not thinking about?

Thanks,
Matt
--
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


[Mailman-Users] digest frequency control

2016-09-02 Thread Matt Morgan
I think I understand this but I'm hoping someone can help confirm I got it
right.

1. In the regular digest options, directly controlling the frequency with
which a digest gets sent out isn't possible. It can sort of be hacked,
though, by turning off digest_send_periodic and turning on
digest_size_threshold. I.e., you can cause the digest not to go too
frequently by setting a size threshold that's higher than what you get in a
day or a week.

[Note: Clearly it wouldn't be exact, but this list only accepts moderated
postings, so we can also control when postings are allowed and when we hit
the KB threshold, that way.]

2. In order to actually control digest frequency directly, you'd have to
reduce the frequency with which cron/anacron runs senddigests.

3. But that will affect all your lists, so you have to use --listname to do
it one list at a time. Since there's nothing like --exceptlistname, I guess
I'd need to have a separate entry for senddigests in cron for every list
that supports digests.

Do I have that all correct?

Thanks!
Matt
--
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Clear list except 10 emails

2016-09-02 Thread Mark Sapiro
On 09/02/2016 04:47 AM, Daniel Ettore via Mailman-Users wrote:
> Hello. I need help to remove all users from a list , except 10 emails .
> remove_members -a LIST removes all and could not find an alternative.
> Suggestions ? Thank you Daniel


Put the 10 member addresses in a file and use it as input to sync_members.

-- 
Mark Sapiro The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan
--
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


[Mailman-Users] Clear list except 10 emails

2016-09-02 Thread Daniel Ettore via Mailman-Users
Hello. I need help to remove all users from a list , except 10 emails .
remove_members -a LIST removes all and could not find an alternative.
Suggestions ? Thank you Daniel

--
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org