What is email server in linux

Mail server

A mail server consists of multiple components. A mail transfer agent (MTA) receives and sends emails via SMTP. Received and accepted emails are then passed to a mail delivery agent (MDA), which stores the mail in a mailbox (usually in mbox or Maildir format). If you want users to be able to remotely access their mail using email clients (MUA), you need to run a POP3 and/or IMAP server.

Contents

Software

This article or section needs language, wiki syntax or style improvements. See Help:Style for reference.

This article or section needs expansion.

All of these software include a mail delivery agent.

POP3/IMAP servers

  • Courier — A mail transfer agent, providing POP3, IMAP, webmail and mailing list services as individual components.

https://www.courier-mta.org/ || courier-mtaAUR

  • Cyrus IMAP — A mail transfer agent with a custom mail spool format, provides POP3 and IMAP services.

https://www.cyrusimap.org/ || cyrus-imapdAUR

  • Dovecot — An IMAP and POP3 server written to be secure, fast and simple to set up.

https://dovecot.org/ || dovecot

  • UW IMAP — An IMAP/POP server.

https://web.archive.org/web/20191028114408/https://www.washington.edu/imap/ || imap

Standalone MTAs

The factual accuracy of this article or section is disputed.

These packages all provide a sendmail executable with similar options.

Standalone MDAs

  • fdm — A simple program for delivering and filtering mail.

https://github.com/nicm/fdm || fdm

  • Procmail — A program for filtering, sorting and storing email (unmaintained).

http://www.procmail.org/ || procmail

  • Maildrop — A mail filter/mail delivery agent used by the Courier Mail Server.

https://www.courier-mta.org/maildrop/ || courier-maildropAUR

Ports

Purpose Port Protocol Encryption
Accept mail from other MTAs. 25 SMTP STARTTLS
Accept submissions from MUAs. 587 SMTP STARTTLS
465 SMTPS implicit TLS
Let MUAs access mail. 110 POP3 STARTTLS
995 POP3S implicit TLS
143 IMAP STARTTLS
993 IMAPS implicit TLS

MX record

Hosting a mail server requires a domain name with an MX record pointing to the domain name of your mail transfer agent. The domain name used as the value of the MX record must map to at least one address record (A, AAAA) and must not have a CNAME record to conform with RFC 2181, otherwise you may not get mail from some mail servers. Configuring DNS records is usually done from the configuration interface of your domain name registrar.

To obtain a certificate, see OpenSSL#Usage.

Authentication

There are various email authentication techniques.

Читайте также:  Как увеличить диск зарезервировано системой windows 10

Sender Policy Framework

Sender Policy Framework (SPF) is an email validation protocol designed to detect and block email spoofing by providing a mechanism to allow receiving mail exchangers to verify that incoming mail from a domain comes from an IP Address authorized by that domain’s administrators.

To allow other mail exchangers to validate mails apparently sent from your domain, you need to set a DNS TXT record as explained in the Wikipedia article (there is also an online wizard). To validate incoming mail using SPF you need to configure your mail transfer agent to use a SPF implementation. There are several SPF implementations available: libspf2 , perl-mail-spf and perl-mail-spf-query .

SPF validation support

Courier Yes, built-in
Postfix Yes
Sendmail through Milter and spfmilter-acme AUR
Exim Yes, requires libspf2
OpenSMTPD No
Cyrus IMAP ?

The following websites let you validate your SPF record:

Sender Rewriting Scheme

The Sender Rewriting Scheme (SRS) is a secure scheme to allow forwardable bounces for server-side forwarded emails without breaking the Sender Policy Framework.

DomainKeys Identified Mail (DKIM) is a domain-level email authentication method designed to detect email spoofing.

Available DKIM implementations are OpenDKIM and perl-mail-dkim .

Testing

There are several options to help you test DNS records, deliver ability, and encryption support.

Dedicated tools

Dedicated websites

There are several handy web sites that can help you testing.

