[Kolab-devel] [issue1243] Can not reply on rewritten mailheader when origin "From:" contains quoted printable

Torsten Irländer kolab-issues at intevation.de
Wed May 17 11:30:57 CEST 2006


New submission from Torsten Irländer <torsten.irlaender at intevation.de>:

This issue is related to issue973, but I open a new one.             
             
Mailheaders are rewritten in some cases when mail comes from outside the kolab             
domain but header from says that it comes from inside. In this case the mail is            
marked as untrusted.            
            
Rewriting causes problems when "From:" is encoded in quoted printable. E.g:           
From: =?ISO-8859-1?Q?=22K=F6hler=2C_Manfred=22?= <manfred.koehler at test.hq>         
        
If a mail with such a "From:" is rewritten to unstrusted this results in        
Mails which can not be replied.  
With patch from issue973 I get this:  
  
From: "=?ISO-8859-1?Q?=22K=F6hler=2C_Manfred=22?= (UNTRUSTED, sender is  
<badman at baddomain.bad>)" <=?ISO-8859-1?Q?=22K=F6hler=2C_Manfred=22?=  
<manfred.koehler at test.hq>>  
  
It should be easy to reproduce this by doing telnet on port 25.   
Heres my example session:  
 
Connected to neso.hq. 
Escape character is '^]'. 
220 neso.test.hq ESMTP Postfix 
helo baddomain.bad 
250 neso.test.hq 
mail from: badman at baddomain.bad 
250 Ok 
rcpt to: torsten at test.hq 
250 Ok 
data 
354 End data with <CR><LF>.<CR><LF> 
From: =?ISO-8859-1?Q?=22K=F6hler=2C_Manfred=22?= <manfred.koehler at test.hq> 
Subject: Hi here is Manfred 
 
Ping

----------
assignedto: steffen
messages: 7416
nosy: bernhard, steffen, torsten
priority: urgent
status: unread
title: Can not reply on rewritten mailheader when origin "From:" contains quoted printable
topic: server
________________________________________________
Kolab issue tracker <kolab-issues at intevation.de>
<https://intevation.de/roundup/kolab/issue1243>
________________________________________________




More information about the devel mailing list