Postfix Default Configs

Untouched Postfix defaults from fresh installs

/etc/systemd/postfix@.service
Postfix Debian 9 (Stretch) Ubuntu 18.04 LTS (Bionic Beaver)

Postfix - /etc/systemd/postfix@.service

πŸ“ Debian 9 (Stretch), Debian 10 (Buster), Debian 11 (Bullseye), Debian 12 (Bookworm), Debian 13 (Trixie)

πŸ“ Ubuntu 18.04 LTS (Bionic Beaver), Ubuntu 20.04 LTS (Focal Fossa), Ubuntu 22.04 LTS (Jammy Jellyfish), Ubuntu 24.04 LTS (Noble Numbat)

[Unit]
Description=Postfix Mail Transport Agent (instance %i)
Documentation=man:postfix(1)
PartOf=postfix.service
Before=postfix.service
ReloadPropagatedFrom=postfix.service
After=network-online.targ…
19 lines β€’ MD5: 4224e053... View β†’
/etc/systemd/postfix.service
Postfix Debian 9 (Stretch) Ubuntu 18.04 LTS (Bionic Beaver) Red Hat Enterprise Linux 8 (Ootpa) CentOS Stream 9

Postfix - /etc/systemd/postfix.service

πŸ“ Debian 9 (Stretch), Debian 10 (Buster), Debian 11 (Bullseye), Debian 12 (Bookworm), Debian 13 (Trixie)

πŸ“ Ubuntu 18.04 LTS (Bionic Beaver), Ubuntu 20.04 LTS (Focal Fossa), Ubuntu 22.04 LTS (Jammy Jellyfish), Ubuntu 24.04 LTS (Noble Numbat)

πŸ“ Red Hat Enterprise Linux 8 (Ootpa), Red Hat Enterprise Linux 9 (Plow)

πŸ“ CentOS Stream 9

[Unit]
Description=Postfix Mail Transport Agent
Conflicts=sendmail.service exim4.service
ConditionPathExists=/etc/postfix/main.cf

