All Projects → lejmr → Iredmail Docker

lejmr / Iredmail Docker

iRedmail docker container

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to Iredmail Docker

Docker Superset
Repository for Docker Image of Apache-Superset. [Docker Image: https://hub.docker.com/r/abhioncbr/docker-superset]
Stars: ✭ 86 (-26.5%)
Mutual labels:  mysql, docker-container
Directus Docker
Directus 6 Docker — Legacy Container [EOL]
Stars: ✭ 68 (-41.88%)
Mutual labels:  mysql, docker-container
Genealogy
Laravel 8 and Vue family tree and genealogy data processing website.
Stars: ✭ 153 (+30.77%)
Mutual labels:  mysql, docker-container
Docker Compose Lamp
A basic LAMP stack environment built using Docker Compose.
Stars: ✭ 1,284 (+997.44%)
Mutual labels:  mysql, docker-container
Servicestack.ormlite
Fast, Simple, Typed ORM for .NET
Stars: ✭ 1,532 (+1209.4%)
Mutual labels:  mysql
Sql To Jdl
Tool to translate SQL databases to JDL format of jHipster (Created due to existing databases to be generated with jHipster and build angular-java web)
Stars: ✭ 114 (-2.56%)
Mutual labels:  mysql
Community
开源论坛、问答系统,现有功能提问、回复、通知、最新、最热、消除零回复功能。功能持续更新中…… 技术栈 Spring、Spring Boot、MyBatis、MySQL/H2、Bootstrap
Stars: ✭ 1,947 (+1564.1%)
Mutual labels:  mysql
Sqhell.vim
An SQL wrapper for vim
Stars: ✭ 113 (-3.42%)
Mutual labels:  mysql
Cube.js
📊 Cube — Open-Source Analytics API for Building Data Apps
Stars: ✭ 11,983 (+10141.88%)
Mutual labels:  mysql
Owasp Workshop
owasp-workshop: Orchetraing containers with Kubernetes
Stars: ✭ 116 (-0.85%)
Mutual labels:  docker-container
Akka Persistence Sql Async
A journal and snapshot store plugin for akka-persistence using RDBMS.
Stars: ✭ 115 (-1.71%)
Mutual labels:  mysql
Laravel Social Network
Laravel 5.4 - location-based social network
Stars: ✭ 114 (-2.56%)
Mutual labels:  mysql
Mysqlsuperdump
Generate partial and filtered dumps of MySQL databases
Stars: ✭ 115 (-1.71%)
Mutual labels:  mysql
Tcpdp
tcpdp is TCP dump tool with custom dumper and structured logger written in Go.
Stars: ✭ 114 (-2.56%)
Mutual labels:  mysql
Refarch Cloudnative Kubernetes
Reference Implementation for Microservices based on Kubernetes and the IBM Container Service.
Stars: ✭ 115 (-1.71%)
Mutual labels:  docker-container
Nukeviet
NukeViet CMS is multi Content Management System. NukeViet CMS is the 1st open source content management system in Vietnam. NukeViet was awarded the Vietnam Talent 2011, the Ministry of Education and Training Vietnam officially encouraged to use.
Stars: ✭ 113 (-3.42%)
Mutual labels:  mysql
Sql Kit
*️⃣ Build SQL queries in Swift. Extensible, protocol-based design that supports DQL, DML, and DDL.
Stars: ✭ 115 (-1.71%)
Mutual labels:  mysql
Datax
DataX is an open source universal ETL tool that support Cassandra, ClickHouse, DBF, Hive, InfluxDB, Kudu, MySQL, Oracle, Presto(Trino), PostgreSQL, SQL Server
Stars: ✭ 116 (-0.85%)
Mutual labels:  mysql
Spring Boot 2 Oauth2 Authorization Jwt
Spring Boot 2 OAuth2 JWT Authorization server implementation with Database for Users and Clients (JPA, Hibernate, MySQL)
Stars: ✭ 115 (-1.71%)
Mutual labels:  mysql
Bilibili member crawler
B站用户爬虫 好耶~是爬虫
Stars: ✭ 115 (-1.71%)
Mutual labels:  mysql

iRedMail Docker Container

iRedMail allows deployment of an OPEN SOURCE, FULLY FLEDGED, FULL-FEATURED mail server in several minutes, for free. If several minutes is long time then this docker container can reduce the deployment time and help you to get a mail server in the matter of seconds.

The current version of container uses MySQL for accounts saving. In the future the LDAP can be used, so pull requests are welcome. Container contains all components (Postfix, Dovecot, Fail2ban, ClamAV, Roundcube, and SoGo) and MySQL server. The hostname of the mail server can be set using the normal docker methods (docker run -h <host> or setting 'hostname' in a docker compose file). In order to customize the container several environmental variables are allowed:

  • MYSQL_ROOT_PASSWORD - Root password for MySQL server installation
  • POSTMASTER_PASSWORD - Initial password for [email protected] Password can be generated according to wiki. ({PLAIN}password)
  • TZ - Container timezone that is propagated to other components
  • SOGO_WORKERS - Number of SOGo workers which can affect SOGo interface performance.

Container is prepared to handle data as persistent using mounted folders for data. Folders prepared for initialization are:PATH/

  • /var/lib/mysql
  • /var/vmail
  • /var/lib/clamav

With all information prepared, let's test your new iRedMail server:

docker run -p 80:80 -p 443:443 \
           -h HOSTNAME.DOMAIN \
           -e "MYSQL_ROOT_PASSWORD=password" \
           -e "SOGO_WORKERS=1" \
           -e "TZ=Europe/Prague" \
           -e "POSTMASTER_PASSWORD={PLAIN}password" \
           -e "IREDAPD_PLUGINS=['reject_null_sender', 'reject_sender_login_mismatch', 'greylisting', 'throttle', 'amavisd_wblist', 'sql_alias_access_policy']" \
           -v /srv/iredmail/mysql:/var/lib/mysql \
           -v /srv/iredmail/vmail:/var/vmail \
           -v /srv/iredmail/clamav:/var/lib/clamav \
           --name=iredmail lejmr/iredmail:mysql-latest

Upgrade from version 1.0 or above

The iRedMail container gained automatic database schema migration with version 1.3 of the iRedMail container. What does it mean? It means upgrades should be smooth, and one wont no longer need to care about studying release notes.

If you are running and older version of the container the automatic upgrade needs to be activated by installation of control table in vmail database using the following steps.

-- Switch to vmail database
use vmail

-- Create version tracking table
CREATE TABLE IF NOT EXISTS `versions` (
    `component` varchar(120) NOT NULL,
    `version` varchar(20) NOT NULL,
    PRIMARY KEY(`component`)
);

-- Insert initial line representing installed version
INSERT INTO versions VALUES('iredmail', 'YOUR_CURRENT_VERSION');

The next step is just to upgrade the container version.

Notes for contributors

When a new version of iRedMail gets released and I am not providing the upgrade. Feel free to open a pull request with migration stored in mysql/static_files/opt/iredmail/migrations/DATABASE. The file name should follow this schema:

INDEX_IREDMAILVERSION__SHORTDESCRIPTION.sql

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].