[tor-bugs] #12627 [BridgeDB]: canonicalFromSMTP is not what we think it should be

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Jul 14 13:33:17 UTC 2014


#12627: canonicalFromSMTP is not what we think it should be
-------------------------------+----------------------
 Reporter:  sysrqb             |          Owner:  isis
     Type:  defect             |         Status:  new
 Priority:  major              |      Milestone:
Component:  BridgeDB           |        Version:
 Keywords:  email-distributor  |  Actual Points:
Parent ID:                     |         Points:
-------------------------------+----------------------
 13:29:04 INFO     L568:autoresponder.reply()    Got an email; deciding
 whether to reply.
 13:29:04 DEBUG    L606:autoresponder.runCheck() Canonicalizing client
 email domain...
 13:29:04 DEBUG    L613:autoresponder.runCheck() Canonical email domain:
 gmail.com
 13:29:04 ERROR    L620:autoresponder.runCheck() SMTP/Email canonical
 domain mismatch! ponticum vs gmail.com

 The last line is generated by:

 {{{
         # The canonical domains from the SMTP ``MAIL FROM:`` and the email
         # ``From:`` header should match:
         if self.incoming.canonicalFromSMTP != canonicalFromEmail:
             logging.error("SMTP/Email canonical domain mismatch!")
             return False
 }}}

 and canonicalFromSMTP is provided by SMTPMessage().

 I'm hotfixing it for now.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/12627>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list