1#	$NetBSD: main.cf,v 1.9 2022/10/08 16:12:43 christos Exp $
2#
3# Global Postfix configuration file. This file lists only a subset
4# of all parameters. For the syntax, and for a complete parameter
5# list, see the postconf(5) manual page (command: "man 5 postconf").
6#
7# TIP: use the command "postconf -n" to view main.cf parameter
8# settings, "postconf parametername" to view a specific parameter,
9# and "postconf 'parametername=value'" to set a specific parameter.
10#
11# For common configuration examples, see BASIC_CONFIGURATION_README
12# and STANDARD_CONFIGURATION_README. To find these documents, use
13# the command "postconf html_directory readme_directory", or go to
14# http://www.postfix.org/BASIC_CONFIGURATION_README.html etc.
15#
16# For best results, change no more than 2-3 parameters at a time,
17# and test if Postfix still works after every change.
18
19# COMPATIBILITY
20#
21# The compatibility_level determines what default settings Postfix
22# will use for main.cf and master.cf settings. These defaults will
23# change over time.
24#
25# To avoid breaking things, Postfix will use backwards-compatible
26# default settings and log where it uses those old backwards-compatible
27# default settings, until the system administrator has determined
28# if any backwards-compatible default settings need to be made
29# permanent in main.cf or master.cf.
30#
31# When this review is complete, update the compatibility_level setting
32# below as recommended in the RELEASE_NOTES file.
33#
34# The level below is what should be used with new (not upgrade) installs.
35#
36compatibility_level = 3.7
37
38# On NetBSD we are built without EAI support, so we must disable utf8
39smtputf8_enable=no
40
41# SOFT BOUNCE
42#
43# The soft_bounce parameter provides a limited safety net for
44# testing.  When soft_bounce is enabled, mail will remain queued that
45# would otherwise bounce. This parameter disables locally-generated
46# bounces, and prevents the SMTP server from rejecting mail permanently
47# (by changing 5xx replies into 4xx replies). However, soft_bounce
48# is no cure for address rewriting mistakes or mail routing mistakes.
49#
50#soft_bounce = no
51
52# LOCAL PATHNAME INFORMATION
53#
54# The queue_directory specifies the location of the Postfix queue.
55# This is also the root directory of Postfix daemons that run chrooted.
56# See the files in examples/chroot-setup for setting up Postfix chroot
57# environments on different UNIX systems.
58#
59queue_directory = /var/spool/postfix
60
61# The command_directory parameter specifies the location of all
62# postXXX commands.
63#
64command_directory = /usr/sbin
65
66# The daemon_directory parameter specifies the location of all Postfix
67# daemon programs (i.e. programs listed in the master.cf file). This
68# directory must be owned by root.
69#
70daemon_directory = /usr/libexec/postfix
71
72# The data_directory parameter specifies the location of Postfix-writable
73# data files (caches, random numbers). This directory must be owned
74# by the mail_owner account (see below).
75#
76data_directory = /var/db/postfix
77
78# QUEUE AND PROCESS OWNERSHIP
79#
80# The mail_owner parameter specifies the owner of the Postfix queue
81# and of most Postfix daemon processes.  Specify the name of a user
82# account THAT DOES NOT SHARE ITS USER OR GROUP ID WITH OTHER ACCOUNTS
83# AND THAT OWNS NO OTHER FILES OR PROCESSES ON THE SYSTEM.  In
84# particular, don't specify nobody or daemon. PLEASE USE A DEDICATED
85# USER.
86#
87mail_owner = postfix
88
89# The default_privs parameter specifies the default rights used by
90# the local delivery agent for delivery to external file or command.
91# These rights are used in the absence of a recipient user context.
92# DO NOT SPECIFY A PRIVILEGED USER OR THE POSTFIX OWNER.
93#
94#default_privs = nobody
95
96# INTERNET HOST AND DOMAIN NAMES
97#
98# The myhostname parameter specifies the internet hostname of this
99# mail system. The default is to use the fully-qualified domain name
100# from gethostname(). $myhostname is used as a default value for many
101# other configuration parameters.
102#
103#myhostname = host.domain.tld
104#myhostname = virtual.domain.tld
105
106# The mydomain parameter specifies the local internet domain name.
107# The default is to use $myhostname minus the first component.
108# $mydomain is used as a default value for many other configuration
109# parameters.
110#
111#mydomain = domain.tld
112
113# SENDING MAIL
114#
115# The myorigin parameter specifies the domain that locally-posted
116# mail appears to come from. The default is to append $myhostname,
117# which is fine for small sites.  If you run a domain with multiple
118# machines, you should (1) change this to $mydomain and (2) set up
119# a domain-wide alias database that aliases each user to
120# user@that.users.mailhost.
121#
122# For the sake of consistency between sender and recipient addresses,
123# myorigin also specifies the default domain name that is appended
124# to recipient addresses that have no @domain part.
125#
126#myorigin = $myhostname
127#myorigin = $mydomain
128
129# RECEIVING MAIL
130
131# The inet_interfaces parameter specifies the network interface
132# addresses that this mail system receives mail on.  By default,
133# the software claims all active interfaces on the machine. The
134# parameter also controls delivery of mail to user@[ip.address].
135#
136# NOTE: On NetBSD, postfix does not listen on the network by default.
137#       To enable inbound mail reception once your configuration is
138#       ready, uncomment the smtp service in /etc/postfix/master.cf
139#
140# See also the proxy_interfaces parameter, for network addresses that
141# are forwarded to us via a proxy or network address translator.
142#
143# Note: you need to stop/start Postfix when this parameter changes.
144#
145#inet_interfaces = all
146#inet_interfaces = $myhostname
147#inet_interfaces = $myhostname, localhost
148
149# NetBSD is IPv6-capable.  Use all available address families.
150#
151inet_protocols = all
152
153# The proxy_interfaces parameter specifies the network interface
154# addresses that this mail system receives mail on by way of a
155# proxy or network address translation unit. This setting extends
156# the address list specified with the inet_interfaces parameter.
157#
158# You must specify your proxy/NAT addresses when your system is a
159# backup MX host for other domains, otherwise mail delivery loops
160# will happen when the primary MX host is down.
161#
162#proxy_interfaces =
163#proxy_interfaces = 1.2.3.4
164
165# The mydestination parameter specifies the list of domains that this
166# machine considers itself the final destination for.
167#
168# These domains are routed to the delivery agent specified with the
169# local_transport parameter setting. By default, that is the UNIX
170# compatible delivery agent that lookups all recipients in /etc/passwd
171# and /etc/aliases or their equivalent.
172#
173# The default is $myhostname + localhost.$mydomain + localhost.  On
174# a mail domain gateway, you should also include $mydomain.
175#
176# Do not specify the names of virtual domains - those domains are
177# specified elsewhere (see VIRTUAL_README).
178#
179# Do not specify the names of domains that this machine is backup MX
180# host for. Specify those names via the relay_domains settings for
181# the SMTP server, or use permit_mx_backup if you are lazy (see
182# STANDARD_CONFIGURATION_README).
183#
184# The local machine is always the final destination for mail addressed
185# to user@[the.net.work.address] of an interface that the mail system
186# receives mail on (see the inet_interfaces parameter).
187#
188# Specify a list of host or domain names, /file/name or type:table
189# patterns, separated by commas and/or whitespace. A /file/name
190# pattern is replaced by its contents; a type:table is matched when
191# a name matches a lookup key (the right-hand side is ignored).
192# Continue long lines by starting the next line with whitespace.
193#
194# See also below, section "REJECTING MAIL FOR UNKNOWN LOCAL USERS".
195#
196#mydestination = $myhostname, localhost.$mydomain, localhost
197#mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
198#mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain,
199#	mail.$mydomain, www.$mydomain, ftp.$mydomain
200
201# REJECTING MAIL FOR UNKNOWN LOCAL USERS
202#
203# The local_recipient_maps parameter specifies optional lookup tables
204# with all names or addresses of users that are local with respect
205# to $mydestination, $inet_interfaces or $proxy_interfaces.
206#
207# If this parameter is defined, then the SMTP server will reject
208# mail for unknown local users. This parameter is defined by default.
209#
210# To turn off local recipient checking in the SMTP server, specify
211# local_recipient_maps = (i.e. empty).
212#
213# The default setting assumes that you use the default Postfix local
214# delivery agent for local delivery. You need to update the
215# local_recipient_maps setting if:
216#
217# - You define $mydestination domain recipients in files other than
218#   /etc/passwd, /etc/aliases, or the $virtual_alias_maps files.
219#   For example, you define $mydestination domain recipients in
220#   the $virtual_mailbox_maps files.
221#
222# - You redefine the local delivery agent in master.cf.
223#
224# - You redefine the "local_transport" setting in main.cf.
225#
226# - You use the "luser_relay", "mailbox_transport", or "fallback_transport"
227#   feature of the Postfix local delivery agent (see local(8)).
228#
229# Details are described in the LOCAL_RECIPIENT_README file.
230#
231# Beware: if the Postfix SMTP server runs chrooted, you probably have
232# to access the passwd file via the proxymap service, in order to
233# overcome chroot restrictions. The alternative, having a copy of
234# the system passwd file in the chroot jail is just not practical.
235#
236# The right-hand side of the lookup tables is conveniently ignored.
237# In the left-hand side, specify a bare username, an @domain.tld
238# wild-card, or specify a user@domain.tld address.
239#
240#local_recipient_maps = unix:passwd.byname $alias_maps
241#local_recipient_maps = proxy:unix:passwd.byname $alias_maps
242#local_recipient_maps =
243
244# The unknown_local_recipient_reject_code specifies the SMTP server
245# response code when a recipient domain matches $mydestination or
246# ${proxy,inet}_interfaces, while $local_recipient_maps is non-empty
247# and the recipient address or address local-part is not found.
248#
249# The default setting is 550 (reject mail) but it is safer to start
250# with 450 (try again later) until you are certain that your
251# local_recipient_maps settings are OK.
252#
253unknown_local_recipient_reject_code = 550
254
255# TRUST AND RELAY CONTROL
256
257# The mynetworks parameter specifies the list of "trusted" SMTP
258# clients that have more privileges than "strangers".
259#
260# In particular, "trusted" SMTP clients are allowed to relay mail
261# through Postfix.  See the smtpd_recipient_restrictions parameter
262# in postconf(5).
263#
264# You can specify the list of "trusted" network addresses by hand
265# or you can let Postfix do it for you (which is the default).
266#
267# By default (mynetworks_style = host), Postfix "trusts" only
268# the local machine.
269#
270# Specify "mynetworks_style = subnet" when Postfix should "trust"
271# SMTP clients in the same IP subnetworks as the local machine.
272# On Linux, this works correctly only with interfaces specified
273# with the "ifconfig" or "ip" command.
274#
275# Specify "mynetworks_style = class" when Postfix should "trust" SMTP
276# clients in the same IP class A/B/C networks as the local machine.
277# Don't do this with a dialup site - it would cause Postfix to "trust"
278# your entire provider's network.  Instead, specify an explicit
279# mynetworks list by hand, as described below.
280#
281# Specify "mynetworks_style = host" when Postfix should "trust"
282# only the local machine.
283#
284#mynetworks_style = class
285#mynetworks_style = subnet
286#mynetworks_style = host
287
288# Alternatively, you can specify the mynetworks list by hand, in
289# which case Postfix ignores the mynetworks_style setting.
290#
291# Specify an explicit list of network/netmask patterns, where the
292# mask specifies the number of bits in the network part of a host
293# address.
294#
295# You can also specify the absolute pathname of a pattern file instead
296# of listing the patterns here. Specify type:table for table-based lookups
297# (the value on the table right-hand side is not used).
298#
299#mynetworks = 168.100.3.0/28, 127.0.0.0/8
300#mynetworks = $config_directory/mynetworks
301#mynetworks = hash:/etc/postfix/network_table
302
303# The relay_domains parameter restricts what destinations this system will
304# relay mail to.  See the smtpd_relay_restrictions and
305# smtpd_recipient_restrictions descriptions in  postconf(5) for detailed
306# information.
307#
308# By default, Postfix relays mail
309# - from "trusted" clients (IP address matches $mynetworks, or is
310#   SASL authenticated) to any destination,
311# - from "untrusted" clients to destinations that match $relay_domains or
312#   subdomains thereof, except addresses with sender-specified routing.
313# The default relay_domains value is empty.
314#
315# In addition to the above, the Postfix SMTP server by default accepts mail
316# that Postfix is final destination for:
317# - destinations that match $inet_interfaces or $proxy_interfaces,
318# - destinations that match $mydestination
319# - destinations that match $virtual_alias_domains,
320# - destinations that match $virtual_mailbox_domains.
321# These destinations do not need to be listed in $relay_domains.
322#
323# Specify a list of hosts or domains, /file/name patterns or type:name
324# lookup tables, separated by commas and/or whitespace.  Continue
325# long lines by starting the next line with whitespace. A file name
326# is replaced by its contents; a type:name table is matched when a
327# (parent) domain appears as lookup key.
328#
329# NOTE: Postfix will not automatically forward mail for domains that
330# list this system as their primary or backup MX host. See the
331# permit_mx_backup restriction description in postconf(5).
332#
333#relay_domains =
334
335# INTERNET OR INTRANET
336
337# The relayhost parameter specifies the default host to send mail to
338# when no entry is matched in the optional transport(5) table. When
339# no relayhost is given, mail is routed directly to the destination.
340#
341# On an intranet, specify the organizational domain name. If your
342# internal DNS uses no MX records, specify the name of the intranet
343# gateway host instead.
344#
345# In the case of SMTP, specify a domain, host, host:port, [host]:port,
346# [address] or [address]:port; the form [host] turns off MX lookups.
347#
348# If you're connected via UUCP, see also the default_transport parameter.
349#
350#relayhost = $mydomain
351#relayhost = [gateway.my.domain]
352#relayhost = [mailserver.isp.tld]
353#relayhost = uucphost
354#relayhost = [an.ip.add.ress]
355
356# REJECTING UNKNOWN RELAY USERS
357#
358# The relay_recipient_maps parameter specifies optional lookup tables
359# with all addresses in the domains that match $relay_domains.
360#
361# If this parameter is defined, then the SMTP server will reject
362# mail for unknown relay users. This feature is off by default.
363#
364# The right-hand side of the lookup tables is conveniently ignored.
365# In the left-hand side, specify an @domain.tld wild-card, or specify
366# a user@domain.tld address.
367#
368#relay_recipient_maps = hash:/etc/postfix/relay_recipients
369
370# INPUT RATE CONTROL
371#
372# The in_flow_delay configuration parameter implements mail input
373# flow control. This feature is turned on by default, although it
374# still needs further development (it's disabled on SCO UNIX due
375# to an SCO bug).
376#
377# A Postfix process will pause for $in_flow_delay seconds before
378# accepting a new message, when the message arrival rate exceeds the
379# message delivery rate. With the default 100 SMTP server process
380# limit, this limits the mail inflow to 100 messages a second more
381# than the number of messages delivered per second.
382#
383# Specify 0 to disable the feature. Valid delays are 0..10.
384#
385#in_flow_delay = 1s
386
387# ADDRESS REWRITING
388#
389# The ADDRESS_REWRITING_README document gives information about
390# address masquerading or other forms of address rewriting including
391# username->Firstname.Lastname mapping.
392
393# ADDRESS REDIRECTION (VIRTUAL DOMAIN)
394#
395# The VIRTUAL_README document gives information about the many forms
396# of domain hosting that Postfix supports.
397
398# "USER HAS MOVED" BOUNCE MESSAGES
399#
400# See the discussion in the ADDRESS_REWRITING_README document.
401
402# TRANSPORT MAP
403#
404# See the discussion in the ADDRESS_REWRITING_README document.
405
406# ALIAS DATABASE
407#
408# The alias_maps parameter specifies the list of alias databases used
409# by the local delivery agent. The default list is system dependent.
410#
411# On systems with NIS, the default is to search the local alias
412# database, then the NIS alias database. See aliases(5) for syntax
413# details.
414#
415# If you change the alias database, run "postalias /etc/aliases" (or
416# wherever your system stores the mail alias file), or simply run
417# "newaliases" to build the necessary DBM or DB file.
418#
419# It will take a minute or so before changes become visible.  Use
420# "postfix reload" to eliminate the delay.
421#
422#alias_maps = dbm:/etc/aliases
423#alias_maps = hash:/etc/aliases
424#alias_maps = hash:/etc/aliases, nis:mail.aliases
425#alias_maps = netinfo:/aliases
426
427# The alias_database parameter specifies the alias database(s) that
428# are built with "newaliases" or "sendmail -bi".  This is a separate
429# configuration parameter, because alias_maps (see above) may specify
430# tables that are not necessarily all under control by Postfix.
431#
432#alias_database = dbm:/etc/aliases
433#alias_database = dbm:/etc/mail/aliases
434#alias_database = hash:/etc/aliases
435#alias_database = hash:/etc/aliases, hash:/opt/majordomo/aliases
436
437# ADDRESS EXTENSIONS (e.g., user+foo)
438#
439# The recipient_delimiter parameter specifies the separator between
440# user names and address extensions (user+foo). See canonical(5),
441# local(8), relocated(5) and virtual(5) for the effects this has on
442# aliases, canonical, virtual, relocated and .forward file lookups.
443# Basically, the software tries user+foo and .forward+foo before
444# trying user and .forward.
445#
446#recipient_delimiter = +
447
448# DELIVERY TO MAILBOX
449#
450# The home_mailbox parameter specifies the optional pathname of a
451# mailbox file relative to a user's home directory. The default
452# mailbox file is /var/spool/mail/user or /var/mail/user.  Specify
453# "Maildir/" for qmail-style delivery (the / is required).
454#
455#home_mailbox = Mailbox
456#home_mailbox = Maildir/
457
458# The mail_spool_directory parameter specifies the directory where
459# UNIX-style mailboxes are kept. The default setting depends on the
460# system type.
461#
462#mail_spool_directory = /var/mail
463#mail_spool_directory = /var/spool/mail
464
465# The mailbox_command parameter specifies the optional external
466# command to use instead of mailbox delivery. The command is run as
467# the recipient with proper HOME, SHELL and LOGNAME environment settings.
468# Exception:  delivery for root is done as $default_user.
469#
470# Other environment variables of interest: USER (recipient username),
471# EXTENSION (address extension), DOMAIN (domain part of address),
472# and LOCAL (the address localpart).
473#
474# Unlike other Postfix configuration parameters, the mailbox_command
475# parameter is not subjected to $parameter substitutions. This is to
476# make it easier to specify shell syntax (see example below).
477#
478# Avoid shell meta characters because they will force Postfix to run
479# an expensive shell process. Procmail alone is expensive enough.
480#
481# IF YOU USE THIS TO DELIVER MAIL SYSTEM-WIDE, YOU MUST SET UP AN
482# ALIAS THAT FORWARDS MAIL FOR ROOT TO A REAL USER.
483#
484#mailbox_command = /some/where/procmail
485#mailbox_command = /some/where/procmail -a "$EXTENSION"
486
487# The mailbox_transport specifies the optional transport in master.cf
488# to use after processing aliases and .forward files. This parameter
489# has precedence over the mailbox_command, fallback_transport and
490# luser_relay parameters.
491#
492# Specify a string of the form transport:nexthop, where transport is
493# the name of a mail delivery transport defined in master.cf.  The
494# :nexthop part is optional. For more details see the sample transport
495# configuration file.
496#
497# NOTE: if you use this feature for accounts not in the UNIX password
498# file, then you must update the "local_recipient_maps" setting in
499# the main.cf file, otherwise the SMTP server will reject mail for
500# non-UNIX accounts with "User unknown in local recipient table".
501#
502# Cyrus IMAP over LMTP. Specify ``lmtpunix      cmd="lmtpd"
503# listen="/var/imap/socket/lmtp" prefork=0'' in cyrus.conf.
504#mailbox_transport = lmtp:unix:/var/imap/socket/lmtp
505#
506# Cyrus IMAP via command line. Uncomment the "cyrus...pipe" and
507# subsequent line in master.cf.
508#mailbox_transport = cyrus
509
510# The fallback_transport specifies the optional transport in master.cf
511# to use for recipients that are not found in the UNIX passwd database.
512# This parameter has precedence over the luser_relay parameter.
513#
514# Specify a string of the form transport:nexthop, where transport is
515# the name of a mail delivery transport defined in master.cf.  The
516# :nexthop part is optional. For more details see the sample transport
517# configuration file.
518#
519# NOTE: if you use this feature for accounts not in the UNIX password
520# file, then you must update the "local_recipient_maps" setting in
521# the main.cf file, otherwise the SMTP server will reject mail for
522# non-UNIX accounts with "User unknown in local recipient table".
523#
524#fallback_transport = lmtp:unix:/file/name
525#fallback_transport = cyrus
526#fallback_transport =
527
528# The luser_relay parameter specifies an optional destination address
529# for unknown recipients.  By default, mail for unknown@$mydestination,
530# unknown@[$inet_interfaces] or unknown@[$proxy_interfaces] is returned
531# as undeliverable.
532#
533# The following expansions are done on luser_relay: $user (recipient
534# username), $shell (recipient shell), $home (recipient home directory),
535# $recipient (full recipient address), $extension (recipient address
536# extension), $domain (recipient domain), $local (entire recipient
537# localpart), $recipient_delimiter. Specify ${name?value} or
538# ${name:value} to expand value only when $name does (does not) exist.
539#
540# luser_relay works only for the default Postfix local delivery agent.
541#
542# NOTE: if you use this feature for accounts not in the UNIX password
543# file, then you must specify "local_recipient_maps =" (i.e. empty) in
544# the main.cf file, otherwise the SMTP server will reject mail for
545# non-UNIX accounts with "User unknown in local recipient table".
546#
547#luser_relay = $user@other.host
548#luser_relay = $local@other.host
549#luser_relay = admin+$local
550
551# JUNK MAIL CONTROLS
552#
553# The controls listed here are only a very small subset. The file
554# SMTPD_ACCESS_README provides an overview.
555
556# The header_checks parameter specifies an optional table with patterns
557# that each logical message header is matched against, including
558# headers that span multiple physical lines.
559#
560# By default, these patterns also apply to MIME headers and to the
561# headers of attached messages. With older Postfix versions, MIME and
562# attached message headers were treated as body text.
563#
564# For details, see "man header_checks".
565#
566#header_checks = regexp:/etc/postfix/header_checks
567
568# FAST ETRN SERVICE
569#
570# Postfix maintains per-destination logfiles with information about
571# deferred mail, so that mail can be flushed quickly with the SMTP
572# "ETRN domain.tld" command, or by executing "sendmail -qRdomain.tld".
573# See the ETRN_README document for a detailed description.
574#
575# The fast_flush_domains parameter controls what destinations are
576# eligible for this service. By default, they are all domains that
577# this server is willing to relay mail to.
578#
579#fast_flush_domains = $relay_domains
580
581# SHOW SOFTWARE VERSION OR NOT
582#
583# The smtpd_banner parameter specifies the text that follows the 220
584# code in the SMTP server's greeting banner. Some people like to see
585# the mail version advertised. By default, Postfix shows no version.
586#
587# You MUST specify $myhostname at the start of the text. That is an
588# RFC requirement. Postfix itself does not care.
589#
590#smtpd_banner = $myhostname ESMTP $mail_name
591#smtpd_banner = $myhostname ESMTP $mail_name ($mail_version)
592
593# PARALLEL DELIVERY TO THE SAME DESTINATION
594#
595# How many parallel deliveries to the same user or domain? With local
596# delivery, it does not make sense to do massively parallel delivery
597# to the same user, because mailbox updates must happen sequentially,
598# and expensive pipelines in .forward files can cause disasters when
599# too many are run at the same time. With SMTP deliveries, 10
600# simultaneous connections to the same domain could be sufficient to
601# raise eyebrows.
602#
603# Each message delivery transport has its XXX_destination_concurrency_limit
604# parameter.  The default is $default_destination_concurrency_limit for
605# most delivery transports. For the local delivery agent the default is 2.
606
607#local_destination_concurrency_limit = 2
608#default_destination_concurrency_limit = 20
609
610# DEBUGGING CONTROL
611#
612# The debug_peer_level parameter specifies the increment in verbose
613# logging level when an SMTP client or server host name or address
614# matches a pattern in the debug_peer_list parameter.
615#
616debug_peer_level = 2
617
618# The debug_peer_list parameter specifies an optional list of domain
619# or network patterns, /file/name patterns or type:name tables. When
620# an SMTP client or server host name or address matches a pattern,
621# increase the verbose logging level by the amount specified in the
622# debug_peer_level parameter.
623#
624#debug_peer_list = 127.0.0.1
625#debug_peer_list = some.domain
626
627# The debugger_command specifies the external command that is executed
628# when a Postfix daemon program is run with the -D option.
629#
630# Use "command .. & sleep 5" so that the debugger can attach before
631# the process marches on. If you use an X-based debugger, be sure to
632# set up your XAUTHORITY environment variable before starting Postfix.
633#
634debugger_command =
635	 PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
636	 ddd $daemon_directory/$process_name $process_id & sleep 5
637
638# If you can't use X, use this to capture the call stack when a
639# daemon crashes. The result is in a file in the configuration
640# directory, and is named after the process name and the process ID.
641#
642# debugger_command =
643#	PATH=/bin:/usr/bin:/usr/local/bin; export PATH; (echo cont;
644#	echo where) | gdb $daemon_directory/$process_name $process_id 2>&1
645#	>$config_directory/$process_name.$process_id.log & sleep 5
646#
647# Another possibility is to run gdb under a detached screen session.
648# To attach to the screen session, su root and run "screen -r
649# <id_string>" where <id_string> uniquely matches one of the detached
650# sessions (from "screen -list").
651#
652# debugger_command =
653#	PATH=/bin:/usr/bin:/sbin:/usr/sbin; export PATH; screen
654#	-dmS $process_name gdb $daemon_directory/$process_name
655#	$process_id & sleep 1
656
657# INSTALL-TIME CONFIGURATION INFORMATION
658#
659# The following parameters are used when installing a new Postfix version.
660#
661# sendmail_path: The full pathname of the Postfix sendmail command.
662# This is the Sendmail-compatible mail posting interface.
663#
664sendmail_path = /usr/sbin/sendmail
665
666# newaliases_path: The full pathname of the Postfix newaliases command.
667# This is the Sendmail-compatible command to build alias databases.
668#
669newaliases_path = /usr/bin/newaliases
670
671# mailq_path: The full pathname of the Postfix mailq command.  This
672# is the Sendmail-compatible mail queue listing command.
673#
674mailq_path = /usr/bin/mailq
675
676# setgid_group: The group for mail submission and queue management
677# commands.  This must be a group name with a numerical group ID that
678# is not shared with other accounts, not even with the Postfix account.
679#
680setgid_group = maildrop
681
682# html_directory: The location of the Postfix HTML documentation.
683#
684html_directory = /usr/share/doc/html/postfix
685
686# manpage_directory: The location of the Postfix on-line manual pages.
687#
688manpage_directory = /usr/share/man
689
690# sample_directory: The location of the Postfix sample configuration files.
691# This parameter is obsolete as of Postfix 2.1.
692#
693sample_directory = /usr/share/examples/postfix
694
695# readme_directory: The location of the Postfix README files.
696#
697readme_directory = /usr/share/examples/postfix
698#inet_protocols = ipv4
699