Re: [Mailman-Users] mails without MIME delimiter break when sent through mailman

2013-05-17 Thread Jan Lausch
Hi all,

thanks for your help, it is much appreciated.

Mark wrote:
 This is a pre-MIME uuencoded attachment.

Wow - ancient indeed. Must have been around the time i played text-based 
adventures in my local mailbox here. Whoops, memories coming up :-)


 However, I don't understand why adding msg_footer to the body would
 break the mail. Mailman should not be changing anything in the body
 between the begin and end delimiters so the uuencoded data chould be intact.


And here Stephen is completely correct in assuming:

 I would guess that some recipient MUA readded uuencode support only as
 a bug fix without really thinking about what they were doing, and it's
 only supported at the end of a message in the MIME trailer.


Mailman doesn't change anything in the body as such, however I get reports from 
multiple users that their MUAs do not show the picture as an attachment if 
there is a MIME object behind.
At least the following MUAs seem to be affected:
- Thunderbird 17.0.4
- Outlook 11
- Outlook 14

Outlook 14 (= MS Office 2010, if I remember correctly) is also the one 
producing the uuencoding.
Google revealed that this seems to be a known issue and does indeed happen with 
attachments to plaintext-mails if the respective switch in outlook is set.

So I will have that user correct his setting and all should be fine then.

The fact that this did not happen before migrating to the current mailman 
version could (in this light) be due to a possible re-installation or user 
clicking around in outlook stupidly.

That should solve my problem, thanks very much for your help and have a great 
weekend.

Jan

P.S.:

 Yes, msg_footer can be empty and Mailman won't add anything.
 N.B. IIRC, it has to be *empty*, not blank.  Make sure there's no
 remnant of whitespace there, either.

Of course :-)
--
Mailman-Users mailing list Mailman-Users@python.org
http://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: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Gmail RFC 2822

2013-05-17 Thread Barry S. Finkel

On 5/15/2013 10:45 AM, Dave Jones wrote, in part:

I am not sure the best place to solve this problem but I will start with
this list since the problem is impacting a heavy traffic mailman listserv.


Since Mark did not respond to this, I will.  Mailman is not listserv.
Listserv is a registered trademark of L-soft, and is one of a
number of Mailing List Management software packages available.
Mailman is another MLM software package.

(I first met the founder of L-soft when he was still a student in
Paris.)
--Barry Finkel
--
Mailman-Users mailing list Mailman-Users@python.org
http://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: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


[Mailman-Users] moving a mailing list to a new subdomain

2013-05-17 Thread Matthew Needham

I have a mailman install under cPanel, and I need to move my lists from 
listn...@bigdata.org to listn...@lists.bigdata.org. I've read quite a few 
webpages about how to move lists and rename lists, and I've done a lot of 
testing. I feel like I'm very close to getting this to work. The only problem 
that remains is scrubbed attachments.

I've followed the directions at 
http://wiki.list.org/pages/viewpage.action?pageId=4030617, and while it says 
that links to scrubbed attachments [that] point to the oldlist can be fixed 
with bin/arch --wipe newlist, this doesn't work for me. the command completes 
without error, but when I look at an archived message, the I still see URL: 
http://mail.bigdata.org/mailman/private/listname_bigdata.org/attachments/20130513/5d587194/attachment.obj


I have two questions. 

1. For the situation I described, are the instructions on that FAQ (moving the 
files) the ones I should be following?

2. Should the arch --wipe command really be fixing the links to the scrubbed 
attachments? I also tried renaming the list  from list1 to list2 without 
changing the domain, and that didn't help. It seems like it should be easy 
enough change them manually, but I'd rather use whatever mechanism Mailman 
provides.


Thanks.


-- 

Matthew Needham

The HDF Group
1800 South Oak Street, Suite 203
Champaign, IL 61820
 
217-531-6110
mneed...@hdfgroup.org

--
Mailman-Users mailing list Mailman-Users@python.org
http://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: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


[Mailman-Users] Python remote urllib.request - mailman subscription

2013-05-17 Thread Kip Warner
Hey list,

I'm not sure if anyone has done this before (probably), but I figured
I'd run my solution by those more knowledgeable of the inner workings of
GNU Mailman. 

My Python 3 / PyGI / Gtk+ application, among other things, prompts a
user for their name, email, and password, and then submits an http POST
request to a hard coded remote GNU Mailman server. So far, the code
appears to work and I'll request a peer review by anyone kind enough:

  http://rod.gs/Cbq

One potential concern I've found is that it is difficult to machine
parse the server response to reliably distinguish a successful
subscription from a failure. A successful subscription returns an http
code 200, but so do many failed ones (e.g. bad formatted email address
is still code 200). 

The most reliable brute force method I could come up with was to check
the message body of the returned HTML document for the substring Your
subscription request has been received. Great, except since Mailman is
i18n capable, its gettext could return something semantically
equivalent, but obviously worded different if the locale is changed. 

However, since the server I am submitting the request to will probably
always use the English user interface, this probably won't be an issue,
but is still inelegant and I'd like to solve it. Moreover, even if it
remains in English, but perhaps the string changes anyways when Mailman
is upgraded, then it is a problem again.

Does anyone have any suggestions or other feedback they'd like to share
or propose a better solution?

-- 
Kip Warner -- Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com


