6.0.0-beta1
7/26/25

[#1449] Content-Disposition: inline in all emails
Summary Content-Disposition: inline in all emails
Queue Horde Base
Queue Version 3.0.2
Type Bug
State Not A Bug
Priority 1. Low
Owners
Requester richard (at) richardhess (dot) com
Created 02/27/2005 (7454 days ago)
Due
Updated 03/03/2005 (7450 days ago)
Assigned
Resolved 02/27/2005 (7454 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
03/03/2005 06:21:43 AM Michael Slusarz Comment #4 Reply to this comment
You are (partly) right that this header is not an indicator for
HTML mails (that's the misunderstanding because of my rejection
message), but it's a MIME header. And without MIME you can not
send HTML (that's the "partly" part).
Well, obviously this statement is not true (i.e. you can send anything
you want in the body of the message).  It is simply the MIME headers
that identify to the MUA what kind of data the body contains.
That's basically what I said...

[Show Quoted Text - 10 lines]
In an ideal world I would agree with you, however because of spammers

and virus authors try to sneak through all existing filters, a "Plain

Text" message *should not* contain any additional headers if they

are not necessary.
I understand the points made on this page, but these concerns are
something an administrator should be dealing with, not an end user.  If
you don't want MIME formatting on your mailing list, that is fine, but
you should allow MIME-based text messages - just have a front end
filter that filters out all the MIME stuff you don't want.  I could
write a 10-line program (or less) in PHP using Horde that would input a
text/plain message in MIME (or a multipart/mixed message) and return a
single text part without MIME headers.
See above. Of course I can filter and let only the "Plain Text"

part through, but this does not solve the problem of these thousands

of possible combinations of headers and content. And I don't do myself

a favor to write a filter if an email client could just get rid of

the "Content-Distribution: inline" header if there is nothing else

than Plain Text in the mail, MIME or not.



By rejecting this header for a mailing list which actually allows only

Plain Text mails (also MIME marked as Plain Text *without*

"Content-Distribution: inline" header) I have a 100% save mailing

list and there is no chance that any user ever gets any attachment,

virus or in any way "Rich Text" email. Making just one exception

in my policy opens a big can of worms.
Additionally, I don't see how this problem is solved on the IMP side.
As far as I can see there are two IMP solutions:
1) Send all text/plain messages from IMP without MIME information
This is obviously not the answer.  Not only do you lose *all* ability
to send either special characters or foreign characters without MIME,
but you also eliminate 'flowed' formatting, for example, which is the
single best thing to _ever_ happen to e-mail lists and something that
appears to be completely ignored by the webpage you have provided above.
I agree that flowed formatting is a plus, but can be archived even in

non-MIME emails. Here is a nice page of a F=F fan:



http://www.joeclark.org/ffaq.html



But anyway, this is not really the problem.
2) Give the user an option to send "non MIME text messages"
Not only does this add unneeded complexity, but the amount of confusion
on the part of end users would more than outweigh the benefit.
No, it's not necessary to give end-users more confusing options,

but if I would write an email client, I would always send the

lowest common denominator after checking the content of the email.



If it's all (even the subject) written in plain 7bit ascii text, why

bother to send additional and in this case obsolete headers?



The whole point of my email was that IMP is the only email client

I came across in the last 4 years which add the "Content-Distribution:

inline" header to all emails, necessary or not.



It also seems that you just updated IMP and added this "feature", because

Richard used it before and never got rejected.
These reasons, and others, are the reason this bug is marked bogus.
Feel free to comment/criticize - I just ask that you add to the bug
report so that all may be able to see the conversation.
Please feel free to add this mail to your bug report (but please mask

my email address somehow), but I will probably not add more to the

discussion. If you want to send this header, so be it, you don't

violate any RFCs, but IMP users will be forever rejected from my

lists. Not that I am that important anyway ;)



Thanks for your time,



Juergen
02/28/2005 06:17:19 AM Michael Slusarz Comment #3 Reply to this comment
Quoting Juergen Specht <js@juergenspecht.com>:

