Get the most out of your Centmin Mod LEMP stack
Become a Member

Stable Branch postfix opportunistic TLS encryption for outgoing server mail

Discussion in 'Centmin Mod Github Commits' started by eva2000, Sep 14, 2015.

  1. eva2000

    eva2000 Administrator Staff Member

    30,897
    6,907
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,402
    Local Time:
    8:30 PM
    Nginx 1.13.x
    MariaDB 5.5
    postfix opportunistic TLS encryption for outgoing server mail

    enable by default on initial installs postfix opportunistic TLS encryption for outgoing server emails as per Postfix TLS Support

    for existing users they can implement this via SSH command line using the following commands where first command checks current default postfix values which usually is empty and the last command checks the customised postfix config settings after

    postconf -d smtp_tls_CAfile smtp_tls_security_level smtp_tls_loglevel smtp_tls_session_cache_database
    postconf -e 'smtp_tls_CAfile=/etc/pki/tls/certs/ca-bundle.crt'
    postconf -e 'smtp_tls_security_level = may'
    postconf -e 'smtp_tls_loglevel = 1'
    postconf -e 'smtp_tls_session_cache_database = btree:/var/lib/postfix/smtp_scache'
    service postfix reload
    postconf -n smtp_tls_CAfile smtp_tls_security_level smtp_tls_loglevel smtp_tls_session_cache_database

    Continue reading...

    Centmin Mod Github Current Stable branch

     
    Last edited: Sep 14, 2015