Posfix eMail Server Smtp, Pop & Imap Client Secure Authentification with Dovecot SetUp on Linux Ubuntu Step-by-Step Easy Visual-Guide

July 17, 2013 | By Regaz | Filed in: Uncategorized.

The Easy Linux Visual-Guide shows you How to Install, Configure and Getting-Started with the Postfix eMail MTA on Ubuntu Linux.

The Postfix+Dovecot Configuration Proposed will Permit the eMail Clients Connection and Retrieval from Your Server.

If You Do Not Already Dispose of a Working Postfix eMail Server then Before Follow the Guide to Postfix Configuration.

Included there is also a Link to How Create a Self Signed SSL Certificate Needed for Postfix+Dovecot Authentication.

Linux GNOME Penguin eMail
  1. Open Terminal Window
    (Press “Enter” to Execute Commands)

    Cmd and Search “term”

    Ubuntu Linux Raring Open Terminal
  2. Postfix eMail Server Basic Configuration.

    Posfix Server Getting-Started
  3. Install Dovecot Package

    sudo su
    apt-get install dovecot-common
  4. Configure Postfix for Smtp-Auth using Dovecot SASL

    postconf -e 'smtpd_sasl_type = dovecot'
    postconf -e 'smtpd_sasl_path = private/auth-client'
    postconf -e 'smtpd_sasl_local_domain ='
    postconf -e 'smtpd_sasl_security_options = noanonymous'
    postconf -e 'broken_sasl_auth_clients = yes'
    postconf -e 'smtpd_sasl_auth_enable = yes'
    postconf -e 'smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination'
  5. Create a Self-Signed Certificate for SSL Authentication

    Self-Signed Certificate on Ubuntu
  6. Copy Key, CSR and Certificate for Dovecot Auth

    cp </path/2>/myKEY.pem /etc/ssl/private
    cp </path/2>/myCSR.pem /etc/ssl/certs
    cp </path/2>/myCERT.pem /etc/ssl/certs
  7. Setting Up Dovecot with SSL

    postconf -e 'smtp_tls_security_level = may'
    postconf -e 'smtpd_tls_security_level = may'
    postconf -e 'smtp_tls_note_starttls_offer = yes'
    postconf -e 'smtpd_tls_key_file = /etc/ssl/private/myKEY.pem'
    postconf -e 'smtpd_tls_cert_file = /etc/ssl/certs/myCSR.pem'
    postconf -e 'smtpd_tls_CAfile = /etc/ssl/certs/myCERT.pem'
    postconf -e 'smtpd_tls_loglevel = 1'
    postconf -e 'smtpd_tls_received_header = yes'
  8. Then Restart Postfix

    service postfix restart
  9. How to Enable Dovecot SASL Auth for Postfix.

    Enabling Dovecot SASL Auth

Tags: , , , , , , , , , , , , , , , , , ,