[Tickets #14710] Re: Headers encoded wrongly when replying to certain senders

noreply at bugs.horde.org noreply at bugs.horde.org
Mon Oct 16 02:43:02 UTC 2017


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: https://bugs.horde.org/ticket/14710
------------------------------------------------------------------------------
  Ticket             | 14710
  Updated By         | alexh at boxed.no
  Summary            | Headers encoded wrongly when replying to certain
                     | senders
  Queue              | Synchronization
  Version            | FRAMEWORK_5_2
  Type               | Bug
  State              | Unconfirmed
  Priority           | 2. Medium
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


alexh at boxed.no (2017-10-16 02:43) wrote:

> This is a followup on #14456. Here is what postfix spits out when an  
> iPhone tires to reply to a problematic email:
> Oct 16 04:15:08 popper postfix/submission/smtpd[29358]: NOQUEUE:  
> reject: RCPT from localhost[127.0.0.1]: 550 5.1.1  
> <=?utf-8?Q?"Lanesskog>: Recipient address rejected: User unknown in  
> local recipient table; from=<alexh at boxed.no>  
> to=<=?utf-8?Q?"Lanesskog> proto=ESMTP helo=<mail.boxed.no>
>
> The original From-header from the mail storage is this:
> From: =?utf-8?B?TGFuZXNza29nLCBKw7hyZ2Vu?= <Jorgen.Lanesskog at marinit.no>
>
>

Also,doing tcpdump on lo0 with TLS disabled, shows this interaction  
between Horde and postfix:
[root at popper ~]# tshark -r utf8-fun.dump
Running as user "root" and group "root". This could be dangerous.
   1          0    127.0.0.1 -> 127.0.0.1    TCP 74 50784 > submission  
[SYN] Seq=0 Win=43690 Len=0 MSS=65495 SACK_PERM=1 TSval=1439637087  
TSecr=0 WS=128
   2  380105375    127.0.0.1 -> 127.0.0.1    TCP 74 submission > 50784  
[SYN, ACK] Seq=0 Ack=1 Win=43690 Len=0 MSS=65495 SACK_PERM=1  
TSval=1439637087 TSecr=1439637087 WS=128
   3          0    127.0.0.1 -> 127.0.0.1    TCP 66 50784 > submission  
[ACK] Seq=1 Ack=1 Win=43776 Len=0 TSval=1439637087 TSecr=1439637087
   4          0    127.0.0.1 -> 127.0.0.1    SMTP 99 S: 220  
mail.boxed.no ESMTP Postfix
   5          0    127.0.0.1 -> 127.0.0.1    TCP 66 50784 > submission  
[ACK] Seq=1 Ack=34 Win=43776 Len=0 TSval=1439637088 TSecr=1439637088
   6          0    127.0.0.1 -> 127.0.0.1    SMTP 86 C: EHLO mail.boxed.no
   7          0    127.0.0.1 -> 127.0.0.1    TCP 66 submission > 50784  
[ACK] Seq=34 Ack=21 Win=43776 Len=0 TSval=1439637088 TSecr=1439637088
   8          0    127.0.0.1 -> 127.0.0.1    SMTP 178 S: 250  
mail.boxed.no | 250 PIPELINING | 250 SIZE 20480000 | 250 ETRN | 250  
ENHANCEDSTATUSCODES | 250 8BITMIME | 250 DSN
   9          0    127.0.0.1 -> 127.0.0.1    SMTP 178 C: MAIL  
FROM:<alexh at boxed.no> SIZE=9623 | RCPT TO:<"=?utf-8?Q?\"Lanesskog"> |  
RCPT TO:<Jorgen.Lanesskog at marinit.no>
  10          0    127.0.0.1 -> 127.0.0.1    SMTP 195 S: 250 2.1.0 Ok  
| 550 5.1.1 <=?utf-8?Q?"Lanesskog>: Recipient address rejected: User  
unknown in local recipient table | 250 2.1.5 Ok
  11          0    127.0.0.1 -> 127.0.0.1    SMTP 72 C: RSET
  12          0    127.0.0.1 -> 127.0.0.1    SMTP 80 S: 250 2.0.0 Ok
  13          0    127.0.0.1 -> 127.0.0.1    SMTP 72 C: QUIT
  14          0    127.0.0.1 -> 127.0.0.1    SMTP 81 S: 221 2.0.0 Bye
  15          0    127.0.0.1 -> 127.0.0.1    TCP 66 submission > 50784  
[FIN, ACK] Seq=304 Ack=145 Win=43776 Len=0 TSval=1439637109  
TSecr=1439637108
  16          0    127.0.0.1 -> 127.0.0.1    TCP 66 50784 > submission  
[FIN, ACK] Seq=145 Ack=305 Win=44800 Len=0 TSval=1439637109  
TSecr=1439637109
  17          0    127.0.0.1 -> 127.0.0.1    TCP 66 submission > 50784  
[ACK] Seq=305 Ack=146 Win=43776 Len=0 TSval=1439637109 TSecr=1439637109

-A





More information about the bugs mailing list