canonicalFromSMTP is not what we think it should be

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.

Edited by meskio