Tips and tricks

Most mail servers can be configured to strip users’ IP addresses and user agents from outgoing mail.

Available extras that can usually be integrated are:

  • ClamAV for virus checking emails
  • SpamAssassin to identify and filter spam
  • Sieve – a mail filtering programming language
  • webmail like Roundcube or Squirrelmail

Источник

Linux Mail Server

Install, configure, secure, and deploy to production in only 10 minutes. A single software package, pre-configured and ready to go for your Linux email platform of choice.

This article guides you through the steps of installing, performing basic configuration, and securing a Linux email server on own — physical or virtual — server. The single software package required is the full-featured Axigen all-in-one Linux email platform.

At the end of the article you will have a fully functioning Axigen installation which you can use to evaluate the product. Should you choose to deploy it in production, we’ve also included links to some articles and documentation pages with guidance on how to implement best practices when it comes to self hosting your email domains.

Linux Mail Server Ecosystem Overview

The Issue:Too Many Open Source Components

The Linux Email Server Ecosystem provides open source and free components for nearly all modules required by a complete Linux mail server (MTA, IMAP and POP3 servers, WebMail, WebAdmin, CalDAV and CardDAV). The internet also abounds in tutorials on how to mix and match these components.

For example, this tutorial provides a blueprint for installing and integrating Postfix (for SMTP), SpamAssassin, and Dovecot (for IMAP and POP3). It also instructs you on how to deploy Let’s Encrypt certificates on your SMTP Postfix-based MTA. It stops here though. If you’d want to also install a WebMail interface (e.g. RoundCube or SquirrelMail), your internet search would have to continue.

Читайте также:  Mac os rdp раскладка

There are also some already bundled packages that pre-integrate certain components (e.g. mailu, mailinabox, etc.). These clearly come with the convenience of shorter installation times and already available client management and access tools (WebAdmin and WebMail). However, you still have to do the work of finding all the components needed for your Linux email service.

The Solution:Axigen as a Premium Linux Mail Server

Axigen does not mix and match any open sources components. All services and functionalities are built and developed by Axigen and integrated into a single process. This has the following advantages:

  • 1 The tight integration greatly simplifies the installation, but also enhances the density of mailboxes supported on a certain «hardware unit»
  • 2 Single vendor support 24/7/365 Support — Customers and Partners can directly access tech support by email at any time.
  • 3 Axigen is easy to setup and use, and we provide all the information you need, in a single place.

Axigen also features, as a WebMail-centric email platform, a single-page dynamic web interface for having access to your emails, calendars, contacts, tasks, notes, shared folders, shared calendars, shared contacts, or shared notes.

Источник

Лучшие почтовые серверы Linux

Электронная почта — это не просто веб-сайт, на котором вы можете обмениваться сообщениями, такой как ВКонтакте или Facebook. Это более сложный механизм, который работает с помощью собственного протокола. В сети почтовые клиенты отправляют письма на почтовый сервер, затем они уже направляются к адресату.

Именно потому мы можем отправлять почту всем адресатам, независимо от их домена, mail, gmail, yandex и т д. На низком уровне эти сервисы работают по одному протоколу. Чтобы отправить сообщение почтовый сервер использует программу MTA (Mail Transfer Agent). В этой статье мы собрали лучшие почтовые серверы для Linux.

Лучшие почтовые серверы для Linux

MTA — это приложение, которое определяет маршруты и передает электронную почту от одного узла в сети к другому. Для этого используется протокол SMTP — Simple Mail Transfer Protocol или простой протокол передачи почты. Для отправки почты используется почтовый клиент, он может отправлять и получать письма от почтового сервера и тоже использует SMTP, но это необязательно MTA. MTA работают на сервере, а на компьютерах используются почтовые клиенты, такие как Mozilla Thunderbird, Evolution, Outlook и т д.

1. Sendmail

