After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 714299 - Can't send mail to local addresses
Can't send mail to local addresses
Status: RESOLVED FIXED
Product: geary
Classification: Other
Component: engine
unspecified
Other All
: Low normal
: 0.13.0
Assigned To: Geary Maintainers
Geary Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-09-06 11:00 UTC by Jim Nelson
Modified: 2017-12-04 05:43 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Charles Lindsay 2013-11-21 20:26:02 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 

Comment 1 Federico Bruni 2017-12-03 18:34:51 UTC
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
Comment 2 Michael Gratton 2017-12-04 05:43:16 UTC
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.