GNOME Bugzilla – Bug 714299
Can't send mail to local addresses
Last modified: 2017-12-04 05:43:16 UTC
---- Reported by jim@yorba.org 2012-09-06 16:00:00 -0700 ---- Original Redmine bug id: 5776 Original URL: http://redmine.yorba.org/issues/5776 Searchable id: yorba-bug-5776 Original author: Jim Nelson Original description: The addressing entries in the composer use regex to verify a proper email address has been entered. However, they do not allow local addresses, i.e. "jim@localhost". Because of this, the Send button is never sensitive and the mail cannot be sent. This is an Engine bug because the validation method is in Geary.RFC822.MailboxAddress. Related issues: related to geary - 4313: Mail composer: validate e-mail addresses (Fixed) ---- Additional Comments From geary-maint@gnome.bugs 2012-09-07 15:55:00 -0700 ---- ### History #### #1 Updated by Adam Dingle about 1 year ago * **Target version** deleted (<strike>_0.2_</strike>) --- Bug imported by chaz@yorba.org 2013-11-21 20:26 UTC --- This bug was previously known as _bug_ 5776 at http://redmine.yorba.org/show_bug.cgi?id=5776 Unknown version " in product geary. Setting version to "!unspecified". Unknown milestone "unknown in product geary. Setting to default milestone for this product, "---". Setting qa contact to the default for this product. This bug either had no qa contact or an invalid one. Resolution set on an open status. Dropping resolution
I confirm Jim's experience. A workaround could be using jim@localhost.localdomain, which is accepted by Geary. Of course you must have it in your hosts file: $ cat /etc/hosts 127.0.0.1 localhost.localdomain localhost
To be honest I'm wondering what the use case this is, since there aren't going to be many MTAs that are happy to accept mail for @localhost, but adding special case exception for it to the regex was pretty easy. I didn't add generic support for addresses with zero-dot domains like "person@example" since I'm pretty sure that is something we want to avoid. Fixed on master by commit b6980a2.