incomplete domain name fails to send e-mail
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Hydrazine |
New
|
Undecided
|
Unassigned |
Bug Description
My computers fqdn was set to gallus.(null) after an oneiric install. This caused a backtrace when trying to send e-mail with feed-pqm
When I fixedit in /etc/hosts to gallus.local the problem stopped occuring.
Traceback (most recent call last):
File "/usr/bin/
sys.
File "/usr/bin/
if send_mp(launchpad, mp, send_mail=not opts.nomail):
File "/usr/bin/
SMTPConnect
File "/usr/lib/
self._connect()
File "/usr/lib/
self.
File "/usr/lib/
raise SMTPError("server refused HELO: %d %s" % (code, resp))
bzrlib.
This is tricky because it's basically a configuration error, and while it would be good to add a check before sending an invalid host name, knowing what level to put that is hard. Arguably Python's smtplib would be best place, and I'm not sure what benefit hydrazine could add by catching the bzrlib SMTPError over just letting it propagate.