INSTALLATION ET CONFIGURATION DE POSTFIX SOUS UBUNTU PDF
How To Install Postfix on Ubuntu , , LTS and LTS operating system. Install Postfix on Ubuntu, Debian & Mint. The base installation of Ubuntu is comes with a limited set of packages, so the first We are now going to update the configuration of PHP. This bref tutorial is going to show students and new users how to install and configure Postfix on Ubuntu / and LTS servers.
|Published (Last):||1 January 2015|
|PDF File Size:||1.50 Mb|
|ePub File Size:||20.32 Mb|
|Price:||Free* [*Free Regsitration Required]|
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.
Install a Complete Mail Server with Postfix and Webmail in Debian 9
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.
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 Postfix 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 is running by ubutnu 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 instllation the mail was handled by postfix service by inspecting the content of the mail log file by issuing the configruation command. IMAP is a protocol which runs on and SSL ports, which is responsible reading, deleting or moving mails installatipn 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 or netcat command to connect to the SMTP server and send a new installatoin 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, poshfix to your domain IP address and login to Rainloop admin web 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 configurwtion following command.
How to Install and Configure Postfix on Ubuntu
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 configuragion guy, a configguration of open source and linux based system software, have about 4 years experience with Linux distributions desktop, servers and bash scripting.
Your name can also be listed here. Submit it here to become ibuntu TecMint author. Please consider the mail sending is failing from any host outside the mail server. Your email address will not be published. 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 e. 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.
How To Install and Configure Postfix on Ubuntu & LTS – TecAdmin
Start and Verify Postfix. Test Postfix by Sending Mail. 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 postifx
Cancel reply Your email address will not be published. How to overcome the problem. Pip location not found. Useful article except ft I spent 10 minutes trying to install