Skip to content

Instantly share code, notes, and snippets.

@gene1wood
Last active April 15, 2021 07:09
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gene1wood/e4dd448513cb425b5ec398f95cda2462 to your computer and use it in GitHub Desktop.
Save gene1wood/e4dd448513cb425b5ec398f95cda2462 to your computer and use it in GitHub Desktop.
postfix debconf-get-selections using myhost.example.com as an example domain name
# Internet protocols to use:
# Choices: all, ipv6, ipv4
postfix postfix/protocols select all
# System mail name:
postfix postfix/mailname string myhost.example.com
# Add a 'mydomain' entry in main.cf for upgrade?
postfix postfix/mydomain_warning boolean
# Correct tlsmgr entry in master.cf for upgrade?
postfix postfix/tlsmgr_upgrade_warning boolean
# Root and postmaster mail recipient:
postfix postfix/root_address string
# Update main.cf for daemon_directory change?
postfix postfix/main_cf_conversion_warning boolean true
# Set smtpd_relay_restrictions in main.cf for upgrade?
postfix postfix/relay_restrictions_warning boolean
# Install postfix despite an unsupported kernel?
postfix postfix/kernel_version_warning boolean
# SMTP relay host (blank for none):
postfix postfix/relayhost string
# Ignore incorrect hostname entry?
postfix postfix/rfc1035_violation boolean false
# Local address extension character:
postfix postfix/recipient_delim string +
# Bad recipient delimiter
postfix postfix/bad_recipient_delimiter error
# Mailbox size limit (bytes):
postfix postfix/mailbox_limit string 0
# Use procmail for local delivery?
postfix postfix/procmail boolean false
# Run newaliases command?
postfix postfix/newaliases boolean false
# Add 'sqlite' entry to dynamicmaps.cf?
postfix postfix/sqlite_warning boolean
# Correct retry entry in master.cf for upgrade?
postfix postfix/retry_upgrade_warning boolean
# Force synchronous updates on mail queue?
postfix postfix/chattr boolean false
# Other destinations to accept mail for (blank for none):
postfix postfix/destinations string $myhostname, myhost.example.com, myhost, localhost.localdomain, localhost
# Update master.cf for merged lmtp/smtp binary?
postfix postfix/lmtp_retired_warning boolean true
# Update configuration to avoid compatibility warnings?
postfix postfix/compat_conversion_warning boolean true
# Update dynamicmaps.cf for 3.0?
postfix postfix/dynamicmaps_conversion_warning boolean
# General type of mail configuration:
# Choices: No configuration, Internet Site, Internet with smarthost, Satellite system, Local only
postfix postfix/main_mailer_type select Internet Site
# Local networks:
postfix postfix/mynetworks string 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
# Postfix not configured
postfix postfix/not_configured error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment