File: //etc/postfix/master.cf
# generated by Ansible role ndn_postfix
# Postfix master process configuration file. For details on the format
# of the file, see the master(5) manual page (command: "man 5 master" or
# on-line: http://www.postfix.org/master.5.html).
#
# Service names for services of type 'inet' are port numbers or symbolic names
# for ports from the /etc/services file. Service names for services of type
# 'unix' are the name of the socket, with the socket's path being relative to
# the Postfix queue directory.
#
# Do not forget to execute "postfix reload" after editing this file.
#
# ==========================================================================
# service type private unpriv chroot wakeup maxproc command + args
# (yes) (yes) (no) (never) (100)
# ==========================================================================
### SMTP IN
# smtp port
25 inet n - y - 180 smtpd
-o syslog_name=postfix/$service_name
# submission port, submission from MUA
587 inet n - y - 180 smtpd
-o syslog_name=postfix/$service_name
# Unix socket, one file descriptor passed per connection
smtpd pass - - y - - smtpd
-o syslog_name=postfix/$service_name
### SMTP OUT
# Unix socket. Used to send mail out to remote port 25.
smtp unix - - y - 180 smtp
-o syslog_name=postfix/$service_name
relay unix - - y - - smtp
-o syslog_name=postfix/$service_name
-o smtp_helo_timeout=5 -o smtp_connect_timeout=5
# Postfix zombie blocker -- should not be used on ports used by MUAs
#smtp inet n - y - 1 postscreen
# Postfix DNS white/blacklist logger an ad-hoc lookup service
#dnsblog unix - - y - 0 dnsblog
# Postfix server-side TLS proxy
#tlsproxy unix - - y - 0 tlsproxy
# Accept emails from the maildrop directory
pickup unix n - y 60 1 pickup
# Insert mail into incoming queue
cleanup unix n - y - 0 cleanup
# Queue manager
qmgr unix n - n 300 1 qmgr
# Postfix TLS session cache and PRNG manager
tlsmgr unix - - y 1000? 1 tlsmgr
# Rewrite email addresses to standard form
rewrite unix - - y - - trivial-rewrite
# Bounce, defer, & trace maintain message delivery status information
bounce unix - - y - 0 bounce
defer unix - - y - 0 bounce
trace unix - - y - 0 bounce
# Verify certificates
verify unix - - y - 1 verify
# Keep record of deferred mail by destination
flush unix n - y 1000? 0 flush
# Read-only table lookup service
proxymap unix - - n - - proxymap
# Read-write table lookup service
proxywrite unix - - n - 1 proxymap
# Report mail queue status
showq unix n - y - - showq
# Process non-delivery (bounce or defer) with 5** status
error unix - - y - - error
# Process non-delivery (bounce or defer) with 4** status
retry unix - - y - - error
# Handle discarding messages
discard unix - - y - - discard
# local delivery daemon
local unix - n n - - local
# delivery agent for virtual aliases
virtual unix - n n - - virtual
# Local Mail Transport Protocol
lmtp unix - - y - - lmtp
# Postfix session count and request rate control
anvil unix - - y - 1 anvil
# Postfix shared connection cache server
scache unix - - y - 1 scache