Why rewrite QP-encoded messages when the receiver cannot take 8BITMIME?

Alessandro Vesely <[email protected]> Fri, 28 Jun 2024 18:26:47 +0200
Newsgroups gmane.mail.imap.courier.general
Message-ID <[email protected]>
Sam,

if you thought 8BITMIME was globally implemented, it's not.  There is a 
mail-checking service at https://aboutmy.email/ whose server doesn't advertise 
it.  Consequently, Courier rewrites messages, thereby breaking signatures. 
What is puzzling is that messages are rewritten even if they are encoded.  Why?

Hanno pointed me to the following code in rfc2045acprep.c:

     case qpseeneqh:
         curstate=quotedprint;
         if ( (unsigned char)
             ( (h2nyb(statechar) << 4) + h2nyb(*p) ) >= 127
             ) currwp->has8bitchars=1;

It sets has8bitchars if a char is 8 bit /after decoding it/!  Is there a reason 
for doing so?  How about base64 encoded 8bit chars?


Best
Ale
-- 






_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users