Почтовый сервер Sendmail теперь известный как Proofpoint, после того как Proofpoint Inc. приобрела Sendmail Inc. На сегодняшний день — это самый популярный и самый старый MTA для операционной системы Linux. Если сравнивать Sendmail и более современные почтовые серверы, то здесь есть много ограничений.

Настройка сервера очень сложная, а система безопасности слабая, поэтому были разработаны альтернативные почтовые серверы. Но все же он достаточно хорошо справляется со своей задачей. Продолжим наш обзор почтовых серверов linux более современными вариантами. Этот почтовый сервер очень часто использовался в связке с интерпретатором языка программирования PHP для отправки почты.

Читайте также:  Не все скрытые файлы показывает mac os x

2. Postfix

Postfix — это ещё один популярный почтовый сервер с открытым исходным кодом, который был разработан компанией Wietse Zweitze Venema для собственного почтового сервера, когда он работал в научно-исследовательском отделе IBM. Он составляет сильную конкуренцию для очень популярного Sendmail и может работать на всех Unix подобных системах.

Здесь позаимствовано много свойств Sendmail, но есть и множество отличий и улучшений. Postfix быстрый, безопасный и легкий в настройке. Согласно статистике более 30% всех почтовых серверов на данный момент используют Postfix.

3. Exim

Свободный почтовый сервер для операционных систем на базе ядра Linux, а также BSD. Он написан на Си и очень производительный, поэтому может использоваться для отправки огромного количества писем. К тому же сейчас он активно развивается, прост в настройке и поддерживает большое количество баз данных.

4. Qmail

Qmail — еще один свободный и современный сервер отправки электронной почты с открытым исходным кодом. Он простой, надежный и эффективный, предлагает широкие возможности безопасности. Разрабатывался Qmail как альтернатива для Sendmail и написан он на Си. Поэтому показывает неплохую производительность. Из преимуществ в нём встроены дополнительные механизмы управления списками рассылки, а также фильтрации спама.

5. Dwarf Mail Server

Уже довольно старый, но всё равно функциональный почтовый сервер, написанный на Java. Он поддерживает протоколы работы почты SMTP, POP3 и IMAP4. Подходит как для обычных пользователей, которым нужен простой почтовый сервер, так и для разработчиков. Работает на всех платформах, поддерживающих Java и не требует тратить много времени на настройку.

6. MailerQ

Это современный и высокопроизводительный почтовый сервер позволяющий отправлять и переправлять очень большое количество почты. Но у него есть один значительный недостаток. Он платный. Версия для установки на один сервер стоит 10 тысяч евро на данный момент. Зато он поддерживает мониторинг в реальном времени, позволяет показывать детальную статистику о попытках отправки почты, очередях, и логах ошибок.

7. Courier Mail Server

Этот почтовый сервер распространяется под лицензией GPL и поэтому он полностью бесплатен для использования. Он известен своей модульностью, его компоненты для работы с IMAP, или система фильтрации почты Maildrop могут быть установлены и использованы отдельно от всего остального. Сам почтовый сервер написан на C++ и Perl и может работать в Linux, MacOS и FreeBSD. Поддерживаются такие протоколы как ESMTP, IMAP, POP3 и SMAP.

8. Apache James Server

Это ещё один почтовый сервер, написанный на Java и развиваемый организацией Apache Software Foundation. Он поддерживает протоколы SMTP, LMTP, POP3, IMAP, JMAP а также ManageSieve. Проект понемногу развивается и сейчас он предназначен для работы на Java машине 11 версии. Сервер можно использовать в качестве SMTP релея или для доставки почты по локальным ящикам, причём поддерживаются как локальные учётные записи, так и виртуальные почтовые ящики.

Выводы

В этой статье мы рассмотрели как передается электронная почта по сети, а также лучшие почтовые серверы Linux. Для обработки почты на Losst используется Postfix. А какой почтовый сервер используете вы? Какой считаете лучшим? Почему? Напишите в комментариях!

Источник

Оцените статью