# MiaB able to send mail, but can't receive mail

**URL:** <https://discourse.mailinabox.email/t/miab-able-to-send-mail-but-cant-receive-mail/13220>\
**Category:** uncategorized\
**Created:** [September 8, 2025, 7:48am UTC](https://discourse.mailinabox.email/t/miab-able-to-send-mail-but-cant-receive-mail/13220 "2025-09-08T07:48:20Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![hixie](https://discourse.mailinabox.email/letter_avatar_proxy/v4/letter/h/f1d935/32.png) [@hixie](https://discourse.mailinabox.email/u/hixie)\
**Post date:** [September 8, 2025, 7:48am UTC](https://discourse.mailinabox.email/t/miab-able-to-send-mail-but-cant-receive-mail/13220/1 "2025-09-08T07:48:20Z")

</div>

Domain: [ailawandorder.com](http://ailawandorder.com)  
MiaB V73

I’m having some issue with my box being able to send email without any problem, but can’t receive any mail.  
I’ve checked all my DNS and firewall settings and can’t seem to find where the issue is.  
Anyone could guide me around pinpointing the issue?

---

<div class="post-metadata">

**Author:** ![Fezzy](https://discourse.mailinabox.email/letter_avatar_proxy/v4/letter/f/e19adc/32.png) [@Fezzy](https://discourse.mailinabox.email/u/Fezzy)\
**Post date:** [September 8, 2025, 11:14am UTC](https://discourse.mailinabox.email/t/miab-able-to-send-mail-but-cant-receive-mail/13220/2 "2025-09-08T11:14:24Z")

</div>

The first place to start is your logs to learn what is happening with your server. Have you looked at /var/log/mail.err? mail.log?

---

<div class="post-metadata">

**Author:** ![hixie](https://discourse.mailinabox.email/letter_avatar_proxy/v4/letter/h/f1d935/32.png) [@hixie](https://discourse.mailinabox.email/u/hixie)\
**Post date:** [September 8, 2025, 1:41pm UTC](https://discourse.mailinabox.email/t/miab-able-to-send-mail-but-cant-receive-mail/13220/3 "2025-09-08T13:41:45Z")

</div>

![Screenshot 2025-09-08 213444](https://discourse.mailinabox.email/uploads/default/original/2X/5/5a19882da9d992a0d9a6a09b37ac96b636d6b058.jpeg)  
Nothing really stands out to me.  
I cleared the original log, and sent myself an email then a few minutes later checked the log.

---

<div class="post-metadata">

**Author:** ![Fezzy](https://discourse.mailinabox.email/letter_avatar_proxy/v4/letter/f/e19adc/32.png) [@Fezzy](https://discourse.mailinabox.email/u/Fezzy)\
**Post date:** [September 8, 2025, 2:12pm UTC](https://discourse.mailinabox.email/t/miab-able-to-send-mail-but-cant-receive-mail/13220/4 "2025-09-08T14:12:42Z")

</div>

I see you’re on v73 and did you update after the z-push update on 28 July. I say this because it looks like your logging in / out fairly quickly using imap, and maybe the z-push update will help.

---

<div class="post-metadata">

**Author:** ![hixie](https://discourse.mailinabox.email/letter_avatar_proxy/v4/letter/h/f1d935/32.png) [@hixie](https://discourse.mailinabox.email/u/hixie)\
**Post date:** [September 8, 2025, 2:28pm UTC](https://discourse.mailinabox.email/t/miab-able-to-send-mail-but-cant-receive-mail/13220/5 "2025-09-08T14:28:41Z")

</div>

Everything is up-to-date according to the official curl install command. In the past month I’ve probably ran it 20+ times just to make sure everything is fine.

Looking through the z-push logs it’s all empty.

Using [MX Lookup - Check MX Records of Domain](https://dnschecker.org/mx-lookup.php?query=ailawandorder.com&dns=google)  
Status says: Connection Error  
and  
Connection Timed Out

Leads me to believe it’s firewall related, but both router and and Ubuntu firewall seem to be setup correctly.

---

<div class="post-metadata">

**Author:** ![Fezzy](https://discourse.mailinabox.email/letter_avatar_proxy/v4/letter/f/e19adc/32.png) [@Fezzy](https://discourse.mailinabox.email/u/Fezzy)\
**Post date:** [September 8, 2025, 3:13pm UTC](https://discourse.mailinabox.email/t/miab-able-to-send-mail-but-cant-receive-mail/13220/6 "2025-09-08T15:13:17Z")

</div>

Looks like port 25 is closed from your server provider. For many, you just have to submit a ticket to open it up.

 ![IMG_3879](https://discourse.mailinabox.email/uploads/default/original/2X/1/13b7ea5e6508cbc224b5a974a3b8ed18880226dc.jpeg)

---

<div class="post-metadata">

**Author:** ![hixie](https://discourse.mailinabox.email/letter_avatar_proxy/v4/letter/h/f1d935/32.png) [@hixie](https://discourse.mailinabox.email/u/hixie)\
**Post date:** [September 8, 2025, 3:16pm UTC](https://discourse.mailinabox.email/t/miab-able-to-send-mail-but-cant-receive-mail/13220/7 "2025-09-08T15:16:38Z")

</div>

I have used that exact service to find port 25 is “closed”, I’ve contacted my ISP already and they said that after checking port 25 is not blocked.  
On my Mail-in-a-Box admin panel, is does say  
“Outbound mail (SMTP port 25) is not blocked”

Is there a way to check and make sure it’s my ISP and not me that did something dumb on the router?

---

<div class="post-metadata">

**Author:** ![hixie](https://discourse.mailinabox.email/letter_avatar_proxy/v4/letter/h/f1d935/32.png) [@hixie](https://discourse.mailinabox.email/u/hixie)\
**Post date:** [September 9, 2025, 8:12am UTC](https://discourse.mailinabox.email/t/miab-able-to-send-mail-but-cant-receive-mail/13220/8 "2025-09-09T08:12:36Z")

</div>

![Screenshot 2025-09-09 161129](https://discourse.mailinabox.email/uploads/default/original/2X/7/76e71455309c6e2a20668a6a2122ce8a52bcee18.png)  
Don’t know if this might be the culprit, lost connection after EHLO

 ![Screenshot 2025-09-09 163405](https://discourse.mailinabox.email/uploads/default/original/2X/3/3565c3eb9848cbb4d6d0af4ea0a81be4fd44578e.png)  
Don’t know if this might be helpful, but postfix/anvil max connection rate doesn’t sound like a good thing

---

<div class="post-metadata">

**Author:** ![Fezzy](https://discourse.mailinabox.email/letter_avatar_proxy/v4/letter/f/e19adc/32.png) [@Fezzy](https://discourse.mailinabox.email/u/Fezzy)\
**Post date:** [September 9, 2025, 10:45am UTC](https://discourse.mailinabox.email/t/miab-able-to-send-mail-but-cant-receive-mail/13220/9 "2025-09-09T10:45:51Z")

</div>

FWIW, I’m no expert on this stuff, just someone who’s been running a MIAB for several years now.

Looking at the logs, it seems to be on the postfix server side where you’re having the problem because you are connecting, but immediately disconnecting. I would take a careful look at your postfix config file and see if you have a IP allow/block rules that might be impacting your setup. e.g. are you allowing 10.0.0.1?

---

<div class="post-metadata">

**Author:** ![KiekerJan](https://discourse.mailinabox.email/user_avatar/discourse.mailinabox.email/kiekerjan/32/2339_2.png) [@KiekerJan](https://discourse.mailinabox.email/u/KiekerJan)\
**Post date:** [September 9, 2025, 3:41pm UTC](https://discourse.mailinabox.email/t/miab-able-to-send-mail-but-cant-receive-mail/13220/10 "2025-09-09T15:41:25Z")

</div>

> [@hixie](#):
>
> Nothing really stands out to me.  
> I cleared the original log, and sent myself an email then a few minutes later checked the log.

At what time did you send the mail? Is the relevant part of the log shown?

> [@hixie](#):
>
> not me that did something dumb on the router?

Why is there a router involved?

> [@hixie](#):
>
> Don’t know if this might be the culprit, lost connection after EHLO

Stretchoid is a scanner, I don´t think this is relevant.

> [@hixie](#):
>
> Don’t know if this might be helpful, but postfix/anvil max connection rate doesn’t sound like a good thing

10.0.0.1 is a private address. Is this you trying stuff? The anvil stuff does not worry me, it’s just giving you the status.

I tried [Network Tools: DNS,IP,Email](https://mxtoolbox.com/SuperTool.aspx?action=mx%3aailawandorder.com&run=toolpage#) which seems to be ok. It is able to connect to your box, with a session transcript that is recognizable. This suggests no directly recognizable errors, and you should be able to receive mail.  
Maybe try again, and look at the relevant part of `/var/log/mail.log` ?

---

<div class="post-metadata">

**Author:** ![hixie](https://discourse.mailinabox.email/letter_avatar_proxy/v4/letter/h/f1d935/32.png) [@hixie](https://discourse.mailinabox.email/u/hixie)\
**Post date:** [September 9, 2025, 5:58pm UTC](https://discourse.mailinabox.email/t/miab-able-to-send-mail-but-cant-receive-mail/13220/11 "2025-09-09T17:58:51Z")

</div>

As of a few hours ago, I’ve solved majority of the issues.  
I was running MiaB locally as a vm, and had pfsense forward the relevant ports. I’ve checked them over 10 times to make sure they were correct. Even disabled, then re-enabled them to force some sort of filter reload. On top of manually reloading the filter.  
Reading the pfsense documentation, best practices for forwarding multiple ports is to group them into an alias and forward the alias all at once instead of one by one. That seemed to have solved the issue.

The only remaining issue i have is the MTA-STS policy missing warning. Reading over many threads here doesn’t seem to be a clear indication of what the issue might be.

Error: MTA-STS policy is missing: STSFetchResult.NONE

---

<div class="post-metadata">

**Author:** ![KiekerJan](https://discourse.mailinabox.email/user_avatar/discourse.mailinabox.email/kiekerjan/32/2339_2.png) [@KiekerJan](https://discourse.mailinabox.email/u/KiekerJan)\
**Post date:** [September 9, 2025, 6:21pm UTC](https://discourse.mailinabox.email/t/miab-able-to-send-mail-but-cant-receive-mail/13220/12 "2025-09-09T18:21:38Z")

</div>

The MTA-STS warning might resolve overnight, just wait one day, it might be gone 😉

---

<div class="post-metadata">

**Author:** ![hixie](https://discourse.mailinabox.email/letter_avatar_proxy/v4/letter/h/f1d935/32.png) [@hixie](https://discourse.mailinabox.email/u/hixie)\
**Post date:** [September 11, 2025, 8:32am UTC](https://discourse.mailinabox.email/t/miab-able-to-send-mail-but-cant-receive-mail/13220/13 "2025-09-11T08:32:45Z")

</div>

Here to be the bearer of bad news; it’s been about 36 hours and the MTA-STS warning hasn’t resolved itself.

---

<div class="post-metadata">

**Author:** ![Fezzy](https://discourse.mailinabox.email/letter_avatar_proxy/v4/letter/f/e19adc/32.png) [@Fezzy](https://discourse.mailinabox.email/u/Fezzy)\
**Post date:** [September 11, 2025, 10:04am UTC](https://discourse.mailinabox.email/t/miab-able-to-send-mail-but-cant-receive-mail/13220/14 "2025-09-11T10:04:51Z")

</div>

Well, I’ll ask the obvious question: have you verified the file exists?

---

<div class="post-metadata">

**Author:** ![hixie](https://discourse.mailinabox.email/letter_avatar_proxy/v4/letter/h/f1d935/32.png) [@hixie](https://discourse.mailinabox.email/u/hixie)\
**Post date:** [September 11, 2025, 10:20am UTC](https://discourse.mailinabox.email/t/miab-able-to-send-mail-but-cant-receive-mail/13220/15 "2025-09-11T10:20:52Z")

</div>

/var/lib/mailinabox/mta-sts.txt shows

```auto
version: STSv1
mode: enforce
mx: box.ailawandorder.com
max_age: 604800

```

[https://mta-sts.ailawandorder.com/.well-known/mts-sts.txt](https://mta-sts.ailawandorder.com/.well-known/mts-sts.txt)  
shows 404 not found

---

<div class="post-metadata">

**Author:** ![Fezzy](https://discourse.mailinabox.email/letter_avatar_proxy/v4/letter/f/e19adc/32.png) [@Fezzy](https://discourse.mailinabox.email/u/Fezzy)\
**Post date:** [September 11, 2025, 11:20am UTC](https://discourse.mailinabox.email/t/miab-able-to-send-mail-but-cant-receive-mail/13220/16 "2025-09-11T11:20:59Z")

</div>

How about the file:

> /root/mailinabox/conf/mta-sts.txt

Mine has:

> version: STSv1  
> mode: MODE  
> mx: PRIMARY\_HOSTNAME  
> max\_age: 604800

---

<div class="post-metadata">

**Author:** ![Fezzy](https://discourse.mailinabox.email/letter_avatar_proxy/v4/letter/f/e19adc/32.png) [@Fezzy](https://discourse.mailinabox.email/u/Fezzy)\
**Post date:** [September 11, 2025, 11:23am UTC](https://discourse.mailinabox.email/t/miab-able-to-send-mail-but-cant-receive-mail/13220/17 "2025-09-11T11:23:57Z")

</div>

> [@hixie](#):
>
> [https://mta-sts.ailawandorder.com/.well-known/mts-sts.txt](https://mta-sts.ailawandorder.com/.well-known/mts-sts.txt)  
> shows 404 not found

Seems like a permission problem amongst your VM, web server, and MIAB. That’s a rabiit hole… Beyond my scope! Good luck. ☹

---

<div class="post-metadata">

**Author:** ![hixie](https://discourse.mailinabox.email/letter_avatar_proxy/v4/letter/h/f1d935/32.png) [@hixie](https://discourse.mailinabox.email/u/hixie)\
**Post date:** [September 11, 2025, 12:07pm UTC](https://discourse.mailinabox.email/t/miab-able-to-send-mail-but-cant-receive-mail/13220/18 "2025-09-11T12:07:15Z")

</div>

/root/mailinabox/conf/mta-sts.txt shows the same as yours

Thanks for your help anyways.

I’ll start digging into why it’s 404

---

<div class="post-metadata">

**Author:** ![KiekerJan](https://discourse.mailinabox.email/user_avatar/discourse.mailinabox.email/kiekerjan/32/2339_2.png) [@KiekerJan](https://discourse.mailinabox.email/u/KiekerJan)\
**Post date:** [September 11, 2025, 4:36pm UTC](https://discourse.mailinabox.email/t/miab-able-to-send-mail-but-cant-receive-mail/13220/19 "2025-09-11T16:36:30Z")

</div>

Your site seems to have dns issues. First fix those.

---

<div class="post-metadata">

**Author:** ![hixie](https://discourse.mailinabox.email/letter_avatar_proxy/v4/letter/h/f1d935/32.png) [@hixie](https://discourse.mailinabox.email/u/hixie)\
**Post date:** [September 11, 2025, 5:26pm UTC](https://discourse.mailinabox.email/t/miab-able-to-send-mail-but-cant-receive-mail/13220/20 "2025-09-11T17:26:54Z")

</div>

I switch to using MiaB’s dns to see if anything would change, that seem to break things even more. Even though MiaB’s status checks doesn’t report any problems (apart fom MTA-STS missing).  
Switched back to using my domain providers DNS, waiting for DNS records to propogate.

[Next page](https://discourse.mailinabox.email/t/miab-able-to-send-mail-but-cant-receive-mail/13220.md?page=2)
