Sign inSign up

smartertools/smartermail

By smartertools

Updated 4 days ago

A mail server with a ton of features and offers a cost-effective alternative to Microsoft Exchange.

Image
Integration & delivery
Web servers
4

10K+

smartertools/smartermail repository overview


SmarterMail is a robust and scalable email, collaboration, and group chat server that easily meets the needs of any sized business across any industry. Built initially for hosting companies and ISPs, SmarterMail has expanded to become the perfect Microsoft Exchange alternative for any sized business, from enterprise organizations to small to medium-sized businesses .

Originally developed for the Windows environment, SmarterTools is VERY excited to bring SmarterMail to the Linux community. It can be traditionally installed on Linux as a standalone server or as a container using Docker.

With lower hardware requirements, superior stability, and reduced maintenance costs, SmarterMail has significantly lower TCO and is the best-in-class Microsoft Exchange alternative for businesses and hosting companies. More information can be found at https://www.smartertools.com/smartermail/business-email-server

Features
  • Native support for MAPI & EWS (complete Outlook integration) and EAS (mobile synchronization), without the need for Outlook plug-ins or additional software
  • A rich, powerful webmail client optimized for desktops and tablets
  • An integrated group chat system that can be used right from the web interface or integrated with third-party products like Adium, Pidgin or IM+
  • Integrated Online Meetings that include audio/video conferencing, group chat and inline file sharing
  • Full collaboration features such as individual shared contacts, calendars, tasks, and notes
  • Organizational shared contacts, calendars, tasks, and notes
  • Integrated file storage PLUS the ability to utilize cloud providers for file storage (e.g., Dropbox)
  • Email and chat archiving, ideal for compliance requirements
  • Detailed reporting at the mailbox, domain and system levels
  • Intrusion detection/prevention
  • Advanced synchronization with third-party email clients on desktop and mobile (Apple Mail, Microsoft Outlook, Android, iOS, etc.)
  • Structured and multi-layered anti-spam and antivirus tools included at no additional charge
  • Failover functionality
  • Internationalization support
  • Multi-language capable
  • Much more

Prerequisites

  • Docker
  • Docker Compose

Docker Compose File

First, you'll need to create a docker-compose.yml file with the following content. You will want to replace the following:

<fill in web port> - This should be the port numbers on your host machine you want to make available to SmarterMail

<Path on host> - This should be the location, on your host system, for storing data and system files.

<TZ> - This is the timezone you want to use.

Version: '3.8'

services:
  smartermail:
    image: smartertools/smartermail:latest
    container_name: smartermail
    environment:
      - TZ=America/Phoenix
      - CLAMAV_IP=clamav
    ports:
      - "<fill in web port>:80"
      - "<fill in web port>:443"
      - "<fill in web port>:443/udp"
      - "25:25"
      - "110:110"
      - "143:143"
      - "465:465"
      - "587:587"
      - "993:993"
      - "995:995"
      - "5222:5222"
    volumes:
      - <Path on host>:/app/Data
      - <Path on host>:/app/SystemData
    restart: unless-stopped

Firewall Configuration

Before starting the container, ensure the necessary firewall ports are open. If you have added any custom ports, they should be added as well:

sudo ufw allow 80,443/tcp comment 'SmarterMail: Web-tcp'
sudo ufw allow 443/udp comment 'SmarterMail: Web-udp'
sudo ufw allow 25,465,587 comment 'SmarterMail: SMTP'
sudo ufw allow 143,993 comment 'SmarterMail: IMAP'
sudo ufw allow 110,995 comment 'SmarterMail: POP3'
sudo ufw allow 5222 comment 'SmarterMail: XMPP'

Starting SmarterMail

To start SmarterMail, run the following command:

docker-compose up -d

Final Steps

You can log in to SmarterMail's webmail interface using the port(s) specified in your docker-compose.yml file. From here, you can continue configuring SmarterMail, begin adding domains and users, and more. More information on setting up SmarterMail can be found in our help documentation: https://help.smartertools.com

Updating SmarterMail

In order to upgrade SmarterMail to the most recent release, use the following commands:

docker-compose down 
docker-compose pull 
docker-compose up -d 
docker image prune -af

Useful Commands

Below is a list of commands that may be useful when managing your SmarterMail container.

  • Get the container IP: docker inspect --format '{{ .NetworkSettings.IPAddress }}' smartermail
  • View container logs: docker logs smartermail
  • Access the container's shell: docker exec -it smartermail /bin/bash

Running SmarterMail with a Command

Below is an example command to run SmarterMail directly.

You will want to replace the following to match your particular installation, just as they were changed in the docker-compose.yaml file:

/path/to/data - the path to SmarterMail data

/path/to/systemdata - the path to SmarterMail's system data

TZ=America/Phoenix - the timezone to use for your installation

docker run -d --name smartermail -e TZ=America/Phoenix -p 80:80 -p 443:443 -p 443:443/udp -p 25:25 -p 110:110 -p 143:143 -p 465:465 -p 587:587 -p 993:993 -p 995:995 -p 5222:5222 -v /path/to/data:/app/Data -v /path/to/systemdata:/app/SystemData smartertools/smartermail:latest



This README provides a basic overview and instructions for running SmarterMail in a Docker container. For more detailed instructions and advanced configurations, please refer to the official SmarterMail documentation.

Tag summary

Content type

Image

Digest

sha256:9e221d685

Size

191.9 MB

Last updated

4 days ago

docker pull smartertools/smartermail