# Mautic 'send from' address only valid if on installation domain?

**URL:** <https://forum.mautic.org/t/mautic-send-from-address-only-valid-if-on-installation-domain/14279>\
**Category:** Product Support\
**Created:** [May 11, 2020, 3:59pm UTC](https://forum.mautic.org/t/mautic-send-from-address-only-valid-if-on-installation-domain/14279 "2020-05-11T15:59:04Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![rdh001](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/rdh001/32/666_2.png) [@rdh001](https://forum.mautic.org/u/rdh001)\
**Post date:** [May 11, 2020, 3:59pm UTC](https://forum.mautic.org/t/mautic-send-from-address-only-valid-if-on-installation-domain/14279/1 "2020-05-11T15:59:04Z")

</div>

There are several other posts about the **‘send from’** address, but I can’t find the answer to the following question.

As I understand it, you can set the ‘send from’ address specifically in two places  
\* Settings =\> Configuration =\> Email Settings  
\* In the email itself, via Edit =\> Advanced tab

My experience is that I can only get messages sent successfully if the ‘send from’ address is based on the same domain that Mautic is installed on.

IOW I can only get a successful send if the ‘send from’ address is:  
something @MyMauticInstallation.com

If I put any other address in the ‘send from’ field, even when it is a valid email address, the send fails 100%

My question is – is this how Mautic works? Is it supposed to be like this, or am I missing something?

Any help appreciated.

---

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [May 15, 2020, 10:27pm UTC](https://forum.mautic.org/t/mautic-send-from-address-only-valid-if-on-installation-domain/14279/2 "2020-05-15T22:27:10Z")

</div>

Hi,  
Not really. What are you using as email sending method? Can it be that you are using Amazon SES or any other smtp where the mentioned second domain is not approved?  
This could be the reason why they fail.  
Joey

---

<div class="post-metadata">

**Author:** ![rdh001](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/rdh001/32/666_2.png) [@rdh001](https://forum.mautic.org/u/rdh001)\
**Post date:** [May 16, 2020, 3:01am UTC](https://forum.mautic.org/t/mautic-send-from-address-only-valid-if-on-installation-domain/14279/3 "2020-05-16T03:01:24Z")

</div>

Hi joeyk,

thanks for your response. I am sending through an SMTP server that I set up on a VPS.

I tried a couple of other email addresses on a different domain that I own in the ‘_send from_’ field.

I am new to this – I didn’t realize that the domain used in the ‘_send from_’ field had to be approved by the SMTP.

Thanks for the tip, I’ll try to find some information about that. If there’s anything you can add, that would be great.

---

<div class="post-metadata">

**Author:** ![rdh001](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/rdh001/32/666_2.png) [@rdh001](https://forum.mautic.org/u/rdh001)\
**Post date:** [May 16, 2020, 3:31am UTC](https://forum.mautic.org/t/mautic-send-from-address-only-valid-if-on-installation-domain/14279/4 "2020-05-16T03:31:12Z")

</div>

Hi joeyK,

I am using Postal for my SMTP service. I just took a look and I guess what you are saying is that I would have to add that second domain in Postal in order to use it in the ‘send from’ field in Mautic.

Thanks for your help.

Robert

---

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [May 16, 2020, 1:39pm UTC](https://forum.mautic.org/t/mautic-send-from-address-only-valid-if-on-installation-domain/14279/5 "2020-05-16T13:39:31Z")

</div>

No Problem Robert! Quick question: do you have feedback loop setup for postal? Is it imap? Thx

---

<div class="post-metadata">

**Author:** ![rdh001](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/rdh001/32/666_2.png) [@rdh001](https://forum.mautic.org/u/rdh001)\
**Post date:** [May 16, 2020, 3:51pm UTC](https://forum.mautic.org/t/mautic-send-from-address-only-valid-if-on-installation-domain/14279/6 "2020-05-16T15:51:26Z")

</div>

Hi Joey,

I have been trying to figure that out. I have an IMAP enabled email set up in the ‘ **Monitored Inbox Setting** ’, which tests successfully when I click ‘ **Test connection and fetch folders** ’. I have set up a ‘Bounced’ segment with the appropriate filtering.

But I don’t yet understand what happens next, or if there is anything else I have to do.

Robert

---

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [May 17, 2020, 6:11am UTC](https://forum.mautic.org/t/mautic-send-from-address-only-valid-if-on-installation-domain/14279/7 "2020-05-17T06:11:33Z")

</div>

Yeah, I never got that working, this is why I was asking.  
However I created a small php script on my server, that accepts the payload from Postal webhook, and sets bounced status via API for the email concerned. I’m not using Postal right now, as warming up your own IP is a pain, but I can look up the script (dirty workaround) if it is any help for you.

---

<div class="post-metadata">

**Author:** ![robm](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/robm/32/260_2.png) [@robm](https://forum.mautic.org/u/robm)\
**Post date:** [October 3, 2020, 10:53am UTC](https://forum.mautic.org/t/mautic-send-from-address-only-valid-if-on-installation-domain/14279/8 "2020-10-03T10:53:18Z")

</div>

HI Joeyk,

I have just set up postal and have it working. I fear I may be boldly going where angels fear to tread with regards to IP warming and managing my own IP. I know just enough to be dangerous and I end a low volume of email.

I am have hit a wall with getting managing bounces. I can’t get Postal to fwd bounced emails to a mautic monitored inbox. I have managed to [mess with the code](https://github.com/templateria/postal/commit/d5941a99ffbfe7c49bcbeb4aea6ac05d2e1b9c42) so that postal does not overwrite the mautic generated bounce back address. This might create DNS issues for me but one problem at a time.

But

The inbox that Mautic monitors won’t accept the bounced backed emails once mautic has added the unique identifier additions to the return path address.

I am not sure what to try next?

U mention PHP scripts and payloads? But this level of fix might be beyond my understanding level.

---

<div class="post-metadata">

**Author:** ![arcmedia](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/arcmedia/32/1441_2.png) [@arcmedia](https://forum.mautic.org/u/arcmedia)\
**Post date:** [April 7, 2021, 6:52am UTC](https://forum.mautic.org/t/mautic-send-from-address-only-valid-if-on-installation-domain/14279/9 "2021-04-07T06:52:39Z")

</div>

hi @joeyk  
I manage a Mautic installation using Postal as SMTP. I have now the challenge to register bounces in Mautic what ideally could be done using webhooks.

Could you explain or share you solution to this matter? Would be fantastic to have an integrated handler to Postal webhooks but until then that script you mention could fit.

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [April 7, 2021, 6:54am UTC](https://forum.mautic.org/t/mautic-send-from-address-only-valid-if-on-installation-domain/14279/10 "2021-04-07T06:54:35Z")

</div>

I’m not a symphony coder, so I do everything quick and dirty ☹  
However I never trusted the monitored inbox, probably because I’ve never fiddled a lot around with it.

I have a script laying around somewhere, that captures webhooks from POSTAL and does DNC via API to Mautic.  
Would that by any help?

---

<div class="post-metadata">

**Author:** ![arcmedia](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/arcmedia/32/1441_2.png) [@arcmedia](https://forum.mautic.org/u/arcmedia)\
**Post date:** [April 7, 2021, 6:56am UTC](https://forum.mautic.org/t/mautic-send-from-address-only-valid-if-on-installation-domain/14279/11 "2021-04-07T06:56:37Z")

</div>

Thanks for the quick reply, would you be so glad to share it? it will be really useful to the community as i saw many user of Postal.

---

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [April 7, 2021, 6:57am UTC](https://forum.mautic.org/t/mautic-send-from-address-only-valid-if-on-installation-domain/14279/12 "2021-04-07T06:57:34Z")

</div>

I originally coded it for Sendy in 2018, so it’s khm well…  
But I’ll send it to you in PM, let me look it up this afternoon.

---

<div class="post-metadata">

**Author:** ![fkrafft](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/fkrafft/32/2220_2.png) [@fkrafft](https://forum.mautic.org/u/fkrafft)\
**Post date:** [November 18, 2021, 12:40am UTC](https://forum.mautic.org/t/mautic-send-from-address-only-valid-if-on-installation-domain/14279/13 "2021-11-18T00:40:01Z")

</div>

@joeyk this script you are talking about, it would be golden to get access to that if it’s possible? I got the postal installation working but without any bounce management, I am kind of screwed. Another thanks in advance 🙂

---

<div class="post-metadata">

**Author:** ![entrepositive](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/entrepositive/32/9645_2.png) [@entrepositive](https://forum.mautic.org/u/entrepositive)\
**Post date:** [November 27, 2021, 6:03pm UTC](https://forum.mautic.org/t/mautic-send-from-address-only-valid-if-on-installation-domain/14279/14 "2021-11-27T18:03:37Z")

</div>

Hey Joey,

If you’re trying to earn revenue on your work - totally understand. If not, it would be super helpful if you shared it here in this thread!

Thanks,  
EP

---

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [November 28, 2021, 12:23am UTC](https://forum.mautic.org/t/mautic-send-from-address-only-valid-if-on-installation-domain/14279/15 "2021-11-28T00:23:22Z")

</div>

Hi, I dont share content for money on the forum in private messages. But the script I have is not uptodate, doesnt work with postal now. Since I dont have a working postal at the moment I cant test it. If you send me a bounce webhook content I will modify the script and post it.

---

<div class="post-metadata">

**Author:** ![vega4](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/vega4/32/7308_2.png) [@vega4](https://forum.mautic.org/u/vega4)\
**Post date:** [June 20, 2022, 9:11am UTC](https://forum.mautic.org/t/mautic-send-from-address-only-valid-if-on-installation-domain/14279/16 "2022-06-20T09:11:03Z")

</div>

OK; I’ve dived deep into this and I can confirm with 100% certainty that external e-mail addresses i.e. ones not at @mauticinstallation.com, when assigned to e-mails, are IGNORED and mautic uses the DEFAULT address instead.

**Now, that’s a Big Bummer.**

Also, there is NO WAY to make Mautic not use the ‘append +\_bounceXYZ’ into the source e-mail making any responses fail to be delivered 100% if your SMTP server does not support the ‘+’ semantics.

That should be in red all over the place.

Same problem is visible here:

> [@URLs in segment email are not using the site\_url](https://forum.mautic.org/t/urls-in-segment-email-are-not-using-the-site-url/17457/2):
>
> Hello Jan! This is what happened when Mautic sends out a real send, all emails will be replaced with the tracking domain (mautic url) for tracking purposes. This is how Mautic knows someone clicked (+a tracking img will also track your opens containing the same url) However during simple testing this doesnt happen. You can mitigate this issue by using the same trick you used for your website tracking. Joey

Currently, there is no way to:

1. send emails from external domains
2. override Mautic messing with the source e-mail address.  
Yes, in some cases, especially when sending private e-mails we do not care about tracking at all.

---

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [June 20, 2022, 12:16pm UTC](https://forum.mautic.org/t/mautic-send-from-address-only-valid-if-on-installation-domain/14279/17 "2022-06-20T12:16:58Z")

</div>

> 1. send emails from external domains

I’m not sure what do you mean by that.

You can have your mautic installed at “[mauticdomain.com](http://mauticdomain.com)” and send emails from “[myemaildomain.com](http://myemaildomain.com)”. It is pretty standard procedure. We do it by 80+ clients every day.

You can even adjust the tracking domains with the multi domain plugin, so the email address domain matches the tracking links. This plugin also demonstrates how to alter email content via plugin dynamically.

Joey
