Postfix postfix.conf configuration example for Ubuntu 18.04 LTS (Bionic Beaver)

Get the default configuration file postfix.conf for Postfix, optimized for Ubuntu 18.04 LTS (Bionic Beaver). This example configuration ensures optimal compatibility and performance for Postfix, making it easy to set up and adjust to meet your needs.

Find and download the configuration file here: /etc/rsyslog.d/postfix.conf.

For more configurations and setup guides, visit our related files section to further customize your system.

    # Create an additional socket in postfix's chroot in order not to break
# mail logging when rsyslog is restarted.  If the directory is missing,
# rsyslog will silently skip creating the socket.
$AddUnixListenSocket /var/spool/postfix/dev/log

    
  

Config Details

Location
/etc/rsyslog.d/postfix.conf
Operating system
Ubuntu 18.04 LTS (Bionic Beaver)
Length
4 lines
MD5 checksum
d8a09827fff2a22311e4dd4a83e95c83

Usage

Download the raw file with wget or curl

Wget

wget -O postfix.conf.example https://exampleconfig.com/static/raw/postfix/ubuntu18.04/etc/rsyslog.d/postfix.conf

cURL

curl https://exampleconfig.com/static/raw/postfix/ubuntu18.04/etc/rsyslog.d/postfix.conf > postfix.conf.example