Skip to content

Postfix Default Configs

Untouched. Ready to copy.

/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.ser…

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=…

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) ma…

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 f…

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…

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) ma…

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 # \fB…

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 pr…

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-i…

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. #-------------------------------…

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 …

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 [P…

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 -…

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…

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…

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_ch…

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 -…

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…

307 lines • MD5: df6d08cb... View →

Keep exploring

Browse by application or distro when you want a wider view.