# Help with Setup/Upgrade

**URL:** https://discourse.mailinabox.email/c/help-with-setup/5.md

[Latest](https://discourse.mailinabox.email/latest.md) · [Categories](https://discourse.mailinabox.email/categories.md)

---

## [About the Help with Setup/Upgrade category](https://discourse.mailinabox.email/t/about-the-help-with-setup-upgrade-category/7)

<div class="topic-metadata">

**Author:** [@JoshData](https://discourse.mailinabox.email/u/JoshData)\
**Replies:** 2\
**Last updated:** [November 19, 2018, 5:38pm UTC](https://discourse.mailinabox.email/t/about-the-help-with-setup-upgrade-category/7 "2018-11-19T17:38:43Z")

</div>

Get help setting up a new Mail-in-a-Box or upgrading an existing Mail-in-a-Box by asking your question here. Look through the setup guide and the Guides category) to see if your question is answered before asking here. …

---

## [Can not move messages to spam in Roundcube](https://discourse.mailinabox.email/t/can-not-move-messages-to-spam-in-roundcube/17046)

<div class="topic-metadata">

**Author:** [@Mg344](https://discourse.mailinabox.email/u/Mg344)\
**Replies:** 3\
**Last updated:** [October 19, 2026, 11:45pm UTC](https://discourse.mailinabox.email/t/can-not-move-messages-to-spam-in-roundcube/17046 "2026-10-19T23:45:10Z")

</div>

MIAB v77 Roundcube Webmail 1.6.19 As far as I can tell, the only way that is supported by this RC version to mark messages as spam, is selecting them and moving them to the spam folder, however, there is an error messa…

---

## [Secondary nameserver not getting data](https://discourse.mailinabox.email/t/secondary-nameserver-not-getting-data/17052)

<div class="topic-metadata">

**Author:** [@miaber](https://discourse.mailinabox.email/u/miaber)\
**Replies:** 1\
**Last updated:** [October 19, 2026, 4:09pm UTC](https://discourse.mailinabox.email/t/secondary-nameserver-not-getting-data/17052 "2026-10-19T16:09:03Z")

</div>

ns2.afraid.org xfr:69.65.50.192 xfr:2001:1850:1:5:800::6b I can’t figure out what is wrong here and I keep getting errors on ns2.afraid.org Any ideas?

---

## [How to use \`local\`?](https://discourse.mailinabox.email/t/how-to-use-local/16920)

<div class="topic-metadata">

**Author:** [@miaber](https://discourse.mailinabox.email/u/miaber)\
**Replies:** 2\
**Last updated:** [September 27, 2026, 6:05am UTC](https://discourse.mailinabox.email/t/how-to-use-local/16920 "2026-09-27T06:05:28Z")

</div>

What does this mean? Do I have it correct? We shouldn’t have a 250 character limitation, I believe everything above the — separator was clear and concise enough… and whatever else I’m writing here is unnecessary

---

## [Postgrey causing 15+ minute delays for legitimate incoming emails – best way to handle this?](https://discourse.mailinabox.email/t/postgrey-causing-15-minute-delays-for-legitimate-incoming-emails-best-way-to-handle-this/16941)

<div class="topic-metadata">

**Author:** [@Feydreva](https://discourse.mailinabox.email/u/Feydreva)\
**Replies:** 8\
**Last updated:** [September 26, 2026, 5:55pm UTC](https://discourse.mailinabox.email/t/postgrey-causing-15-minute-delays-for-legitimate-incoming-emails-best-way-to-handle-this/16941 "2026-09-26T17:55:46Z")

</div>

Hi, I’m running Mail-in-a-Box v74 and I’ve recently noticed that some legitimate incoming emails can take 10–15 minutes (or sometimes longer) to arrive. After checking /var/log/mail.log , it appears that Postgrey is ca…

---

## [Ubuntu 26.04 Migration - Testing](https://discourse.mailinabox.email/t/ubuntu-26-04-migration-testing/16893)

<div class="topic-metadata">

**Author:** [@david.blythe](https://discourse.mailinabox.email/u/david.blythe)\
**Replies:** 0\
**Last updated:** [September 13, 2026, 7:19am UTC](https://discourse.mailinabox.email/t/ubuntu-26-04-migration-testing/16893 "2026-09-13T07:19:01Z")

</div>

Looking for testers for the Migration, and for feature testing across the entire box. Pull request: Ubuntu 26.04 Migration by writeDavid · Pull Request #2603 · mail-in-a-box/mailinabox · GitHub On a TEST Box: Clone t…

---

## [Spammers getting through](https://discourse.mailinabox.email/t/spammers-getting-through/16858)

<div class="topic-metadata">

**Author:** [@miaber](https://discourse.mailinabox.email/u/miaber)\
**Replies:** 3\
**Last updated:** [September 9, 2026, 12:17am UTC](https://discourse.mailinabox.email/t/spammers-getting-through/16858 "2026-09-09T00:17:54Z")

</div>

Hi, I just can’t seem to shake these guys off, how are they getting pass the spam filters of MIAB? I see it received with LTMP, do I have a loophole somewhere? Weak passwords etc? Return-Path: \<info@mirapiva.com\> Del…

---

## [DNSSEC Options in v76 on a new Ubuntu 22.04 x64 Server](https://discourse.mailinabox.email/t/dnssec-options-in-v76-on-a-new-ubuntu-22-04-x64-server/16847)

<div class="topic-metadata">

**Author:** [@gclef](https://discourse.mailinabox.email/u/gclef)\
**Replies:** 0\
**Last updated:** [September 4, 2026, 5:46pm UTC](https://discourse.mailinabox.email/t/dnssec-options-in-v76-on-a-new-ubuntu-22-04-x64-server/16847 "2026-09-04T17:46:43Z")

</div>

Installing v76 of MIAB (Ubuntu 22.04 x64), the DNSSEC entry (in the Status Checks tab) shows 4 options. I’m not sure which option to use. I use Gandi as my registrar. Gandi seems to want the Public Key, and the various f…

---

## [2020 Xerox printer no longer connects to MIAB](https://discourse.mailinabox.email/t/2020-xerox-printer-no-longer-connects-to-miab/16829)

<div class="topic-metadata">

**Author:** [@rwillett](https://discourse.mailinabox.email/u/rwillett)\
**Replies:** 1\
**Last updated:** [September 2, 2026, 8:48am UTC](https://discourse.mailinabox.email/t/2020-xerox-printer-no-longer-connects-to-miab/16829 "2026-09-02T08:48:26Z")

</div>

Hi I’ve recently moved (not upgraded) a very old version of MIAB to a new MIAB server on a new IP address with a new hostname. I’ve managed to get all of the old emails across and to be honest it wasn’t a major hassle …

---

## [S3/remote storage for dovecot community edition](https://discourse.mailinabox.email/t/s3-remote-storage-for-dovecot-community-edition/16803)

<div class="topic-metadata">

**Author:** [@miaber](https://discourse.mailinabox.email/u/miaber)\
**Replies:** 5\
**Last updated:** [August 31, 2026, 8:20am UTC](https://discourse.mailinabox.email/t/s3-remote-storage-for-dovecot-community-edition/16803 "2026-08-31T08:20:06Z")

</div>

Does anyone have experience to store the mailboxes of dovecot on a remote server? I don’t think Maildir + NFS is feasible, feels slow, and I’m not sure if optimization will help Some of my mailboxes are at 20GB, so I do…

---

## [Nextcloud causing installation to fail](https://discourse.mailinabox.email/t/nextcloud-causing-installation-to-fail/16817)

<div class="topic-metadata">

**Author:** [@miaber](https://discourse.mailinabox.email/u/miaber)\
**Replies:** 1\
**Last updated:** [August 30, 2026, 10:46am UTC](https://discourse.mailinabox.email/t/nextcloud-causing-installation-to-fail/16817 "2026-08-30T10:46:14Z")

</div>

ubuntu@123d6f9:~$ sudo -u www-data php8.0 /usr/local/lib/owncloud/console.php app:enable contacts Could not download app contacts ubuntu@123d6f9:~$ We ought to remove or make nextcloud optional, any idea how to ove…

---

## [Nameservers cannot have multiple apex domains?](https://discourse.mailinabox.email/t/nameservers-cannot-have-multiple-apex-domains/16783)

<div class="topic-metadata">

**Author:** [@miaber](https://discourse.mailinabox.email/u/miaber)\
**Replies:** 8\
**Last updated:** [August 22, 2026, 3:50pm UTC](https://discourse.mailinabox.email/t/nameservers-cannot-have-multiple-apex-domains/16783 "2026-08-22T15:50:20Z")

</div>

I setup ns1.a.com and ns2.b.com as my nameservers, but when I query 1.1.1.1, 8.8.8.8 and 9.9.9.9, I either get ns1.a.com and ns2.a.com OR ns1.b.com and ns2.b.com My registrar Namesilo said I cannot specify a combinati…

---

## [Roundcube 504 timeout - further data](https://discourse.mailinabox.email/t/roundcube-504-timeout-further-data/16645)

<div class="topic-metadata">

**Author:** [@snrkl](https://discourse.mailinabox.email/u/snrkl)\
**Replies:** 0\
**Last updated:** [July 17, 2026, 2:49am UTC](https://discourse.mailinabox.email/t/roundcube-504-timeout-further-data/16645 "2026-07-17T02:49:51Z")

</div>

Hi all - I have been having issues with roundcube timing out on successful login, presenting an NGINX 504 gateway time-out error. This is a brand new v76 installation. Many searches turned up options that have helped s…

---

## [DigitalOcean Reserved IP + MIAB: NSD binds to Droplet IP while DNS records point to Reserved IP](https://discourse.mailinabox.email/t/digitalocean-reserved-ip-miab-nsd-binds-to-droplet-ip-while-dns-records-point-to-reserved-ip/16590)

<div class="topic-metadata">

**Author:** [@tapani.rosback](https://discourse.mailinabox.email/u/tapani.rosback)\
**Replies:** 5\
**Last updated:** [July 8, 2026, 6:39pm UTC](https://discourse.mailinabox.email/t/digitalocean-reserved-ip-miab-nsd-binds-to-droplet-ip-while-dns-records-point-to-reserved-ip/16590 "2026-07-08T18:39:06Z")

</div>

DigitalOcean Reserved IP + MIAB: NSD binds to Droplet IP while DNS records point to Reserved IP Hi, I’m trying to understand the correct Mail-in-a-Box setup for a DigitalOcean Droplet that uses a Reserved IP as the long…

---

## [Wanted to say thanks and state that MIAB works behind nginx, pfsense and external DNS](https://discourse.mailinabox.email/t/wanted-to-say-thanks-and-state-that-miab-works-behind-nginx-pfsense-and-external-dns/16574)

<div class="topic-metadata">

**Author:** [@rwillett](https://discourse.mailinabox.email/u/rwillett)\
**Replies:** 0\
**Last updated:** [June 19, 2026, 10:24am UTC](https://discourse.mailinabox.email/t/wanted-to-say-thanks-and-state-that-miab-works-behind-nginx-pfsense-and-external-dns/16574 "2026-06-19T10:24:09Z")

</div>

Not a problem but wanted to let people know that MIAB works on an ESXI server behind a separate nginx as a reverse proxy and thats behind a pfsense firewall. All are hosted on the same ESXI system at the moment. I spent…

---

## [Send mail as admin](https://discourse.mailinabox.email/t/send-mail-as-admin/16570)

<div class="topic-metadata">

**Author:** [@netmaster48](https://discourse.mailinabox.email/u/netmaster48)\
**Replies:** 1\
**Last updated:** [June 18, 2026, 9:53am UTC](https://discourse.mailinabox.email/t/send-mail-as-admin/16570 "2026-06-18T09:53:09Z")

</div>

Hi, initially I installed MIAB for domain mail.dd.tld with the same hostname. Entered admin@mail.dd.tld as a administrator account and everything was fine. Then after making some account under actual domain (dd.tld) a…

---

## [New install failing as it "Could not download app contacts"](https://discourse.mailinabox.email/t/new-install-failing-as-it-could-not-download-app-contacts/16548)

<div class="topic-metadata">

**Author:** [@pulloh](https://discourse.mailinabox.email/u/pulloh)\
**Replies:** 4\
**Last updated:** [June 17, 2026, 10:07am UTC](https://discourse.mailinabox.email/t/new-install-failing-as-it-could-not-download-app-contacts/16548 "2026-06-17T10:07:55Z")

</div>

I’m installing Miab v76 on a fresh VPS and the installation stops during the Nextcloud setup stage with the following error: FAILED: sudo -u www-data php8.0 /usr/local/lib/owncloud/console.php app:enable contacts -----…

---

## [Fresh Install on clean Machine failure](https://discourse.mailinabox.email/t/fresh-install-on-clean-machine-failure/16490)

<div class="topic-metadata">

**Author:** [@terrytokyo](https://discourse.mailinabox.email/u/terrytokyo)\
**Replies:** 8\
**Last updated:** [June 3, 2026, 2:56pm UTC](https://discourse.mailinabox.email/t/fresh-install-on-clean-machine-failure/16490 "2026-06-03T14:56:08Z")

</div>

Howdy I’ve set up an AWS Lightsail in Sydney AZ to build a new box to migrate my old MIAB BOX onto, however the build script is failing. Have run sudo apt update and sudo apt upgrade and rebooted before running …

---

## [Is Ubuntu 22.04 LTS a supported version of operating system?](https://discourse.mailinabox.email/t/is-ubuntu-22-04-lts-a-supported-version-of-operating-system/16535)

<div class="topic-metadata">

**Author:** [@Dodo](https://discourse.mailinabox.email/u/Dodo)\
**Replies:** 4\
**Last updated:** [June 12, 2026, 7:08pm UTC](https://discourse.mailinabox.email/t/is-ubuntu-22-04-lts-a-supported-version-of-operating-system/16535 "2026-06-12T19:08:42Z")

</div>

Is Ubuntu 22.04 LTS a supported version of operating system to install Mail-in-a-box v76? setup.sh would suggest it is, ChatGPT says otherwise. Post must be at least 250 characters. Post must be at least 250 characte…

---

## [How do I restrict access to /admin?](https://discourse.mailinabox.email/t/how-do-i-restrict-access-to-admin/16547)

<div class="topic-metadata">

**Author:** [@Dodo](https://discourse.mailinabox.email/u/Dodo)\
**Replies:** 7\
**Last updated:** [June 10, 2026, 2:49pm UTC](https://discourse.mailinabox.email/t/how-do-i-restrict-access-to-admin/16547 "2026-06-10T14:49:15Z")

</div>

I want to restrict access to the control panel interface to the IP address range of my ISP. At least, that seems like a sensible thing to do in terms of security. How do I do that on v76? Thanks in advance. Post must…

---

## [Chrome Dangerous Site warning](https://discourse.mailinabox.email/t/chrome-dangerous-site-warning/16476)

<div class="topic-metadata">

**Author:** [@cinergi](https://discourse.mailinabox.email/u/cinergi)\
**Replies:** 2\
**Last updated:** [May 21, 2026, 7:38pm UTC](https://discourse.mailinabox.email/t/chrome-dangerous-site-warning/16476 "2026-05-21T19:38:53Z")

</div>

Hello all, Occasionally, my mailinabox’s Roundcube Web interface is flagged by the Chrome browser as a Dangerous Site. This seems random - it goes away for days, then comes back. Usually closing the tab, waiting ~1 ho…

---

## [Nextcloud failure after PHP update](https://discourse.mailinabox.email/t/nextcloud-failure-after-php-update/16466)

<div class="topic-metadata">

**Author:** [@seindal](https://discourse.mailinabox.email/u/seindal)\
**Replies:** 4\
**Last updated:** [May 19, 2026, 8:35am UTC](https://discourse.mailinabox.email/t/nextcloud-failure-after-php-update/16466 "2026-05-19T08:35:45Z")

</div>

Hi, This morning my mail box upgraded php8.0 packages from Ubuntu, and I’m now getting complaints from Nextcloud. Trying to log in to mail.example.com/cloud I get the message: Cannot write into "apps" directory. Thi…

---

## [Second domain trouble - firs domain work correctly](https://discourse.mailinabox.email/t/second-domain-trouble-firs-domain-work-correctly/16455)

<div class="topic-metadata">

**Author:** [@kopevi](https://discourse.mailinabox.email/u/kopevi)\
**Replies:** 8\
**Last updated:** [May 16, 2026, 8:41am UTC](https://discourse.mailinabox.email/t/second-domain-trouble-firs-domain-work-correctly/16455 "2026-05-16T08:41:05Z")

</div>

I have trouble with addition of second domain. Everything looks good, but when I go to webmail there is problem with outgoing messages - it is not able to save outgoing email into folder, and roundcube send me this aler…

---

## [V75 upgrade issue - scratching head!](https://discourse.mailinabox.email/t/v75-upgrade-issue-scratching-head/16408)

<div class="topic-metadata">

**Author:** [@terrytokyo](https://discourse.mailinabox.email/u/terrytokyo)\
**Replies:** 5\
**Last updated:** [May 5, 2026, 10:37am UTC](https://discourse.mailinabox.email/t/v75-upgrade-issue-scratching-head/16408 "2026-05-05T10:37:04Z")

</div>

My status page indicated that v75 was released, so I logged in and ran: curl -s https://mailinabox.email/setup.sh | sudo bash and got the following message: Updating Mail-in-a-Box to v75 . . . remote: Enumerating obj…

---

## [Mmeidlinger aws-opensource-mailserver](https://discourse.mailinabox.email/t/mmeidlinger-aws-opensource-mailserver/16406)

<div class="topic-metadata">

**Author:** [@microgov](https://discourse.mailinabox.email/u/microgov)\
**Replies:** 0\
**Last updated:** [May 3, 2026, 12:08am UTC](https://discourse.mailinabox.email/t/mmeidlinger-aws-opensource-mailserver/16406 "2026-05-03T00:08:10Z")

</div>

AWS Clould Formation Stack template from: My Question is: Can I even update this from miaB v68 to v75? Or, should I just start over using Terraform, or even just manualy, like I used to do. It’s been like 15 years s…

---

## [Non-interactive installation?](https://discourse.mailinabox.email/t/non-interactive-installation/16401)

<div class="topic-metadata">

**Author:** [@fracai](https://discourse.mailinabox.email/u/fracai)\
**Replies:** 2\
**Last updated:** [May 2, 2026, 3:23am UTC](https://discourse.mailinabox.email/t/non-interactive-installation/16401 "2026-05-02T03:23:46Z")

</div>

I’m looking at non-interactive installation/upgrade/maintenance for my system. Is it possible to run the install script non-interactively by providing pre-seed values? I know re-installing picks up existing settings, so …

---

## [Cert errors after upate](https://discourse.mailinabox.email/t/cert-errors-after-upate/16280)

<div class="topic-metadata">

**Author:** [@ecourt](https://discourse.mailinabox.email/u/ecourt)\
**Replies:** 6\
**Last updated:** [March 3, 2026, 6:19am UTC](https://discourse.mailinabox.email/t/cert-errors-after-upate/16280 "2026-03-03T06:19:59Z")

</div>

after last upgrade, I’m getting these emails daily from MiaB Any thoughts on what’s going on? Traceback (most recent call last): File “/root/mailinabox/management/ssl\_certificates.py”, line 682, in provision\_certifica…

---

## [Moving primary domain to be additional domain](https://discourse.mailinabox.email/t/moving-primary-domain-to-be-additional-domain/16282)

<div class="topic-metadata">

**Author:** [@Plx](https://discourse.mailinabox.email/u/Plx)\
**Replies:** 0\
**Last updated:** [February 28, 2026, 4:08am UTC](https://discourse.mailinabox.email/t/moving-primary-domain-to-be-additional-domain/16282 "2026-02-28T04:08:19Z")

</div>

Hi there. I am attempting to migrate my MIAB email accounts to a new server, but which running under a different primary (setup) domain name. I presently have example\_11.com running as the main domain, with example\_22.co…

---

## [Vacation rule send repeated replies to the same address](https://discourse.mailinabox.email/t/vacation-rule-send-repeated-replies-to-the-same-address/16263)

<div class="topic-metadata">

**Author:** [@apfeifer](https://discourse.mailinabox.email/u/apfeifer)\
**Replies:** 3\
**Last updated:** [February 18, 2026, 8:20pm UTC](https://discourse.mailinabox.email/t/vacation-rule-send-repeated-replies-to-the-same-address/16263 "2026-02-18T20:20:56Z")

</div>

I was configuring the vacation plugin and able to create the filter in round cube with the correct content: require \[“vacation”\]; rule:\[Out-of-Office\] if true { vacation :days 1 :addresses “user@domain.de” :subject "…

---

## [Having issues with MiaB Setup script for v74 (modified title)](https://discourse.mailinabox.email/t/having-issues-with-miab-setup-script-for-v74-modified-title/16249)

<div class="topic-metadata">

**Author:** [@Keith\_Rettig](https://discourse.mailinabox.email/u/Keith_Rettig)\
**Replies:** 4\
**Last updated:** [February 10, 2026, 6:48pm UTC](https://discourse.mailinabox.email/t/having-issues-with-miab-setup-script-for-v74-modified-title/16249 "2026-02-10T18:48:06Z")

</div>

I thought I would be cool by symlink-ing my second drive for the backup directory last night. Seem to work, but after the backup ran last night everything is a mess. I can SSH in but only from a machine in my datacente…

[Next page](https://discourse.mailinabox.email/c/help-with-setup/5.md?page=1)
