Re: [Mailman-Users] Reply Bodies as Attachments

2016-10-30 Thread Mark Sapiro
On 10/30/2016 09:50 AM, r...@rexgoode.com wrote:
> I'm having the same problem on all of my lists, which most people read
> on their Android or IOS devices.


Mobile MUAs are often limited in rendering anything but the simplest
MIME structured messages.


> When I send something out, if anyone replies, it is delivered with my
> defined header and footer, but the body is an attachment which can't be
> read. It says, "No Application Available for This Content".


See .

The issue is the message delivered from Mailman is structured like this:

multipart/mixed
text/plain
(msg_header)
message/rfc822
(the original message with it's own MIME structure)
text/plain
(msg_footer)

and the mobile MUAs are saying they don't know how to render a
message/rfc822 part. Actually, the appropriate application is the MUA
itself and it may be possible for users to configure their devices so
the MUA knows that. It should be shocking that the MUAs don't get that,
but by now I expect it.

Aside: For Android I recommend K9 Mail by K9 Dog Walkers available from
the Play Store or on GitHub at .

The above referenced article suggests solutions. If you don't need HTML
or non-text attachments on your list, I suggest the following content
filtering settings:

filter_content: Yes
pass_mime_types:
multipart
message/rfc822
text/plain
text/html
collapse_alternatives: Yes
convert_html_to_plaintext: Yes

which will ensure your messages are plain text only and allow adding
msg_header and msg_footer to the body and not as separate MIME parts.   

-- 
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] Reply Bodies as Attachments

2016-10-30 Thread Stephen J. Turnbull
r...@rexgoode.com writes:
 > I'm having the same problem on all of my lists, which most people read 
 > on their Android or IOS devices.
 > 
 > When I send something out, if anyone replies, it is delivered with my 
 > defined header and footer, but the body is an attachment which can't be 
 > read. It says, "No Application Available for This Content".
 > 
 > I've looked through all of the settings and can't find anything related 
 > to it or that affects it.

The problem is almost surely that headers and footers added by Mailman
using MIME conventions are more or less incompatible with HTML mail.
Competent MUAs deal with this fine[1], but unfortunately competent
MUAs are mostly found on Unix systems, not on the popular OSes or
handheld devices.

There are workarounds for this that rewrite the HTML instead of using
MIME, but we are unwilling to support them because rewriting HTML
reliably across all of the variations put out by different MUAs
requires a huge amount of effort, and won't be successful in the end
because new variations arise daily -- it's whack-a-mole with no prizes.

There are three workarounds that usually help (you only need one).
Which is best depends on your users' preferences and list practices.
(1) Don't allow HTML mail.
(2) Have Mailman convert it to text.
(3) Don't add headers or footer at all.  This means you have to delete
everything, including whitespace, from those text boxes in the
admin interface.

Footnotes: 
[1]  The algorithm is easy to describe and shouldn't be hard to
implement: print the plain text header using default formatting in a
frame, print the mail itself in another frame, and then the footer in
a third frame, stacking the frames vertically.  This might be a
strategy that would work in general, but last I checked you couldn't
count on MUAs to support frames, so

--
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] Reply Bodies as Attachments

2016-10-30 Thread rex
I'm having the same problem on all of my lists, which most people read 
on their Android or IOS devices.


When I send something out, if anyone replies, it is delivered with my 
defined header and footer, but the body is an attachment which can't be 
read. It says, "No Application Available for This Content".


I've looked through all of the settings and can't find anything related 
to it or that affects it.


Rex Goode
--
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] Moderation not working

2016-10-30 Thread Wouter van Marle


On Sun, 30 Oct 2016 07:47:13 -0700
Mark Sapiro  wrote:

> On 10/30/2016 12:01 AM, Wouter van Marle wrote:
> > 
> > In the web interface, I open the list, go to "Tend to pending
> > moderator requests", and set the messages to either "Reject" or
> > "Discard", then click the "Submit All Data" button.
> > 
> > A pop-up appears, security warning: 
> > "The information you have entered on this page will be sent over an
> > insecure connection and could be read by a third party.
> > 
> > Are you sure you want to send this information?"
> > 
> > I click Continue, and get back the same page with all the
> > to-be-moderated messages untouched. Nothing happens.
> 
> 
> You are accessing the admindb pages via https, but the form action
> URLs on the pages are http. Your server redirects the http URL to
> https and the redirect loses the POST data.
> 
> This is discussed at  and
> . You need to do steps 2. and 3. at
> . If you are not an admin of the
> Mailman installation, then tell the admins they need to do this.
> 