signature.asc
Description: This is a digitally signed message part
--
Mailman-Users mailing list Mailman-Users@python.org
http://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: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Re: [Mailman-Users] moving a mailing list to a new subdomain

2013-05-17 Thread Matthew Needham
An update...

On May 16, 2013, at 14:48 PM, Matthew Needham mneed...@hdfgroup.org wrote:

 I have a mailman install under cPanel, and I need to move my lists from 
 listn...@bigdata.org to listn...@lists.bigdata.org. I've read quite a few 
 webpages about how to move lists and rename lists, and I've done a lot of 
 testing. I feel like I'm very close to getting this to work. The only problem 
 that remains is scrubbed attachments.
 
 I've followed the directions at 
 http://wiki.list.org/pages/viewpage.action?pageId=4030617, and while it says 
 that links to scrubbed attachments [that] point to the oldlist can be fixed 
 with bin/arch --wipe newlist, this doesn't work for me. the command 
 completes without error, but when I look at an archived message, the I still 
 see URL: 
 http://mail.bigdata.org/mailman/private/listname_bigdata.org/attachments/20130513/5d587194/attachment.obj
 
 
 I have two questions. 
 
 1. For the situation I described, are the instructions on that FAQ (moving 
 the files) the ones I should be following?
 
 2. Should the arch --wipe command really be fixing the links to the scrubbed 
 attachments? I also tried renaming the list  from list1 to list2 without 
 changing the domain, and that didn't help. It seems like it should be easy 
 enough change them manually, but I'd rather use whatever mechanism Mailman 
 provides.


The URL in the archives is updated for attachments that were received when 
scrubbing is OFF. For attachments that were received when scrubbing is ON, the 
URL is not rewritten and still points to the old list.

Incidentally, message headers report that this is Mailman 2.1.15.



Thanks.


-- 

Matthew Needham

The HDF Group
1800 South Oak Street, Suite 203
Champaign, IL 61820
 
217-531-6110
mneed...@hdfgroup.org

--
Mailman-Users mailing list Mailman-Users@python.org
http://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: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] moving a mailing list to a new subdomain

2013-05-17 Thread Mark Sapiro
On 05/17/2013 08:45 AM, Matthew Needham wrote:
 An update...
 
 On May 16, 2013, at 14:48 PM, Matthew Needham mneed...@hdfgroup.org wrote:
 
 1. For the situation I described, are the instructions on that FAQ (moving 
 the files) the ones I should be following?


They are as good as any.


 2. Should the arch --wipe command really be fixing the links to the scrubbed 
 attachments? I also tried renaming the list  from list1 to list2 without 
 changing the domain, and that didn't help. It seems like it should be easy 
 enough change them manually, but I'd rather use whatever mechanism Mailman 
 provides.
 
 
 The URL in the archives is updated for attachments that were received when 
 scrubbing is OFF. For attachments that were received when scrubbing is ON, 
 the URL is not rewritten and still points to the old list.


The issue here is that bin/arch --wipe will fix the links to attachments
scrubbed during the archiving process. However, for attachments scrubbed
during incoming message processing because scrub_nondigest is Yes, the
situation is different.

The attachment was saved in the attachments directory and replaced by a
link in the actual message body. Thus, the LIST.mbox file contains only
the link in the body and the only place the scrubbed attachment exists
is in the attachments directory on the old server.

The only way to fix this is to move the actual files from the
attachments directory on the old server and update the links manually or
possibly with some programmatic process.

-- 
Mark Sapiro m...@msapiro.netThe 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://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: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] moving a mailing list to a new subdomain

2013-05-17 Thread Mark Sapiro
On 05/17/2013 10:34 AM, Mark Sapiro wrote:
 On 05/17/2013 08:45 AM, Matthew Needham wrote:
 An update...

 On May 16, 2013, at 14:48 PM, Matthew Needham mneed...@hdfgroup.org wrote:

 1. For the situation I described, are the instructions on that FAQ (moving 
 the files) the ones I should be following?
 
 
 They are as good as any.


I just updated them to include a warning about the scrub_nondigest
situation.

-- 
Mark Sapiro m...@msapiro.netThe 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://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: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


[Mailman-Users] Any way to change all members of a particular domain to another domain?

2013-05-17 Thread Steve Campbell
We are going to change one of the domain names we have. I have a few 
lists where members of these lists will need to have their email 
addresses changed.


memb...@old-domain.com - memb...@new-domain.com

I am aware of a few ways I could do this. One is pipe the list's members 
into a file, delete the list, and recreate the members. Or just do an 
add-the-new and delete-the-old. Is there any way other than this?


Thanks
steve campbell
--
Mailman-Users mailing list Mailman-Users@python.org
http://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: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Any way to change all members of a particular domain to another domain?

2013-05-17 Thread Mark Sapiro
On 05/17/2013 11:04 AM, Steve Campbell wrote:
 We are going to change one of the domain names we have. I have a
 few lists where members of these lists will need to have their
 email addresses changed.
 
 memb...@old-domain.com - memb...@new-domain.com
 
 I am aware of a few ways I could do this. One is pipe the list's
 members into a file, delete the list, and recreate the members. Or
 just do an add-the-new and delete-the-old. Is there any way other
 than this?


See the script at
http://www.msapiro.net/scripts/change_member_address.py.

-- 
Mark Sapiro m...@msapiro.netThe 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://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: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org