[Show Quoted Text - 11 lines]
It was me that rejected the bug.

[Show Quoted Text - 15 lines]
Well, obviously this statement is not true (i.e. you can send anything 
you want in the body of the message).  It is simply the MIME headers 
that identify to the MUA what kind of data the body contains.

[Show Quoted Text - 20 lines]
Hmmmm.... you are defining "Plain Text" using RFC 2046 - which is one 
of the RFCs (2045-2049) that *defines MIME*.  All this definition is 
saying is that if you ignore the MIME headers entirely, then the 
message should be treated as plain text.
However, MIME messages have a sub-type Content-Type: text/plain
but this still does not make a MIME message a Plain Text message.
Actually, yes it does.  Read RFC 2046 [4.1.3] as quoted above:



   The default media type of "text/plain; charset=us-ascii" for Internet mail

   describes existing Internet practice. That is, it is the type of body

   defined by RFC 822.



Therefore, a MIME message that either a) doesn't have the Content-Type 
parameter, or b) has a Content-Type parameter of 'text/plain' is 
treated as a RFC 822 text message.  An RFC 822 body *is* as basic 
Plain Text as you can get.  Thus, sending a non-MIME message or 
sending a MIME message with either a) or b) above provides the same 
body information.  The important part is that the text in the body is 
completely plain text.  A "Plain Text" message *does not* mean that 
there is no additional MIME headers.  A "Plain Text" message simply 
means that there is no need for any formatting of the contents to 
display correctly.
So it's your call if you define it as a bug or just a misleading of
your users, by making them think they send a "Plain Text" message
when they really send a MIME message.

Here is a good read why MIME is a bad idea for mailing lists:

http://www.expita.com/nomime.html
I understand the points made on this page, but these concerns are 
something an administrator should be dealing with, not an end user.   
If you don't want MIME formatting on your mailing list, that is fine, 
but you should allow MIME-based text messages - just have a front end 
filter that filters out all the MIME stuff you don't want.  I could 
write a 10-line program (or less) in PHP using Horde that would input 
a text/plain message in MIME (or a multipart/mixed message) and return 
a single text part without MIME headers.



Additionally, I don't see how this problem is solved on the IMP side.   
As far as I can see there are two IMP solutions:

1) Send all text/plain messages from IMP without MIME information

This is obviously not the answer.  Not only do you lose *all* ability 
to send either special characters or foreign characters without MIME, 
but you also eliminate 'flowed' formatting, for example, which is the 
single best thing to _ever_ happen to e-mail lists and something that 
appears to be completely ignored by the webpage you have provided above.

2) Give the user an option to send "non MIME text messages"

Not only does this add unneeded complexity, but the amount of 
confusion on the part of end users would more than outweigh the benefit.



These reasons, and others, are the reason this bug is marked bogus.
02/27/2005 10:15:23 PM Michael Slusarz Comment #2
State ⇒ Not A Bug
Reply to this comment
Content-Disposition header has absolutely *nothing* to do with HTML 
e-mails.  Content-Disposition is an RFC header (see RFC 2183 - 
http://www.faqs.org/rfcs/rfc2183.html) that's been around for a long 
time.  This header *should* appear in every mail message (not exactly 
true - it is an optional header but we add it for redundancy sakes).   
You probably need to turn HTML composition off when sending messages 
if your messages are being rejected for HTML content.
02/27/2005 05:49:49 PM richard (at) richardhess (dot) com Comment #1
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Content-Disposition: inline in all emails
Queue ⇒ Horde Base
Reply to this comment
When I send an email using the text editor, it still adds the header



Content-Disposition: inline



to all emails whether or not there is any inline content.



At least one, and possibly two mailing lists that I subscribe to 
reject the postings based on that header violating their NO HTML rules.



They have fired back that this header should only accompany multi-part 
messages and I shouldn't be sending multi-part messages to the mailing 
list.



Lunarpages.com who has installed this otherwise WONDERFUL upgrade says 
they cannot disable this header line.



Thanks for all the great work for a wonderful program.



Cheers,



Richard

Saved Queries