I am facing …THAT IS NOT A VALID EMAIL error… during mailinabox installation…
How can i fix this to complete the installation successful?

I am too facing this issue with new install of mailinabox. tried with different email address and none doesnt work.

So don’t update then?

The problem being that this is for fresh installs, so it doesn’t have anything to do with upgrading (at least for getin123 and I). I am also having this issue with a fresh install of v0.26. I technically also encountered this problem on a fresh install of v0.25 using the git method of pulling down the code after the fix for the ZPush hash was committed.

A fresh install cannot get past the “email” popup, used a clean ubuntu 14.04 vm

It throws something about env python bad interpreter, i could see “questions” and “management/” mentioned, it’s hard to see as it’s a flash message between popup screen refresh

tried to dos2unix the mentioned files, but with no success

Same issue with fresh install of 0.26

I’m trying to get past this by installing from an older version. While I seem to get beyond the email step, web server is not working properly after install. After I download the repository I run “git checkout (commit)” and then run setup/ I am so far not able to get a stable version working. I will try with significantly older one. Has anyone had success by going to an older version?

Also getting this error…

I am getting this error as well…Fresh Ubuntu 14.04 Install
Has anyone come up with a solution for it yet?

The error is get is:

setup/ management/ /usr/local/lib/mailinabox/env/bin/python: bad interpreter: No such file or directory

hello everyone,

did anyone get past this error, am facing issue with mail in a box installation ( i keep getting That is not a valid email error )

please help

Thanks all. This will be fixed in the next release.

@JoshData Where can i sign up for notifications of new releases?

After the commit from Saturday I am able to successfully install and use Mailinabox.
On the server I install git and then use the git install method -

$ git clone
$ cd mailinabox
$ git checkout e7150e3
$ setup/

This does the trick for me.

1 Like

GitHub account -> Star the MailInABox Repository.


It actually works. Start the installation on V0.20, and then the system upgrades to V0.26


I’ve posted a new release.

New releases are announced on Twitter and in our Slack channel (when it works).

1 Like

Unfortunately, setup of v0.26b still always fails on a fresh Ubuntu 14.04.5 x64 DigitalOcean VPS with error “That’s not a valid email address.”

I tried installing older versions v0.25 and v0.20 onto two fresh Ubuntu 14.04.5 x64 DigitalOcean VPS’s using the following commands:

$ git clone
$ cd mailinabox
$ git checkout 8944cd7
$ setup/

That failed with the exact same “That’s not a valid email address.” error message. The VPS (Droplet) was again rebuilt from the DO source image, and installation of v0.20 was attempted by running:

$ git clone
$ cd mailinabox
$ git checkout 4e4fe90
$ setup/

The exact same “That’s not a valid email address.” error message was displayed at the exact same step. This seems to indicate that all scripts are incompatible with the Ubuntu 14.04.5 x64 DigitalOcean source image.

I did a fresh install of v0.26b onto a fresh Ubuntu 14.04.5 x64 DigitalOcean VPS 4 days ago without encountering the “That’s not a valid email address” error message using the curl -s | sudo bash command line. So maybe using git is the culprit?

Installing via git is usually broken, and unsupported. Use Curl method instead :slight_smile: