simple-login / app

The SimpleLogin back-end and web app
https://simplelogin.io
GNU Affero General Public License v3.0
5.04k stars 421 forks source link

Reverse Alias and Custom Domain Issues #1810

Open Sebqy opened 1 year ago

Sebqy commented 1 year ago

I am using a custom domain. I can receive emails just fine, but sending emails back using the reverse alias is not working. When I try to do this, I get a notification on my SimpleLogin account page saying "Email cannot be sent to x@gmail.com from your alias x@example.com".

I think this may be a general bug for people using custom domains.

springcomp commented 10 months ago

@Sebqy

Your custom domain is redirecting all incoming emails to one of your mailboxes. As a general principle, all SimpleLogin aliases are also associated with a mailbox.

SimpleLogin rightly prevents you from using a mailbox (real email address) to send to an alias that is associated with the mailbox itself, in order to prevent infinite loops. I’m pretty sure that is the situation you are in.

Let’s say:

SimpleLogin will not allow you to send an email from your-inbox@my-mailbox.com to one of those aliases, as theses aliases are owned by the mailbox itself. And that is a good thing.

Instead, you should always send your emails using the corresponding reverse-aliases.

In my example above, both info@example.com and contact@example.com are SimpleLogin aliases, and both have one of more "contacts" that have been created when you received incoming emails to your custom domain. You MUST use one of those reverse aliases’ email address to send emails to directly from you real mailbox.