All Projects → stdevPavelmc → mailad

stdevPavelmc / mailad

Licence: GPL-3.0 License
Software to provision a mail server with users from a Windows or Samba 4 Active Directory

Programming Languages

shell
77523 projects
Makefile
30231 projects

Projects that are alternatives of or similar to mailad

Docker Mailserver
Production-ready fullstack but simple mail server (SMTP, IMAP, LDAP, Antispam, Antivirus, etc.) running inside a container.
Stars: ✭ 8,115 (+38542.86%)
Mutual labels:  mail, postfix, dovecot, mailserver
Mailcow Dockerized
mailcow: dockerized - 🐮 + 🐋 = 💕
Stars: ✭ 4,573 (+21676.19%)
Mutual labels:  mail, postfix, dovecot, mailserver
mailserver
Simple and full-featured mail server using Docker
Stars: ✭ 88 (+319.05%)
Mutual labels:  debian, postfix, dovecot, mailserver
docker-mail-server
Ansible playbooks to deploy a full featured mail server stack using Docker.
Stars: ✭ 47 (+123.81%)
Mutual labels:  postfix, dovecot, mailserver
ldap-mail-schema
a collection of LDAP mail schemas
Stars: ✭ 36 (+71.43%)
Mutual labels:  postfix, dovecot, mailserver
Excision-Mail
Fullstack, security focused mailserver based on OpenSMTPD for OpenBSD using ansible
Stars: ✭ 108 (+414.29%)
Mutual labels:  mail, dovecot, mailserver
Ansible Postfix
Ansible role to set up postfix in Debian-like systems
Stars: ✭ 102 (+385.71%)
Mutual labels:  mail, debian, postfix
Mailu
Insular email distribution - mail server as Docker images
Stars: ✭ 3,151 (+14904.76%)
Mutual labels:  mail, mailserver
Free Email Forwarding
The best free email forwarding for custom domains. Visit our website to get started (SMTP server)
Stars: ✭ 2,024 (+9538.1%)
Mutual labels:  mail, postfix
mlmmj-simple-web-interface
A very simple web frontend in node for mlmmj (http://mlmmj.org)
Stars: ✭ 24 (+14.29%)
Mutual labels:  mail, mailserver
mailfull-go
A management tool for virtual domain email for Postfix and Dovecot written in Go
Stars: ✭ 20 (-4.76%)
Mutual labels:  postfix, dovecot
Docker Postfix
Simple SMTP server / postfix null relay host for your Docker and Kubernetes containers. Based on Alpine Linux.
Stars: ✭ 163 (+676.19%)
Mutual labels:  mail, postfix
Modoboa Installer
An installer for Modoboa
Stars: ✭ 161 (+666.67%)
Mutual labels:  mail, postfix
Postal
✉️ A fully featured open source mail delivery platform for incoming & outgoing e-mail
Stars: ✭ 11,148 (+52985.71%)
Mutual labels:  mail, mail-server
SaorTech-cloud-services
A range of scripts to provision and configure open source cloud services.
Stars: ✭ 23 (+9.52%)
Mutual labels:  postfix, dovecot
gopistolet
Mailserver written in Go
Stars: ✭ 59 (+180.95%)
Mutual labels:  mail, mailserver
postal
✉️ A fully featured open source mail delivery platform for incoming & outgoing e-mail
Stars: ✭ 12,134 (+57680.95%)
Mutual labels:  mail, mail-server
webadmin
SophiMail Webadmin and Dashboard
Stars: ✭ 48 (+128.57%)
Mutual labels:  postfix, dovecot
skirnir
Skirnir Email Server
Stars: ✭ 31 (+47.62%)
Mutual labels:  mail, mailserver
Postfwd Anti Geoip Spam Plugin
Postfwd plugin for blocking international spam botnets based on geographical location of IP addresses used to login to postfix via sasl.
Stars: ✭ 40 (+90.48%)
Mutual labels:  mail, postfix

MailAD

Chat on Telegram Twitter Follow GitHub Issues GitHub Issues Closed GitHub repo size GitHub last commit GitHub commit rate Financial contributors

All Contributors

This page is also available in the following languages: [ Español 🇪🇸 🇨🇺] [ Deutsch 🇩🇪]

This is a handy tool to provision a mail server on linux linked to an Active Directory (AD from now on) server (Samba or Windows) with some constraints in mind, as this is a typical mail config to be used in Cuba as regulated by law and security enforcement requirements. You can see a simple provision in this asciinema movie.

We have a docker development on going on another repository, take a peek and test it or contribute: MailAD-Docker

⚠️ ⚠️ ⚠️ ⚠️ ⚠️ ⚠️

WARNING: Since the end of February 2020 we changed the integration with AD to be more simpler, you need to check this document if you want to upgrade your setup.

Users of new installs have no problem, just follow the install procedure and you are set.

Rationale

This repository is intended to be cloned on your fresh OS install under /root (you can use a LXC instance, VM, etc) and setup on a main conf file as per the file comments, then run the steps on a makefile and follow the steps to configure your server.

After a few steps you will have a mail server up and running in about 15 minutes tops. (this time is based on a 2Mbps internet connection to a repository, if you have a local repository it will be less)

This tool is tested and supported on:

  • Ubuntu Bionic 18.04 (former LTS).
  • Ubuntu Focal 20.04 (actual LTS and actual dev env).
  • Debian Buster 10 (see note below please).
  • Debian Bullseye 11 (see note below please).

Note: If you are using a Debian Container on LXC (Proxmox for example) you need to tweak the dovecot install or it will not work, see this fix for more info

It's recommended that the instance of MailAD sits within your DMZ segment with a firewall between it and your users and a mail gateway like Proxmox Mail Gateway between it and the external network.

Features

This will provision a mail server for an enterprise serving corporate users. You can see the major features in the Features.md file, among others you will find:

  1. Low resource footprint.
  2. Advanced (and optional) mail filtering features that includes attachments, SPF, AntiVirus & Spam.
  3. Encrypted LDAP communication as an option.
  4. In place protection to major and known SSL & mail service attacks.
  5. Automatic alias using AD groups.
  6. Manual alias, manual ban, manual headers & body checks.
  7. On demand backup and restore of raw configurations.
  8. Really painless upgrades.
  9. Daily mail traffic summary to your inbox.
  10. Optional user privilege access via AD groups (local/national/international).
  11. Optional disclaimer/notice/warning on every outgoing mail.
  12. Optional aggressive SPAM fight measures.

TODO

There is a TODO list, which serves as a kind of "roadmap" for new features, but as I (the only dev so far) have a life, a family and a daily job, you know...

All dev is made on weekend or late at night (seriously take a peek on the commit dates!) if you need a feature or fix ASAP, please take into account making a donation or found me and I will be happy to help you ASAP, my contact info is on the bottom of this page.

Constraints and requirements

Do you remember the comment at top of the page about "...with some constraints in mind..."? Yeah, here they are:

  1. Your user base and config came from AD as mentioned, we prefer Samba AD but it works on Windows too; see the AD requirements for this tool
  2. The mail storage will be a folder in /home/vmail, all mail will belong to a user named vmail with uid:5000 & gid:5000. Tip: that folder can be a NFS mount or any other type of network storage (configurable)
  3. You use a Windows PC to control and manage the domain (must be a domain member and have the RSAT installed and activated), we recommend a Windows 10 LTSC/Professional
  4. The communication with the server is done in this way: (See this question on the FAQ file to know more)
    • Port 25 (SMTP) is used to receive incoming traffic from the outside world or from a mail gateway.
    • Port 587 (SUBMISSION) is used to receive emails from the users to be delivered locally or relayed to other servers.
    • Port 465 (SMTPS) is used like port 587 but is only enabled as a legacy option, its use is discouraged in favor of port 587.
    • Port 993 (IMAPS) the preffered method to retrieve the email form the server.
    • Port 995 (POP3S) used like the 993, but discouraged in favor of IMAPS (unless you are in a very slow link)

How to install or try it?

We have a INSTALL.md file just for that, and also a FAQ file with common problems.

This is free software!

Have a comment, question, contributions or fix?

Use the Issues tab in the repository URL or drop me a message via Twitter or Telegram

Contributors

Thanks goes to these wonderful people (emoji key):


danny920825

⚠️ 🤔

HugoFlorentino

🤔 💡

Armando Felipe

🤔

Koratsuki

🤔 💻 🌍

Gabriel A. López López

🌍

oneohthree

🤔

Eddy Ernesto del Valle Pino

📖

dienteperro

📖 💵 🤔

Joe1962

🤔 ⚠️

Sandy Napoles Umpierre

🤔 ⚠️

Please read the CONTRIBUTING.md file if you want to contribute to MailAD to know the details of how to do it. All kinds of contributions are welcomed, ideas, fixes, bugs, improvements and even a phone top-up to keep me online.

This project follows the all-contributors specification. Contributions of any kind welcome!

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].
OSZAR »