Get the default configuration file postfix.conf for Postfix, optimized for Ubuntu 16.04 LTS (Xenial Xerus). 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
Download the raw file with wget or curl
wget -O postfix.conf.example https://exampleconfig.com/static/raw/postfix/ubuntu16.04/etc/rsyslog.d/postfix.conf
curl https://exampleconfig.com/static/raw/postfix/ubuntu16.04/etc/rsyslog.d/postfix.conf > postfix.conf.example
Other config files you might find useful