That did the trick, thanks!
I installed MailMan on an existing https site, didn't realise there's an issue 
with it.

Wouter.
--
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] mailman stopped archiving

2016-10-30 Thread Mark Sapiro
On 10/30/2016 05:04 AM, Mustafa Akgul wrote:

> there is nothing im Mailman error lohg.  same ith qrunner.


If there is truly nothing in Mailman's qrunner log, either you are not
looking at the right logs or the logs have been rotated and the relevant
information is in an older log or gone.


> ArchRunning is not running.


That is the problem, but the question is why?


> under qfiles there is nothing in all directories except an entry in 2014 in 
> virgin directory?


If messages are being posted and delivered and ArchRunner is not
running, there must be entries in Malman's archive queue. If you don't
see them, you are not looking at the right queues.


> I do not run anything in cron regarding mailman.


There are several Mailman crons that should be run for other reasons,
but that's not the issue here.

Restarting Mailman may help, but until we know why ArchRunner isn't
running and fix it, the issue may just recur.

-- 
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] Moderation not working

2016-10-30 Thread Mark Sapiro
On 10/30/2016 12:01 AM, Wouter van Marle wrote:
> 
> In the web interface, I open the list, go to "Tend to pending moderator 
> requests", and set the messages to either "Reject" or "Discard", then click 
> the "Submit All Data" button.
> 
> A pop-up appears, security warning: 
> "The information you have entered on this page will be sent over an insecure 
> connection and could be read by a third party.
> 
> Are you sure you want to send this information?"
> 
> I click Continue, and get back the same page with all the to-be-moderated 
> messages untouched. Nothing happens.


You are accessing the admindb pages via https, but the form action URLs
on the pages are http. Your server redirects the http URL to https and
the redirect loses the POST data.

This is discussed at  and
. You need to do steps 2. and 3. at
. If you are not an admin of the
Mailman installation, then tell the admins they need to do this.

-- 
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] Moderation not working

2016-10-30 Thread Wouter van Marle
Hi all,

I have a few mails for my list awaiting moderation.

When I try to moderate them (in my case, they have to be removed, this
were all test mails not intended for posting) it just doesn't work. 

In the web interface, I open the list, go to "Tend to pending moderator 
requests", and set the messages to either "Reject" or "Discard", then click the 
"Submit All Data" button.

A pop-up appears, security warning: 
"The information you have entered on this page will be sent over an insecure 
connection and could be read by a third party.

Are you sure you want to send this information?"

I click Continue, and get back the same page with all the to-be-moderated 
messages untouched. Nothing happens.

Any ideas?

Wouter.
--
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] mailman stopped archiving

2016-10-30 Thread Mustafa Akgul
>On 10/27/2016 10:17 AM, Mustafa Akgul wrote:
>> 
>> Hello,
>> I have debain 7.11  , mailman  2.1.5-1 i386
>> I have a few lists. All  stopped archiving.
>> LISTNAME.mbox is not updateing
>> I have run chech_perms -f as root. /usr/lib/mailman  permissions are OK, and 
>> permissions of non-links  ar OK.
>
>
>What's in Mailman's error log. Are the messages shunted?
>
>Is ArchRunner running? (whats in Mailman's qrunner log?)
>
>What's in Mailman's qfiles/archive? qfiles/shunt?
>
>-- 
>Mark Sapiro The highway is for gamblers,
>San Francisco Bay Area, Californiabetter use your sense - B. Dylan
there is nothing im Mailman error lohg.  same ith qrunner.

ArchRunning is not running.  under qfiles there is nothing in all directories 
except an entry in 2014 in virgin directory?
I do not run anything in cron regarding mailman.

Any suggestions?

Regards
Mustafa Akgul



--
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