September 13, 20178 yr Support for Mailserver docker container Application Name: MailserverDocker Hub: https://hub.docker.com/r/malfurious/mailserver/Github: https://github.com/Malfurious/mailserver Description: A All-In-One Mailserver Note: This docker is meant to be a companion to my roundcube-postfixadmin docker linked here. There is a step-by-step guide on how to set this up on GitHub. Post any questions, issues, or comments relating to this docker in this thread. Edited September 13, 20178 yr by Malfurious
November 14, 20178 yr A very very good idea to add my own mail server to UnRAID. Thank you for your work. I will follow it.
December 16, 20178 yr Would love to play around with this but I can't seem to get either of the containers to install. The mail server complains about let's encrypt (which I don't currently use), and the admin one complains about invalid hostnames and IPs. Can you provide any assistance?
December 19, 20178 yr Similar problem here, but I have more information to track this down (I use my letsencrypt certificates from the linuxserver image as you described in the GitHub wiki): My error message: [INFO] Let's encrypt live directory found [INFO] Using /etc/letsencrypt/live/mail.MYDOMAIN.net folder [INFO] Found DKIM key pair for domain MYDOMAIN.net - skip creation [INFO] MariaDB hostname not found in /etc/hosts [ERROR] Container IP not found with embedded DNS server... Abort ! I think the problem lies in "run.sh" in either the the variable assignment or the added entry to /etc/hosts: DBHOST=${MYSQL_HOST:-mariadb} # Check mariadb hostname grep -q "${DBHOST}" /etc/hosts if [ $? -ne 0 ]; then echo "[INFO] MariaDB hostname not found in /etc/hosts" IP=$(dig A ${DBHOST} +short) if [ -n "$IP" ]; then echo "[INFO] Container IP found, adding a new record in /etc/hosts" echo "${IP} ${DBHOST}" >> /etc/hosts else echo "[ERROR] Container IP not found with embedded DNS server... Abort !" exit 1 fi else echo "[INFO] MariaDB hostname found in /etc/hosts" fi Since i don't know how to get into this container on startup and don't run a new instance on startup I'm stuck a little. Can you investigate? Improvement Idea: Also the template is missing the option for DBPORT, as for me all db's are running in separate containers with different ports. EDIT: Ok, found some more infos: 1. you can get the container to start and don't stop right away if you set the network option to "none" and then "docker exec -it malfiurios-mailserver sh" to get inside 2. the error message in /etc/hosts is ; <<>> DiG 9.10.3-P4-Debian <<>> A <MY-MYSQL-IP> +short ;; global options: +cmd ;; connection timed out; no servers could be reached <MY-MYSQL-IP> ; <<>> DiG 9.10.3-P4-Debian <<>> A 127.0.0.2 +short ;; global options: +cmd ;; connection timed out; no servers could be reached 127.0.0.2 Since I read your readme all the way to the end (;-)) I found the hardware/mailserver GitHub and this issue there: https://github.com/hardware/mailserver/issues/150. Sadly the answer involves some config changes for docker-compose which we can't use on unraid. The issue for your postfixadmin template here https://forums.lime-technology.com/topic/60111-support-malfurious-roundcube-postfixadmin/?do=findComment&comment=608953 seems to be the same, so maybe we can solve both. Edited December 20, 20178 yr by xxlbug
December 26, 20178 yr Im having the same issue, would love to get this going, as I have wanted a home email solution for years!
May 8, 20188 yr Keen to try this out. Any documentation out there? By the looks I would have to create a number of subdomains, letsencrypt certs etc. A youtube tutorial would be nice.
August 2, 20187 yr On 12/26/2017 at 1:34 AM, Brettv said: Im having the same issue, would love to get this going, as I have wanted a home email solution for years! On 12/19/2017 at 10:23 PM, xxlbug said: Similar problem here, but I have more information to track this down (I use my letsencrypt certificates from the linuxserver image as you described in the GitHub wiki): My error message: [INFO] Let's encrypt live directory found [INFO] Using /etc/letsencrypt/live/mail.MYDOMAIN.net folder [INFO] Found DKIM key pair for domain MYDOMAIN.net - skip creation [INFO] MariaDB hostname not found in /etc/hosts [ERROR] Container IP not found with embedded DNS server... Abort ! Hi, I just had the same problem but I solved it like this by adding my routers IP in /etc/resolv.conf and put it on the top: # Generated DNSv4 entries: nameserver 192.168.1.1 nameserver 8.8.8.8 nameserver 9.9.9.9
March 6, 20197 yr I was able to solve the MariaDB hostname issue with adding a DNS entry for the MariaDB container, however, now I am stuck at Redis hostname not found in /etc/hosts. There is no variable to set this, according to run.sh it is statically set for 127.0.0.2. Anybody get past this?
April 12, 20197 yr Has anyone been able to get this working. I've got the roundcube-postfixadmin container working but still have the above issues others have posted.
July 10, 20196 yr I would love to use this, however it seems the project has been abandoned. I guess it is back to my Pi.
January 2, 20215 yr like many others I was excited by the prospect of running a mail server on unraid and disapointed to find this project abandonded. I forked the mailfurious project and fixed the erroneous localhost address in `run.sh` https://github.com/BenGlasser/mailserver/commit/12113c3a832ef528f3ea5b37e7d40e5073a4c002#diff-d31ce0453051853c17ba2a5225b3d1bfab548e095bab0967d6acfd1b3ce1b35d I've been able to get this running at least and was able to login to Rspamd. beyond that I have no idea how well this works, I get a feeling this is going to be pretty stale. If anyone is insterested in using the image with this fix you can grab it here `brglasser/mailserver:latest`
March 3, 20215 yr Thanks for the efforts everyone. I was a bit excited at the prospect but being a noob a linux I even struggle to understand the most basic of things. As such this is beyond me, presently. Such a shame to abandon a mail server, I would L O V E to host my own. Following thread in hopes some champion with the skill-set can recompile a working unraid app for us plebs.
March 30, 20215 yr Author Apologies all for the lack of updates on this project. I'll be picking it back up and working on it again very soon. I shall update you all here once I have some news.
April 2, 20215 yr On 3/30/2021 at 3:10 PM, Malfurious said: Apologies all for the lack of updates on this project. I'll be picking it back up and working on it again very soon. I shall update you all here once I have some news. will you be working in the same repo? I'd wouldn't mind picking up an issue or two if you have any listed.
April 8, 20215 yr Author On 4/2/2021 at 4:17 PM, soultrip said: will you be working in the same repo? I'd wouldn't mind picking up an issue or two if you have any listed. I'm not completely sure yet. DM me if your interested in helping fix bugs.
April 19, 20224 yr I got past the MariaDB Host error. In the config I switched to advanced view and then added an extra parameter (--add-host mariadb:x.x.x.x) replacing the Ip with my UnRaid host IP. Also for the MySQL host parameter I clicked edit and changed the key name to MariaDB and I entered the same IP - the UnRaid host IP for the value. The log then showed that MariaDB was foundMariaDB hostname found in /etc/hosts. It then showed errors for redis which I think is the same issue but will try that tomorrow. Edited April 19, 20224 yr by RichMD
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.