Sign inSign up

tharangarajapaksha/emailserver

By tharangarajapaksha

Updated over 7 years ago

This is a email server solution with postfix dovecot , rspamd, clamav and postfix admin.

Image
0

337

tharangarajapaksha/emailserver repository overview

EmailSolution

This Email solution is dockerized email solution.

Functionalities

  • Core
    • ESMTP Server
    • IMAP Server and POP Server
      • DOVECOT : secure open-source IMAP and POP3 server.
    • WEBmail client
    • Spam Filter
      • RSPAMD : Fast, free and open-source spam filtering system. You may find a comparison of spam filters here.
    • Antivirus
      • ClamAV : is an open source antivirus engine for detecting trojans, viruses, malware & other malicious threats.
    • Security enhancement
      • DKIM : DomainKeys Identified Mail (DKIM) lets an organization take responsibility for a message that is in transit.

How to Setup

Before We Start

Make sure any other application does not use ports that we are going to listen to

$ netstat -tulpn | grep -E -w '25|80|110|143|443|465|587|993|995|4190|11334'

//check each port

$ sudo lsof -i :25
Firewall

Unblock following ports

ServiceSoftwareProtocolPort
SMTPPostfixTCP25
IMAPDovecotTCP143
SMTPSPostfixTCP465
SubmissionPostfixTCP587
IMAPSDovecotTCP993

Installation

  1. Clone this Repository
$ git clone https://github.com/tharangar/EmailSolution.git
  1. Edit .env file to replicate your settings

Running

Build and run the image

cd emailserver
docker build -t emailserver .

docker run -p 127.0.0.1:25:25 143:143 587:587 --name emailserver -d emailserver

Run the application using docker composer.


$ docker-compose build
$ docker-compose up -d 

This email solution user baed is openldap by default. But it is expected to improve it with postfixadmin stufs. Openldap solution is not included hear. It has to be built externally.

References

Tag summary

Content type

Image

Digest

Size

195 MB

Last updated

over 7 years ago

docker pull tharangarajapaksha/emailserver