Opened 10 years ago

Last modified 10 years ago

#541 defect closed fixed (fixed)

smtp.Address class can't deal with NULL address - breaks bounces

Reported by: iko Owned by:
Priority: high Milestone:
Component: mail Keywords:
Cc: exarkun, iko Branch:
Author: Launchpad Bug:

Description


Attachments (1)

twisted-smtp-040305 (918 bytes) - added by iko 10 years ago.

Download all attachments as: .zip

Change History (4)

Changed 10 years ago by iko

comment:1 Changed 10 years ago by iko

The smtp.Address class has changed to always force the existence of a domain
name. This breaks the null address (<>) used to send bounce messages, since it
will get transmogrified into <@your.dom.ain> which is not a valid address.

While there may be reasons to enforce existance of domain name in some places,
this is not the place, since the Address class knows nothing about the use of
the address (To? From? Something else?), and anyway, guessing email domain names
is likely to get you the wrong guess.

This patch changes it back.

comment:2 Changed 10 years ago by exarkun

Resolved a while ago

comment:3 Changed 4 years ago by <automation>

  • Owner exarkun deleted
Note: See TracTickets for help on using tickets.