[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/bin/true
ExecR…
13 lines β€’ MD5: 0511e63a... View β†’
/etc/postfix/master.cf.proto
Postfix Debian 9 (Stretch) Ubuntu 18.04 LTS (Bionic Beaver) Red Hat Enterprise Linux 8 (Ootpa) Alpine Linux v3.21 CentOS Stream 9

Postfix - /etc/postfix/master.cf.proto

πŸ“ Debian 9 (Stretch), Debian 10 (Buster), Debian 11 (Bullseye), Debian 12 (Bookworm), Debian 13 (Trixie)

πŸ“ Ubuntu 18.04 LTS (Bionic Beaver), Ubuntu 20.04 LTS (Focal Fossa), Ubuntu 22.04 LTS (Jammy Jellyfish), Ubuntu 24.04 LTS (Noble Numbat)

πŸ“ Red Hat Enterprise Linux 8 (Ootpa), Red Hat Enterprise Linux 9 (Plow)

πŸ“ Alpine Linux v3.21

πŸ“ CentOS Stream 9

#
# 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).
#
…
124 lines β€’ MD5: 23609c98... View β†’
/etc/postfix/main.cf.proto
Postfix Debian 9 (Stretch) Ubuntu 18.04 LTS (Bionic Beaver) Red Hat Enterprise Linux 8 (Ootpa) Alpine Linux v3.21 CentOS Stream 9

Postfix - /etc/postfix/main.cf.proto

πŸ“ Debian 9 (Stretch), Debian 10 (Buster), Debian 11 (Bullseye), Debian 12 (Bookworm), Debian 13 (Trixie)

πŸ“ Ubuntu 18.04 LTS (Bionic Beaver), Ubuntu 20.04 LTS (Focal Fossa), Ubuntu 22.04 LTS (Jammy Jellyfish), Ubuntu 24.04 LTS (Noble Numbat)

πŸ“ Red Hat Enterprise Linux 8 (Ootpa), Red Hat Enterprise Linux 9 (Plow)

πŸ“ Alpine Linux v3.21

πŸ“ CentOS Stream 9

# Global Postfix configuration file. This file lists only a subset
# of all parameters. For the syntax, and for a complete parameter
# list, see the postconf(5) manual page (command: "man 5 postconf"…
684 lines β€’ MD5: bb3a2e40... View β†’
/etc/postfix/main.cf
Postfix Debian 9 (Stretch) Ubuntu 18.04 LTS (Bionic Beaver) Red Hat Enterprise Linux 8 (Ootpa) Alpine Linux v3.21 CentOS Stream 9

Postfix - /etc/postfix/main.cf

πŸ“ Debian 9 (Stretch), Debian 10 (Buster), Debian 11 (Bullseye), Debian 12 (Bookworm), Debian 13 (Trixie)

πŸ“ Ubuntu 18.04 LTS (Bionic Beaver), Ubuntu 20.04 LTS (Focal Fossa), Ubuntu 22.04 LTS (Jammy Jellyfish), Ubuntu 24.04 LTS (Noble Numbat)

πŸ“ Red Hat Enterprise Linux 8 (Ootpa), Red Hat Enterprise Linux 9 (Plow)

πŸ“ Alpine Linux v3.21

πŸ“ CentOS Stream 9

# See /usr/share/postfix/main.cf.dist for a commented, more complete version


# Debian specific:  Specifying a file name will cause the first
# line of that file to be used as the name.  The Debian …
44 lines β€’ MD5: 8802fc88... View β†’
/etc/postfix/master.cf
Postfix Debian 9 (Stretch) Ubuntu 18.04 LTS (Bionic Beaver) Red Hat Enterprise Linux 8 (Ootpa) Alpine Linux v3.21 CentOS Stream 9

Postfix - /etc/postfix/master.cf

πŸ“ Debian 9 (Stretch), Debian 10 (Buster), Debian 11 (Bullseye), Debian 12 (Bookworm), Debian 13 (Trixie)

πŸ“ Ubuntu 18.04 LTS (Bionic Beaver), Ubuntu 20.04 LTS (Focal Fossa), Ubuntu 22.04 LTS (Jammy Jellyfish), Ubuntu 24.04 LTS (Noble Numbat)

πŸ“ Red Hat Enterprise Linux 8 (Ootpa), Red Hat Enterprise Linux 9 (Plow)

πŸ“ Alpine Linux v3.21

πŸ“ CentOS Stream 9

#
# 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).
#
…
124 lines β€’ MD5: 23609c98... View β†’
/etc/postfix/dynamicmaps.cf
Postfix Debian 9 (Stretch) Ubuntu 18.04 LTS (Bionic Beaver) Red Hat Enterprise Linux 8 (Ootpa) Alpine Linux v3.21 CentOS Stream 9

Postfix - /etc/postfix/dynamicmaps.cf

πŸ“ Debian 9 (Stretch), Debian 10 (Buster), Debian 11 (Bullseye), Debian 12 (Bookworm), Debian 13 (Trixie)

πŸ“ Ubuntu 18.04 LTS (Bionic Beaver), Ubuntu 20.04 LTS (Focal Fossa), Ubuntu 22.04 LTS (Jammy Jellyfish), Ubuntu 24.04 LTS (Noble Numbat)

πŸ“ Red Hat Enterprise Linux 8 (Ootpa), Red Hat Enterprise Linux 9 (Plow)

πŸ“ Alpine Linux v3.21

πŸ“ CentOS Stream 9

sqlite	postfix-sqlite.so	dict_sqlite_open	
1 lines β€’ MD5: 07a46543... View β†’
/etc/postfix/postfix-script
Postfix Debian 9 (Stretch) Ubuntu 18.04 LTS (Bionic Beaver)

Postfix - /etc/postfix/postfix-script

πŸ“ Debian 9 (Stretch), Debian 10 (Buster), Debian 11 (Bullseye), Debian 12 (Bookworm)

πŸ“ Ubuntu 18.04 LTS (Bionic Beaver), Ubuntu 20.04 LTS (Focal Fossa), Ubuntu 22.04 LTS (Jammy Jellyfish), Ubuntu 24.04 LTS (Noble Numbat)

#!/bin/sh

#++
# NAME
#	postfix-script 1
# SUMMARY
#	execute Postfix administrative commands
# SYNOPSIS
#	\fBpostfix-script\fR \fIcommand\fR
# DESCRIPTION
#	The \fBpostfix-script\fR script executes P…
407 lines β€’ MD5: ff3d2588... View β†’
/etc/postfix/postfix-files
Postfix Debian 9 (Stretch) Ubuntu 18.04 LTS (Bionic Beaver) Red Hat Enterprise Linux 8 (Ootpa) Alpine Linux v3.21 CentOS Stream 9

Postfix - /etc/postfix/postfix-files

πŸ“ Debian 9 (Stretch), Debian 10 (Buster), Debian 11 (Bullseye), Debian 12 (Bookworm), Debian 13 (Trixie)

πŸ“ Ubuntu 18.04 LTS (Bionic Beaver), Ubuntu 20.04 LTS (Focal Fossa), Ubuntu 22.04 LTS (Jammy Jellyfish), Ubuntu 24.04 LTS (Noble Numbat)

πŸ“ Red Hat Enterprise Linux 8 (Ootpa), Red Hat Enterprise Linux 9 (Plow)

πŸ“ Alpine Linux v3.21

πŸ“ CentOS Stream 9

#
# Do not edit this file.
#
# This file controls the postfix-install script for installation of
# Postfix programs, configuration files and documentation, as well
# as the post-install script for se…
221 lines β€’ MD5: b0336ad3... View β†’
/etc/postfix/post-install
Postfix Debian 9 (Stretch) Ubuntu 18.04 LTS (Bionic Beaver)

Postfix - /etc/postfix/post-install

πŸ“ Debian 9 (Stretch), Debian 10 (Buster), Debian 11 (Bullseye), Debian 12 (Bookworm)

πŸ“ Ubuntu 18.04 LTS (Bionic Beaver), Ubuntu 20.04 LTS (Focal Fossa), Ubuntu 22.04 LTS (Jammy Jellyfish), Ubuntu 24.04 LTS (Noble Numbat)

#!/bin/sh

# To view the formatted manual page of this file, type:
#	POSTFIXSOURCE/mantools/srctoman - post-install | nroff -man

#++
# NAME
#	post-install
# SUMMARY
#	Postfix post-installation scrip…
910 lines β€’ MD5: ed83d3b1... View β†’
/etc/postfix/makedefs.out
Postfix Debian 9 (Stretch) Ubuntu 18.04 LTS (Bionic Beaver)

Postfix - /etc/postfix/makedefs.out

πŸ“ Debian 9 (Stretch)

πŸ“ Ubuntu 18.04 LTS (Bionic Beaver)

# Do not edit -- this file documents how Postfix was built for your machine.
#----------------------------------------------------------------
# Start of summary of user-configurable 'make makefiles'…
64 lines β€’ MD5: 093b260e... View β†’
/etc/postfix/postfix-files.d/sqlite.files
Postfix Debian 9 (Stretch)

Postfix - /etc/postfix/postfix-files.d/sqlite.files

πŸ“ Debian 9 (Stretch)

$shlib_directory/postfix-sqlite.so:f:root:-:755
$manpage_directory/man5/sqlite_table.5.gz:f:root:-:644
2 lines β€’ MD5: 0f49c8f3... View β†’
/etc/systemd/postfix-resolvconf.service
Postfix Debian 12 (Bookworm) Ubuntu 24.04 LTS (Noble Numbat)

Postfix - /etc/systemd/postfix-resolvconf.service

πŸ“ Debian 12 (Bookworm), Debian 13 (Trixie)

πŸ“ Ubuntu 24.04 LTS (Noble Numbat)

[Unit]
Description=Copies updated resolv.conf to postfix chroot and restarts postfix.

[Service]
Type=simple
ExecStart=/etc/resolvconf/update-libc.d/postfix

[Install]
WantedBy=multi-user.target
9 lines β€’ MD5: 65cdd286... View β†’
/etc/systemd/postfix-resolvconf.path
Postfix Debian 12 (Bookworm) Ubuntu 24.04 LTS (Noble Numbat)

Postfix - /etc/systemd/postfix-resolvconf.path

πŸ“ Debian 12 (Bookworm), Debian 13 (Trixie)

πŸ“ Ubuntu 24.04 LTS (Noble Numbat)

[Unit]
Description=Watch for resolv.conf updates and restart postfix
ConditionPathExists=/etc/resolv.conf

[Path]
PathChanged=/etc/resolv.conf
Unit=postfix-resolvconf.service

[Install]
WantedBy=mult…
11 lines β€’ MD5: dca3e745... View β†’
/etc/postfix/virtual
Postfix Red Hat Enterprise Linux 8 (Ootpa) Alpine Linux v3.21 CentOS Stream 9

Postfix - /etc/postfix/virtual

πŸ“ Red Hat Enterprise Linux 8 (Ootpa), Red Hat Enterprise Linux 9 (Plow)

πŸ“ Alpine Linux v3.21

πŸ“ CentOS Stream 9

# VIRTUAL(5)                                                          VIRTUAL(5)
# 
# NAME
#        virtual - Postfix virtual alias table format
# 
# SYNOPSIS
#        postmap /etc/postfix/virtual
# …
324 lines β€’ MD5: 1adaa58e... View β†’
/etc/postfix/transport
Postfix Red Hat Enterprise Linux 8 (Ootpa) Alpine Linux v3.21 CentOS Stream 9

Postfix - /etc/postfix/transport

πŸ“ Red Hat Enterprise Linux 8 (Ootpa), Red Hat Enterprise Linux 9 (Plow)

πŸ“ Alpine Linux v3.21

πŸ“ CentOS Stream 9

# TRANSPORT(5)                                                      TRANSPORT(5)
# 
# NAME
#        transport - Postfix transport table format
# 
# SYNOPSIS
#        postmap /etc/postfix/transport
# …
317 lines β€’ MD5: 81e28294... View β†’
/etc/postfix/relocated
Postfix Red Hat Enterprise Linux 8 (Ootpa) Alpine Linux v3.21 CentOS Stream 9

Postfix - /etc/postfix/relocated

πŸ“ Red Hat Enterprise Linux 8 (Ootpa), Red Hat Enterprise Linux 9 (Plow)

πŸ“ Alpine Linux v3.21

πŸ“ CentOS Stream 9

# RELOCATED(5)                                                      RELOCATED(5)
# 
# NAME
#        relocated - Postfix relocated table format
# 
# SYNOPSIS
#        postmap /etc/postfix/relocated
# …
176 lines β€’ MD5: 416be021... View β†’
/etc/postfix/header_checks
Postfix Red Hat Enterprise Linux 8 (Ootpa) Alpine Linux v3.21 CentOS Stream 9

Postfix - /etc/postfix/header_checks

πŸ“ Red Hat Enterprise Linux 8 (Ootpa), Red Hat Enterprise Linux 9 (Plow)

πŸ“ Alpine Linux v3.21

πŸ“ CentOS Stream 9

# HEADER_CHECKS(5)                                              HEADER_CHECKS(5)
# 
# NAME
#        header_checks - Postfix built-in content inspection
# 
# SYNOPSIS
#        header_checks = pcre:/et…
549 lines β€’ MD5: 646be960... View β†’
/etc/postfix/generic
Postfix Red Hat Enterprise Linux 8 (Ootpa) Alpine Linux v3.21 CentOS Stream 9

Postfix - /etc/postfix/generic

πŸ“ Red Hat Enterprise Linux 8 (Ootpa), Red Hat Enterprise Linux 9 (Plow)

πŸ“ Alpine Linux v3.21

πŸ“ CentOS Stream 9

# GENERIC(5)                                                          GENERIC(5)
# 
# NAME
#        generic - Postfix generic table format
# 
# SYNOPSIS
#        postmap /etc/postfix/generic
# 
#    …
250 lines β€’ MD5: 39c753b1... View β†’
/etc/postfix/canonical
Postfix Red Hat Enterprise Linux 8 (Ootpa) Alpine Linux v3.21 CentOS Stream 9

Postfix - /etc/postfix/canonical

πŸ“ Red Hat Enterprise Linux 8 (Ootpa), Red Hat Enterprise Linux 9 (Plow)

πŸ“ Alpine Linux v3.21

πŸ“ CentOS Stream 9

# CANONICAL(5)                                                      CANONICAL(5)
# 
# NAME
#        canonical - Postfix canonical table format
# 
# SYNOPSIS
#        postmap /etc/postfix/canonical
# …
307 lines β€’ MD5: df6d08cb... View β†’