Re: [Mailman-Users] HTML content from GMX gets scrubbed in archive
On Tue, Oct 7, 2014 at 5:53 PM, Mark Sapiro m...@msapiro.net wrote: On 10/07/2014 06:02 AM, Peter Wetz wrote: UPDATE: lynx was missing on the machine mailman was running on. since i don't have root access (or at least i could not find out on my own, if lynx is running), it was quite hard for me to figure that one out. just after i read that some others on this list had problems with blank messages in the archive after conversion of html to plain-text mails, i think this was something worth to investigate. If you have access to Mailman's logs, you would see errors about this in Mailman's 'error' log. that's good to know. however, in my case, this would not have been possible. so now that lynx is installed and running, the html-to-plain-text conversion works. Good. N.B. I use elinks by setting HTML_TO_PLAIN_TEXT_COMMAND = '/usr/bin/elinks -dump %(filename)s' in mm_cfg.py. I like the plain text conversion a bit better. one final question: since this requires content filtering to be turned on, i basically have to whitelist all mime-types i want to let through. is that right? It depends what you want to do. If you want to pass everything and just do the html to plaintext conversion, you can set all 4 of filter_mime_types, pass_mime_types, filter_filename_extensions and pass_filename_extensions empty. Then nothing will be removed based on MIME type or filename extension. Otherwise, you can either blacklist or whitelist using filter_mime_types or pass_mime_types respectively. The filters are applied in the following order. If filter_mime_types is non-empty, any part with MIME type in filter_mime_types is removed. Then, if pass_mime_types is non-empty, any part with MIME type NOT in pass_mime_types is removed. Then the filename_extensions tests are applied in the same order to parts that have an associated filename. Note also that entries in *_mime_types can be either 'maintype' or 'maintype/subtype' (as in e.g., 'image' or 'image/jpeg'). If it is just 'maintype' it will match all parts with that maintype regardless of subtype. thanks for detailed explanation. makes perfect sense. -- 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] Server config problems
On 10/12/2014 05:31 PM, Tracey McCartney wrote: Delivery to LISTNAME-owner does NOT appear to work. Notifications that go to the admin, such as subscribes and unsubscribes, work fine. Notifications that go to users, such as notifications that their message is held up in moderation, work fine. General traffic works fine. Notifications to the moderator that someone has asked to subscribe (our lists are set up for approval only) do not work. Notifications to the moderator that something is held up in moderation do not work. All of the above symptoms are explained by the fact that mail to LISTNAME-owner doesn't work. For various historical reasons, notifications of changes in list membership (successful (un)subscribes) are sent directly to the address(es) in the list's owner and moderator attributes while notifications of held messages and subscriptions and daily moderator summaries sent by cron are all sent to the LISTNAME-owner address and normally received by Mailman and resent to the owner/moderator address(es). You (or someone) needs to examine the logs of the MTA (Exim or whatever it is) to find out what the issue is. If the MTA is Exim, the command sudo exim -bt LISTNAME-owner@DOMAIN will give some relevant information. Note, if mail to the LISTNAME-owner address doesn't bounce, it is probably being delivered somewhere, just not to Mailman. -- 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 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] importing mailman list archive into google groups for business / google apps
Anyone have any idea how to accomplish this? -- - Sincerely, Fabian S. -- 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] importing mailman list archive into google groups for business / google apps
Seems like that would be a question for Google support ? On Oct 13, 2014, at 5:08 PM, Fabian Santiago fsanti...@garden-life.org wrote: Anyone have any idea how to accomplish this? -- 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] importing mailman list archive into google groups for business / google apps
Yeh it probably is. I was just curious if anyone had any tools they had used successfully. Ok then. Sincerely, Fabian Santiago Sent from my iPhone On Oct 13, 2014, at 5:38 PM, jason fb li...@datatravels.com wrote: Seems like that would be a question for Google support ? On Oct 13, 2014, at 5:08 PM, Fabian Santiago fsanti...@garden-life.org wrote: Anyone have any idea how to accomplish this? -- 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] importing mailman list archive into google groups for business / google apps
On 10/13/2014 02:50 PM, Fabian Santiago wrote: Yeh it probably is. I was just curious if anyone had any tools they had used successfully. Ok then. I don't know if you'll get much help from google. This forum thread https://productforums.google.com/forum/#!topic/apps/5LdnN7OwEy8 is almost 5 years old and has no answer. The only way I know is somewhat kludgey. You can set up the Google group and add yourself only as a member and then go through the Mailman cuumulative archive mbox for the list and remail each message with envelope from you and envelope to your groups address. I've not tried this for a whole archive, but it works for a few messages and should work for more. The messages get put in the archive with the original From:, Subject: and Date: headers, but they are all archived as of the current date. This python script edited as indicated will send the mail. import mailbox import smtplib mb = mailbox.mbox('/path/to/mbox', Create=False) # put actual mbox path conn = smtplib.SMTP() conn.connect(...) # connect to the server that will send the mail # e.g. conn.connect('example.com', 587) conn.starttls()# if required conn.login(...)# if required # e.g. conn.login('u...@example.com', 'password' for msg in mb: conn.sendmail('y...@example.com', # your actual email 'your_gr...@googlegroups.com', # your group's address msg.as_string()) conn.quit() -- 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 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