# Help with Setup/Upgrade

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

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

**Page:** 2

---

## [Help needed upgrading a box with broken backups](https://discourse.mailinabox.email/t/help-needed-upgrading-a-box-with-broken-backups/16240)

<div class="topic-metadata">

**Author:** [@eladhen](https://discourse.mailinabox.email/u/eladhen)\
**Replies:** 5\
**Last updated:** [February 2, 2026, 10:30pm UTC](https://discourse.mailinabox.email/t/help-needed-upgrading-a-box-with-broken-backups/16240 "2026-02-02T22:30:45Z")

</div>

Hi all, I’ve got a box I’d like to upgrade (still running Ubuntu 18.04). The problrem is, when lack of space in the box made it unavailable I manually deleted my backups. This is all fine but I might have broke somethin…

---

## [Install MIAB as 'root' or admin user?](https://discourse.mailinabox.email/t/install-miab-as-root-or-admin-user/16214)

<div class="topic-metadata">

**Author:** [@Plx](https://discourse.mailinabox.email/u/Plx)\
**Replies:** 1\
**Last updated:** [January 12, 2026, 10:22am UTC](https://discourse.mailinabox.email/t/install-miab-as-root-or-admin-user/16214 "2026-01-12T10:22:05Z")

</div>

Hello When setting up a new installation, should the ‘curl -s https://mailinabox.email/setup…’ command be run when you are logged in as ‘root’, or whatever system admin user created to carry out maintenance etc. I ask b…

---

## [Moving to a new box](https://discourse.mailinabox.email/t/moving-to-a-new-box/16195)

<div class="topic-metadata">

**Author:** [@jwstekelenburg](https://discourse.mailinabox.email/u/jwstekelenburg)\
**Replies:** 4\
**Last updated:** [January 8, 2026, 4:16pm UTC](https://discourse.mailinabox.email/t/moving-to-a-new-box/16195 "2026-01-08T16:16:58Z")

</div>

hello. I am trying to move to a new box running at a different VPS provider. I spun up a fresh MIAB instance, but i am unable to restore the backup I made. First duplicity complains /home/user-data is not empty, and when…

---

## [Can't Upgrade from v71a to v73, It's Stuck at v71a](https://discourse.mailinabox.email/t/cant-upgrade-from-v71a-to-v73-its-stuck-at-v71a/16172)

<div class="topic-metadata">

**Author:** [@stn](https://discourse.mailinabox.email/u/stn)\
**Replies:** 4\
**Last updated:** [December 11, 2025, 12:25am UTC](https://discourse.mailinabox.email/t/cant-upgrade-from-v71a-to-v73-its-stuck-at-v71a/16172 "2025-12-11T00:25:05Z")

</div>

NOTE: I have searched for similar topics or problems and nothing aligned so: I have MIAB v71a and when I login via SSH and run sudo mailinabox it goes through all the upgrade steps successfully, but when I reboot AND/OR …

---

## [Issues with glue records and resolving ip. However, believe they are set correctly](https://discourse.mailinabox.email/t/issues-with-glue-records-and-resolving-ip-however-believe-they-are-set-correctly/16166)

<div class="topic-metadata">

**Author:** [@peternemser](https://discourse.mailinabox.email/u/peternemser)\
**Replies:** 8\
**Last updated:** [December 6, 2025, 10:43pm UTC](https://discourse.mailinabox.email/t/issues-with-glue-records-and-resolving-ip-however-believe-they-are-set-correctly/16166 "2025-12-06T22:43:46Z")

</div>

I am having issues with my MIAB. My MIAB is all up to date with the latest versions. I I am 100% my configs are correct at gandi. Any ideas or suggestions? I did have a user recently complain of issues.

---

## [\`named\` returning a wrong IP](https://discourse.mailinabox.email/t/named-returning-a-wrong-ip/16165)

<div class="topic-metadata">

**Author:** [@miaber](https://discourse.mailinabox.email/u/miaber)\
**Replies:** 2\
**Last updated:** [December 4, 2025, 8:24pm UTC](https://discourse.mailinabox.email/t/named-returning-a-wrong-ip/16165 "2025-12-04T20:24:33Z")

</div>

I configured my.example.com under Custom DNS to point to another server A But running dig my.example.com @localhost on MIAB shows MIAB’s IP address B, which is incorrect Running dig ... elsewhere also showed the incorre…

---

## [Able to send mail via SMTP, but not roundcube](https://discourse.mailinabox.email/t/able-to-send-mail-via-smtp-but-not-roundcube/16142)

<div class="topic-metadata">

**Author:** [@miaber](https://discourse.mailinabox.email/u/miaber)\
**Replies:** 1\
**Last updated:** [November 20, 2025, 7:53am UTC](https://discourse.mailinabox.email/t/able-to-send-mail-via-smtp-but-not-roundcube/16142 "2025-11-20T07:53:07Z")

</div>

My mail in a box server is able to receive submissions and send mails out via SMTP, but in roundcube, I keep getting this 451 Failed to add recipient error when adding any recipient. The redacted part is my email add…

---

## [LDAP connection: Fatal: Couldn't connect to auth socket](https://discourse.mailinabox.email/t/ldap-connection-fatal-couldnt-connect-to-auth-socket/16118)

<div class="topic-metadata">

**Author:** [@stta](https://discourse.mailinabox.email/u/stta)\
**Replies:** 0\
**Last updated:** [November 13, 2025, 9:33am UTC](https://discourse.mailinabox.email/t/ldap-connection-fatal-couldnt-connect-to-auth-socket/16118 "2025-11-13T09:33:03Z")

</div>

Hello, first, I want to say thank you that I can join to this forum. I’m trying to establish an LDAPS connection to my Active Directory and use AD authentication for Roundcube. The reason is that I want to replace MS E…

---

## [Mail-in-a-Box Installation error](https://discourse.mailinabox.email/t/mail-in-a-box-installation-error/16085)

<div class="topic-metadata">

**Author:** [@chin\_kmtm](https://discourse.mailinabox.email/u/chin_kmtm)\
**Replies:** 6\
**Last updated:** [November 13, 2025, 4:37am UTC](https://discourse.mailinabox.email/t/mail-in-a-box-installation-error/16085 "2025-11-13T04:37:17Z")

</div>

Hi, today 08th Nov. 25, I tried to install Mail-in-a-Box on fresh ubuntu 22.04 server using the installation command from the home page. But installation stuck showing error, Failed: add-apt-repository -y ppa:duplicity-…

---

## [HTTP 500 error when installing v73 due to lacking IPv6](https://discourse.mailinabox.email/t/http-500-error-when-installing-v73-due-to-lacking-ipv6/16043)

<div class="topic-metadata">

**Author:** [@miaber](https://discourse.mailinabox.email/u/miaber)\
**Replies:** 7\
**Last updated:** [October 26, 2025, 4:48pm UTC](https://discourse.mailinabox.email/t/http-500-error-when-installing-v73-due-to-lacking-ipv6/16043 "2025-10-26T16:48:52Z")

</div>

I’m on a fresh Ubuntu 22.04 machine by racknerd and I keep getting this HTTP 500 error after entering my password the 2nd time. It would not be an issue except that the install script terminated and is incomplete, n…

---

## [Replace localhost.localdomain in Message ID](https://discourse.mailinabox.email/t/replace-localhost-localdomain-in-message-id/15932)

<div class="topic-metadata">

**Author:** [@miaber](https://discourse.mailinabox.email/u/miaber)\
**Replies:** 1\
**Last updated:** [September 18, 2025, 2:41pm UTC](https://discourse.mailinabox.email/t/replace-localhost-localdomain-in-message-id/15932 "2025-09-18T14:41:04Z")

</div>

Sent an email from miab to my gmail MessageID shows localhost.localdomain Does that contribute to not landing in INBOX? How do I get it to show e.g. box.example.com or something less dev/dodgy?

---

## [Add only a subdomain without TLD?](https://discourse.mailinabox.email/t/add-only-a-subdomain-without-tld/15966)

<div class="topic-metadata">

**Author:** [@miaber](https://discourse.mailinabox.email/u/miaber)\
**Replies:** 3\
**Last updated:** [September 17, 2025, 10:05am UTC](https://discourse.mailinabox.email/t/add-only-a-subdomain-without-tld/15966 "2025-09-17T10:05:24Z")

</div>

Hi, I think the answer is no, but could someone confirm for me if I can add only @mail.example.com to mail in a box while @example.com, its DNS records and nameserver is handled by another server elsewhere? I want to se…

---

## [External Calendar invites not being saved](https://discourse.mailinabox.email/t/external-calendar-invites-not-being-saved/13212)

<div class="topic-metadata">

**Author:** [@terribledev](https://discourse.mailinabox.email/u/terribledev)\
**Replies:** 1\
**Last updated:** [September 3, 2025, 5:36pm UTC](https://discourse.mailinabox.email/t/external-calendar-invites-not-being-saved/13212 "2025-09-03T17:36:17Z")

</div>

Hey everyone, I am able to send calendar invites, but when I get calendar invites I see them come in as emails with ico files but they don’t get put in the calendars. I don’t see them in nexus cloud or in my calendar app…

---

## [Please recomand best VPS and Domain provider for deployment](https://discourse.mailinabox.email/t/please-recomand-best-vps-and-domain-provider-for-deployment/13209)

<div class="topic-metadata">

**Author:** [@abracadabra](https://discourse.mailinabox.email/u/abracadabra)\
**Replies:** 0\
**Last updated:** [August 31, 2025, 6:51pm UTC](https://discourse.mailinabox.email/t/please-recomand-best-vps-and-domain-provider-for-deployment/13209 "2025-08-31T18:51:02Z")

</div>

Id like to purchase with BITCOIN both domain and VPS as method of payment. Please recomand best VPS and Domain provider for deployment. I tryed with namecheap and a VPS provider but didnt manage to deploy corectly. Als…

---

## [Roundcube skins](https://discourse.mailinabox.email/t/roundcube-skins/13071)

<div class="topic-metadata">

**Author:** [@ewrksc](https://discourse.mailinabox.email/u/ewrksc)\
**Replies:** 1\
**Last updated:** [August 23, 2025, 7:06am UTC](https://discourse.mailinabox.email/t/roundcube-skins/13071 "2025-08-23T07:06:24Z")

</div>

finally upgraded from v57 to v73 with little pain - but I no longer see the “skins” options. I’ve grown very used to the skin I was using (“larry”, I think) - anyone know how to get these back; failing that, some directi…

---

## [Problem to update from v72 to v73](https://discourse.mailinabox.email/t/problem-to-update-from-v72-to-v73/13051)

<div class="topic-metadata">

**Author:** [@LolYangccool](https://discourse.mailinabox.email/u/LolYangccool)\
**Replies:** 5\
**Last updated:** [August 10, 2025, 11:46am UTC](https://discourse.mailinabox.email/t/problem-to-update-from-v72-to-v73/13051 "2025-08-10T11:46:15Z")

</div>

Hello, I’m trying to migrate from version 72 to version 73, but I consistently get an error related to a problem with users.sqlite (see screenshot). I tried recreating a VPS from scratch, reinstalling MiaB, and rest…

---

## [Upgrade from v57 to V73?](https://discourse.mailinabox.email/t/upgrade-from-v57-to-v73/13046)

<div class="topic-metadata">

**Author:** [@Dooku](https://discourse.mailinabox.email/u/Dooku)\
**Replies:** 4\
**Last updated:** [August 1, 2025, 4:03pm UTC](https://discourse.mailinabox.email/t/upgrade-from-v57-to-v73/13046 "2025-08-01T16:03:05Z")

</div>

Hello, Is this just a question of running the " curl -s https://mailinabox.email/setup.sh | sudo -E bash" script AFTER I have upgraded to Ubuntu 22.x? Will all settings in MIAB stay in place after the upgrade? Is ther…

---

## [MiaB V73 on a fresh 22.04.5](https://discourse.mailinabox.email/t/miab-v73-on-a-fresh-22-04-5/13038)

<div class="topic-metadata">

**Author:** [@CRKrogh](https://discourse.mailinabox.email/u/CRKrogh)\
**Replies:** 2\
**Last updated:** [July 29, 2025, 12:49am UTC](https://discourse.mailinabox.email/t/miab-v73-on-a-fresh-22-04-5/13038 "2025-07-29T00:49:42Z")

</div>

Though this should be turn-key, I am running into a problem here: On a fresh Ubuntu, updated and upgraded, I fixed the hostname and ran the installer - and it seems to just end after the timezone config, hence no admin …

---

## [Cannot upgrade to V73](https://discourse.mailinabox.email/t/cannot-upgrade-to-v73/13014)

<div class="topic-metadata">

**Author:** [@terrytokyo](https://discourse.mailinabox.email/u/terrytokyo)\
**Replies:** 5\
**Last updated:** [July 24, 2025, 10:26am UTC](https://discourse.mailinabox.email/t/cannot-upgrade-to-v73/13014 "2025-07-24T10:26:36Z")

</div>

I have attempted to upgrade to v73 today and get an error I am not sure about. When I try curl -s https://mailinabox.email/setup.sh | sudo bash I get: ubuntu@box:~$ curl -s https://mailinabox.email/setup.sh | sudo bash …

---

## [Chnaged primary ipv6 on Hetzner and now failing status checks](https://discourse.mailinabox.email/t/chnaged-primary-ipv6-on-hetzner-and-now-failing-status-checks/13011)

<div class="topic-metadata">

**Author:** [@nmilner](https://discourse.mailinabox.email/u/nmilner)\
**Replies:** 2\
**Last updated:** [July 17, 2025, 11:42am UTC](https://discourse.mailinabox.email/t/chnaged-primary-ipv6-on-hetzner-and-now-failing-status-checks/13011 "2025-07-17T11:42:44Z")

</div>

I have created a new mailinabox server and have migrated my old mailinabox data to the new server. I switched the ipv4 and ipv6 addresses between the old and new server and ipv4 works fine. However, I am getting issues i…

---

## [Old version v61.1 to v72](https://discourse.mailinabox.email/t/old-version-v61-1-to-v72/12991)

<div class="topic-metadata">

**Author:** [@OldMail](https://discourse.mailinabox.email/u/OldMail)\
**Replies:** 4\
**Last updated:** [July 5, 2025, 10:16pm UTC](https://discourse.mailinabox.email/t/old-version-v61-1-to-v72/12991 "2025-07-05T22:16:38Z")

</div>

Hi I’m upgrading my mailinabox, I haven’t upgraded in forever… I’m wondering will there be any issues from upgrading from version v61.1 to v72 the newest version. I know in the past there were was issues regarding versio…

---

## [Change server domain to a new one](https://discourse.mailinabox.email/t/change-server-domain-to-a-new-one/12987)

<div class="topic-metadata">

**Author:** [@melp57](https://discourse.mailinabox.email/u/melp57)\
**Replies:** 1\
**Last updated:** [June 30, 2025, 8:37am UTC](https://discourse.mailinabox.email/t/change-server-domain-to-a-new-one/12987 "2025-06-30T08:37:38Z")

</div>

The current domain I’m using to access my mail-in-a-box server is going to expire soon, and I don’t want to renew it, and I don’t use it for an email address. Can I change to another domain without having to start all ov…

---

## [Backup Issue (GPG Error)](https://discourse.mailinabox.email/t/backup-issue-gpg-error/12981)

<div class="topic-metadata">

**Author:** [@arachnotaurus](https://discourse.mailinabox.email/u/arachnotaurus)\
**Replies:** 5\
**Last updated:** [June 27, 2025, 8:21pm UTC](https://discourse.mailinabox.email/t/backup-issue-gpg-error/12981 "2025-06-27T20:21:11Z")

</div>

Backups on a fresh MIAB install are failing with the following error: GPGError: GPG Failed, see log below: ===== Begin GnuPG log ===== gpg: Note: ‘–force-mdc’ is not considered an option gpg: Note: ‘–symmetric’ is n…

---

## [Amazon S3 backups are failing suddently](https://discourse.mailinabox.email/t/amazon-s3-backups-are-failing-suddently/12962)

<div class="topic-metadata">

**Author:** [@terrytokyo](https://discourse.mailinabox.email/u/terrytokyo)\
**Replies:** 3\
**Last updated:** [June 27, 2025, 8:16pm UTC](https://discourse.mailinabox.email/t/amazon-s3-backups-are-failing-suddently/12962 "2025-06-27T20:16:12Z")

</div>

My 3 MIAB boxes are all suddenly failing backups to S3… This is what i get… sudo management/backup.py Traceback (most recent call last): File “/usr/bin/duplicity”, line 5, in from duplicity.main import dup\_run Mod…

---

## [SpamAssassin queries to Validity are blocked](https://discourse.mailinabox.email/t/spamassassin-queries-to-validity-are-blocked/12954)

<div class="topic-metadata">

**Author:** [@cinergi](https://discourse.mailinabox.email/u/cinergi)\
**Replies:** 7\
**Last updated:** [June 24, 2025, 9:29pm UTC](https://discourse.mailinabox.email/t/spamassassin-queries-to-validity-are-blocked/12954 "2025-06-24T21:29:57Z")

</div>

Hello, I noticed the following error message from SpamAssassin in all my received email headers: 0.0 RCVD\_IN\_VALIDITY\_SAFE\_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See Validity Help Cente…

---

## [BIND9 config (as recursive local resolver)](https://discourse.mailinabox.email/t/bind9-config-as-recursive-local-resolver/12972)

<div class="topic-metadata">

**Author:** [@MarthinL](https://discourse.mailinabox.email/u/MarthinL)\
**Replies:** 4\
**Last updated:** [June 23, 2025, 3:28pm UTC](https://discourse.mailinabox.email/t/bind9-config-as-recursive-local-resolver/12972 "2025-06-23T15:28:25Z")

</div>

Hi, I need some insights from @JoshData or @KiekerJan here. I got stumped this weekend as to why, of all the servers I run, upgrading to the latest version of pfSense only broke MiaB’s DNS resolution. I saw evidence th…

---

## [New install, resolv.conf question](https://discourse.mailinabox.email/t/new-install-resolv-conf-question/12956)

<div class="topic-metadata">

**Author:** [@bcwilliamson](https://discourse.mailinabox.email/u/bcwilliamson)\
**Replies:** 3\
**Last updated:** [June 19, 2025, 12:53pm UTC](https://discourse.mailinabox.email/t/new-install-resolv-conf-question/12956 "2025-06-19T12:53:36Z")

</div>

This is driving me insane, please tell me what I’m doing wrong. New install of Ubuntu on VirtualBox. When I run the installer it gets to the point where it installs nsd and then can’t resolve any of the mirrors to down…

---

## [Primary Script unknown .. /cloud/ocm-provider/index.php](https://discourse.mailinabox.email/t/primary-script-unknown-cloud-ocm-provider-index-php/12940)

<div class="topic-metadata">

**Author:** [@gmills](https://discourse.mailinabox.email/u/gmills)\
**Replies:** 0\
**Last updated:** [June 13, 2025, 9:09am UTC](https://discourse.mailinabox.email/t/primary-script-unknown-cloud-ocm-provider-index-php/12940 "2025-06-13T09:09:51Z")

</div>

I am getting the error below in nginx/error.log since I upgraded to v72 today: Apologies, this ocm-provider error shows in nginx/errorlog in my v71 mailinabox NextCloud as well sent in stderr: “Primary script unknown” …

---

## [System Status Checks - running version is a GUID](https://discourse.mailinabox.email/t/system-status-checks-running-version-is-a-guid/12943)

<div class="topic-metadata">

**Author:** [@jk9000](https://discourse.mailinabox.email/u/jk9000)\
**Replies:** 1\
**Last updated:** [June 14, 2025, 8:34am UTC](https://discourse.mailinabox.email/t/system-status-checks-running-version-is-a-guid/12943 "2025-06-14T08:34:00Z")

</div>

Hi All, I just clean installed the latest on AWS, and all seems ok except I’m getting a weird error on the System Status Checks that says: A new version of Mail-in-a-Box is available. You are running version a1aa79d37f…

---

## [Moving from client- (e.g. Outlook) to server-based (Dovecot) inbox rules](https://discourse.mailinabox.email/t/moving-from-client-e-g-outlook-to-server-based-dovecot-inbox-rules/12917)

<div class="topic-metadata">

**Author:** [@MarthinL](https://discourse.mailinabox.email/u/MarthinL)\
**Replies:** 5\
**Last updated:** [June 9, 2025, 8:40pm UTC](https://discourse.mailinabox.email/t/moving-from-client-e-g-outlook-to-server-based-dovecot-inbox-rules/12917 "2025-06-09T20:40:46Z")

</div>

Hi guys, I need guidance about filters / rules for incoming mail, failing which, volunteers to help produce such guidelines. For background, I have been using Outlook for Mac as primary email client and apart from one …

[Previous page](https://discourse.mailinabox.email/c/help-with-setup/5.md)

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