Bonjour, J’ai installé un serveur de messagerie Postfix sous linux. mais j’ai du je suis sous debian. Je vous donne les configurations de mes fichiers: 1- Postfix. We can install Postfix, Dovecot, MySQL, rkhunter, General type of mail configuration. Postfix is a popular open-source Mail Transfer Agent (MTA) that can be used to In order to properly configure Postfix, you will need a Fully Qualified . and Configure Postfix as a Send-Only SMTP Server on Debian 9 · How.

Author: Mikagal Mile
Country: Uganda
Language: English (Spanish)
Genre: Marketing
Published (Last): 7 July 2008
Pages: 227
PDF File Size: 12.61 Mb
ePub File Size: 16.39 Mb
ISBN: 554-8-49299-958-6
Downloads: 41128
Price: Free* [*Free Regsitration Required]
Uploader: Gardasho

October 12, Last Updated: This tutorial will guide you on how to install and configure a complete mail server with Postfix in Debian 9 release. It will also cover how to configure accounts mailboxes using Dovecot in order to retrieve and compose mails via IMAP protocol. The users will use Rainloop Webmail interface as the mail user agent to handle mail.

In the first step, login to your machine with an account with root privileges or directly with the root user and make sure your Debian system is up to date with the latest security patches and software and packages releases, by issuing the following command.

On the next step install the following software packages that will be used for system administration, by issuing the following command.

The Perfect Server – Debian 9 (Stretch) with Apache, BIND, Dovecot, PureFTPD and ISPConfig

Replace IP address and domain accordingly. Afterwards, reboot the machine in order to apply the hostname properly.

After reboot, verify if the hostname has been correctly configured by issuing the following series of commands. Also, test if the domain correctly replies to local queries by issuing the below commands. The most important piece of software required for a mail server to function properly is the MTA agent. The MTA is a software built in a server-client architecture, which is responsible for mail transfer between mail servers.

To install postfix in Debian from official repositories execute the following command. During the installation process of Postfix you will be asked a series of questions. On the first prompt, select Internet Site option as the general type for Confoguration configuration and press [enter] key to continue and then add your domain name to system mail name, as illustrated in the following screenshots. Next, backup Postfix main configuration file and configure Postfix for your domain by using the following commands.


Replace the myhostnamemydomain and mynetworks variables to match your own configurations. You can run postconf -n command in order to dump Postfix main configuration file and check eventual errors, as shown in the below screenshot. After all configurations are in place, restart Postfix daemon to apply changes and verify if the service posgfix running by inspecting if Postfix master service is binding on port 25 by running netstat command.

In order to test if postfix can handle mail transfer, first install mailutils package by running the following command. You can also verify in what manner the mail was handled by postfix service by inspecting the content of the mail log file by debiab the following command.

IMAP is a protocol which runs on and SSL ports, which is responsible reading, deleting or moving mails across multiple email clients. The IMAP protocol also uses synchronization in order to assure that a copy of each message is saved on the server and allows users to create multiple directories on the server and move mails to this directories in order to sort the e-mails.

This is not the case with POP3 protocol.

You only have the inbox folder to manage mail. After Dovecot has been installed in your system, open the below dovecot files for editing and make the following changes. Here search for Postfix smtp-auth block and make the following change:. Test if the mail server is running properly by adding a new user account to the system and use telnet sebian netcat command to connect to the SMTP server and send a new mail to the new added user, as illustrated in the below excerpts.

Users will manage their emails via Rainloop Webmail client.

After Rainloop Webmail client has been installed in the system, navigate to your domain IP address and login to Rainloop admin conffiguration interface with the following default credentials:.

Navigate to Domains menu, hit on Add Domain button and add your domain name settings as shown in the below screenshot. To add a new user issue useradd command with -m flag in order to create the user home directory. But, first make sure you configure the Maildir path variable for every user with the following command. All mails redirected or destined to root account will be forwarded to your mail user as shown in the below image.


You have successfully installed and configured a mail server at your premises in order for local users to communicate via e-mails.

We are thankful for your never ending support. Install Postfix on Debian. I’am a computer addicted guy, a fan of open source and linux based system software, have about 4 years experience with Linux distributions desktop, servers and bash scripting.

Postfix – Debian Wiki

Your name can also souss listed here. Submit it here to become an TecMint author. Please consider the mail sending is failing from any host outside the mail server.

Your email address will not be published.

How to install and configure Postfix, Dovecot and SquirrelMail on Debian Linux

Notify me of followup comments via e-mail. You can also subscribe without commenting. This site uses Akismet to reduce spam.

Learn how your comment data is processed. How to Install Nagios 4. How to Install Ubuntu Postfix Mail Server Requirements Debian 9 Minimal Installation A static IP address configured for the network interface A local or a public registered domain name.

Check Hostname in Debian. Configure Postfix Mail Domain. Start and Verify Postfix. Test Postfix by Sending Mail.

Install a Complete Mail Server with Postfix and Webmail in Debian 9

Start and Verify Dovecot. Add Domain in Webmail. Postfix Webmail User Login. Postfix Webmail User Inbox. Twitter Facebook Google Plus Subscribe to our email updates: Support us by taking our online Linux courses We are thankful for your never ending support. December 13, at 3: November 12, at November 13, at October 9, at 8: October 10, at 2: August 3, at 7: August 6, at June 12, at 2: June 18, at 5: June 18, at 3: Got something to say?

Cancel reply Your email address will not be published. How to overcome the problem. Pip location not found. Useful article except that I spent 10 minutes trying to install