Page MenuHomePhabricator

support for gmail address alias
Closed, WontfixPublic

Description

Hi,

reply via email are rejected when gmail address alias feature is used:
e.g. reply with jane.doe+phabricator@gmail.com instead of jane.doe@gmail.com

Is there any plan to support gmail address alias on reply via email?
Any pointers to the related code? I suspect mail_handler.php but it's just a guess.

Thanks.

Event Timeline

fathi.boudra raised the priority of this task from to Needs Triage.
fathi.boudra updated the task description. (Show Details)
fathi.boudra added a subscriber: fathi.boudra.
This comment has been deleted.

It's expected that this will work, as long as you're using the same address as your email address in Phabricator and as a reply address.

What error do you receive, specifically?

Your email to Phabricator was not processed, because an error occurred while
trying to handle it:

This email was sent from "Jane Doe <jane.doe+phabricator@gmail.com>",
but that address is not recognized by Phabricator and does not correspond to
any known user account.

Phabricator is also not configured to allow unknown external users to send
mail to the system using just an email address.

To interact with Phabricator, add this address ("Jane Doe <jane.doe@gmail.com>")
to your account.

Phabricator wants the "sender" to match exactly one of the subscribers. Indeed, using the same address as email address and as reply address works as expected but it prevents to use gmail address aliases.

The obvious workaround would be to register the alias used but other systems like bugzilla or launchpad doesn't require such workaround to work out of the box with this feature.

Is it possible to relax the email address check in order to support this specific gmail feature?

epriestley claimed this task.

This is working as intended. You can add the address to your account in SettingsEmail Addresses if you want it to work, per the instructions in the error:

To interact with Phabricator, add this address ("Jane Doe <jane.doe@gmail.com>") to your account.

I see. I missed that additional email addresses can be added. Thanks.