List Info

Thread:




<kein Betreff>
country flaguser name
Germany
2007-03-07 02:34:34
Hello list,

we are using outlook as email client in our company. Outlook
is configured to determine the encoding of the email
automatically. 
If an email is send without special characters ()
outlook choose us_ascii as encoding. Now i append a
textboilerplate with mimedefang 
with contains such special characters. The receiving client
does not see this special characters because the
content-type of the email is not iso-8859-1.
I tried to change the header with
action_change_header("Content-Type","text/pla
in;ntcharset="iso-8859-1""); but
mimedefang rebuilds the header with us_ascii

Logfile:

mimedefang.pl[27331]: filter: l276ug8J027333: 
append_text_boilerplate=1
sendmail[27333]: l276ug8J027333: Milter change: header 
Content-Type: from
text/plain;ntcharset="us-ascii" to
text/plain;ntcharset="iso-8859-1"
sendmail[27333]: l276ug8J027333: Milter change: header 
Content-Type: from
text/plain;ntcharset="iso-8859-1" to
text/plain;ntcharset="us-ascii"
sendmail[27333]: l276ug8J027333: Milter change: header 
MIME-Version: from 1.0 to 1.0
sendmail[27333]: l276ug8J027333: Milter change: header 
Content-Transfer-Encoding: from 7bit to 7bit
sendmail[27333]: l276ug8J027333: Milter message: body
replaced
sendmail[27333]: l276ug8J027333: Milter add: header:
X-Scanned-By: MIMEDefang 2.61 on 10.126.254.131

Any clues how i can manage this problem? I do not want to
change the behavior of outlook because we have about 800
clients.

Thanks for help.

Klaus
____________________________________________________________
___________
Viren-Scan fr Ihren PC! Jetzt fr jeden. Sofort, online und
kostenlos.
Gleich testen! h
ttp://www.pc-sicherheit.web.de/freescan/?mc=022222

_______________________________________________
NOTE: If there is a disclaimer or other legal boilerplate in
the above
message, it is NULL AND VOID.  You may ignore it.

Visit http://www.mimedefang.org and http://www.roaringpengu
in.com
MIMEDefang mailing list MIMEDefanglists.roaringpenguin.com
http://lists.roaringpenguin.com/mailman/listinfo/mime
defang

Re: <kein Betreff>
user name
2007-03-07 07:59:29
Klaus Meyer wrote:

> I tried to change the header with
>
action_change_header("Content-Type","text/pla
in;ntcharset="iso-8859-1"");
> but mimedefang rebuilds the header with us_ascii

The Content-Type: header is treated a bit specially by
MIMEDefang.  If
you want to change it, in addition to calling
action_change_header,
you also need to do:

    $entity->head->mime_attr('content-type.charset'
=> 'iso-8859-1');

where $entity is the top-level MIME entity passed in to
filter_end.

Regards,

David.
_______________________________________________
NOTE: If there is a disclaimer or other legal boilerplate in
the above
message, it is NULL AND VOID.  You may ignore it.

Visit http://www.mimedefang.org and http://www.roaringpengu
in.com
MIMEDefang mailing list MIMEDefanglists.roaringpenguin.com
http://lists.roaringpenguin.com/mailman/listinfo/mime
defang

Re: Plug-in to transcode messages
country flaguser name
United States
2007-03-07 15:38:26
Klaus Meyer wrote:
> Hello list,
>
> we are using outlook as email client in our company.
Outlook is configured to determine the encoding of the email
automatically. 
> If an email is send without special characters ()
outlook choose us_ascii as encoding. Now i append a
textboilerplate with mimedefang 
> with contains such special characters. The receiving
client does not see this special characters because the
content-type of the email is not iso-8859-1.
> I tried to change the header with
action_change_header("Content-Type","text/pla
in;ntcharset="iso-8859-1""); but
mimedefang rebuilds the header with us_ascii
>
> Logfile:
>
> mimedefang.pl[27331]: filter: l276ug8J027333: 
append_text_boilerplate=1
> sendmail[27333]: l276ug8J027333: Milter change: header 
Content-Type: from
text/plain;ntcharset="us-ascii" to
text/plain;ntcharset="iso-8859-1"
> sendmail[27333]: l276ug8J027333: Milter change: header 
Content-Type: from
text/plain;ntcharset="iso-8859-1" to
text/plain;ntcharset="us-ascii"
> sendmail[27333]: l276ug8J027333: Milter change: header 
MIME-Version: from 1.0 to 1.0
> sendmail[27333]: l276ug8J027333: Milter change: header 
Content-Transfer-Encoding: from 7bit to 7bit
> sendmail[27333]: l276ug8J027333: Milter message: body
replaced
> sendmail[27333]: l276ug8J027333: Milter add: header:
X-Scanned-By: MIMEDefang 2.61 on 10.126.254.131
>
> Any clues how i can manage this problem? I do not want
to change the behavior of outlook because we have about 800
clients.
>
> Thanks for help.
>
> Klaus
>   

Which goes to my point about broken MUA's sending out
useless encodings other than the trinity of usascii/latin1/
utf8...

Reminds me of the days at McGill working on an Internet/
Bitnet gateway that had to map ASCII to/from EBCDIC...
20 years later, and we're solving the same problem because
IBM...  I mean Microsoft...  is too arrogant to play well
with
others.

-Philip

_______________________________________________
NOTE: If there is a disclaimer or other legal boilerplate in
the above
message, it is NULL AND VOID.  You may ignore it.

Visit http://www.mimedefang.org and http://www.roaringpengu
in.com
MIMEDefang mailing list MIMEDefanglists.roaringpenguin.com
http://lists.roaringpenguin.com/mailman/listinfo/mime
defang

Re: Re: Plug-in to transcode messages
country flaguser name
United States
2007-03-07 16:00:38
Philip Prindeville wrote:
> Which goes to my point about broken MUA's sending out
> useless encodings other than the trinity of
usascii/latin1/
> utf8...

Isn't ASCII redundant if you have Latin-1?
Aren't ASCII and Latin-1 redundant if you have Unicode?

Perhaps it would be more appropriate to transcode *all* mail
into UTF8.

-- 
Kelson Vibber
SpeedGate Communications <www.speed.net>
_______________________________________________
NOTE: If there is a disclaimer or other legal boilerplate in
the above
message, it is NULL AND VOID.  You may ignore it.

Visit http://www.mimedefang.org and http://www.roaringpengu
in.com
MIMEDefang mailing list MIMEDefanglists.roaringpenguin.com
http://lists.roaringpenguin.com/mailman/listinfo/mime
defang

Re: Re: Plug-in to transcode messages
country flaguser name
United States
2007-03-07 16:49:20
Kelson wrote:
> Philip Prindeville wrote:
>   
>> Which goes to my point about broken MUA's sending
out
>> useless encodings other than the trinity of
usascii/latin1/
>> utf8...
>>     
>
> Isn't ASCII redundant if you have Latin-1?
> Aren't ASCII and Latin-1 redundant if you have
Unicode?
>
> Perhaps it would be more appropriate to transcode *all*
mail into UTF8.
>   

The point is to use the smallest charset your message
will fit into.

That's part of the "be conservative in what you
send"
philosophy that drives the Internet.

A pager or a cell-phone might not have full UTF-8 fonts.

You're going for the widest possible functionality with
the least requirements in terms of resources if you want
Internet protocols to be truly ubiquitous (which has long
been a design goal).

-Philip

_______________________________________________
NOTE: If there is a disclaimer or other legal boilerplate in
the above
message, it is NULL AND VOID.  You may ignore it.

Visit http://www.mimedefang.org and http://www.roaringpengu
in.com
MIMEDefang mailing list MIMEDefanglists.roaringpenguin.com
http://lists.roaringpenguin.com/mailman/listinfo/mime
defang

Re: Re: Plug-in to transcode messages
user name
2007-03-07 18:10:32
Philip Prindeville wrote:

> The point is to use the smallest charset your message
> will fit into.

I can see your point, but you're being chauvinistic towards
English and European languages.  If I want to write a
message
consisting only of:

שלום

why can't I use a narrower encoding than UTF-8?

Regards,

David.

_______________________________________________
NOTE: If there is a disclaimer or other legal boilerplate in
the above
message, it is NULL AND VOID.  You may ignore it.

Visit http://www.mimedefang.org and http://www.roaringpengu
in.com
MIMEDefang mailing list MIMEDefanglists.roaringpenguin.com
http://lists.roaringpenguin.com/mailman/listinfo/mime
defang

[1-6]

about | contact  Other archives ( Real Estate discussion Medical topics )