Call for testing: mail-all-in-one

A snap includes both a webmail client and an email server and is built on top of iredmail.

You can run the following command to install.

$ sudo snap install --edge --devmode mail-all-in-one

After installation, you need to create a few email accounts in admin panel firstly.

  1. login iRedAdmin(admin panel) with default admin account and password

    http://device_ip_address:8090

  2. click ‘Add’ --> ‘User’ in the banner of that webpage to create a couple of users

  3. login Roundcube(webmail front) with one newly created account

    http://device_ip_address:8089

  4. compose an email and send it to intranet or extranet email mailbox.

To check the default admin account and password, please run the following command.

 sudo mail-all-in-one.help
  • intranet email-box
    It works fine to send/receive emails to intranet email-box(e.g xxx@example.com)
  • extranet email-box
    You probably will always have some emails end up in the spam folder due to spam filters(e.g gmail). Meanwhile, it will probably fail to send an email to an extranet email-box if you’re behind a firewall.

To modify the admin account and password, please run the following command.

$ sudo snap set mail-all-in-one admin-username=<New Admin Username>

$ sudo snap set mail-all-in-one admin-password=<New Admin Password>

As of now, devmode is needed for the snap installation as bunch of seccomp denial(fchown) occurs
in strict confinement while using dovecot for a local delivery agent.
Some tweaks are needed in snapcraft.yaml file after the user & group management related interface is landed.

Any feedback will be appreciated.
Thanks

P.S.
@stevewi
Thanks for your interesting in iredmail solution. Armhf build of the snap can be found at edge channel now.

  1. User1 to User2 within the same domain should remain internal to this ubuntu core 18 system (which only has this one snap in it), I get “SMTP Error (-1): Connection to server failed.” when I try to send the test message via roundcube.

I don’t see postfix running:
$ ps ax|grep postfix
833 ? Ss 0:00 /bin/sh /snap/mail-all-in-one/41/bin/run-postfix
6345 pts/0 S+ 0:00 grep --color=auto postfix

  1. From outside this ubuntu core 18:
    Isn’t port 25 smtp supposed to be open for incoming emails via MX records?
    I was also expecting 587 submission for external mail clients like Thunderbird to authenticate and send.

$ nmap mail-aio

Starting Nmap 7.60 ( https://nmap.org ) at 2019-07-31 09:39 PDT
Nmap scan report for mail-aio (redacted IP)
Host is up (0.0022s latency).
Not shown: 995 closed ports
PORT STATE SERVICE
22/tcp open ssh
110/tcp open pop3
143/tcp open imap
8089/tcp open unknown
8090/tcp open opsmessaging

Nmap done: 1 IP address (1 host up) scanned in 0.13 seconds