]> git.proxmox.com Git - pmg-api.git/blame - templates/master.cf.in.demo
reload postfix instead of restart on config change
[pmg-api.git] / templates / master.cf.in.demo
CommitLineData
f609bf7f
DM
1#
2# Postfix master process configuration file. Each logical line
3# describes how a Postfix daemon program should be run.
4#
5# A logical line starts with non-whitespace, non-comment text.
6# Empty lines and whitespace-only lines are ignored, as are comment
7# lines whose first non-whitespace character is a `#'.
8# A line that starts with whitespace continues a logical line.
9#
10# The fields that make up each line are described below. A "-" field
11# value requests that a default value be used for that field.
12#
13# Service: any name that is valid for the specified transport type
14# (the next field). With INET transports, a service is specified as
15# host:port. The host part (and colon) may be omitted. Either host
16# or port may be given in symbolic form or in numeric form. Examples
17# for the SMTP server: localhost:smtp receives mail via the loopback
18# interface only; 10025 receives mail on port 10025.
19#
20# Transport type: "inet" for Internet sockets, "unix" for UNIX-domain
21# sockets, "fifo" for named pipes.
22#
23# Private: whether or not access is restricted to the mail system.
24# Default is private service. Internet (inet) sockets can't be private.
25#
26# Unprivileged: whether the service runs with root privileges or as
27# the owner of the Postfix system (the owner name is controlled by the
28# mail_owner configuration variable in the main.cf file). Only the
29# pipe, virtual and local delivery daemons require privileges.
30#
31# Chroot: whether or not the service runs chrooted to the mail queue
32# directory (pathname is controlled by the queue_directory configuration
33# variable in the main.cf file). Presently, all Postfix daemons can run
34# chrooted, except for the pipe, virtual and local delivery daemons.
35# The proxymap server can run chrooted, but doing so defeats most of
36# the purpose of having that service in the first place.
37# The files in the examples/chroot-setup subdirectory describe how
38# to set up a Postfix chroot environment for your type of machine.
39#
40# Wakeup time: automatically wake up the named service after the
41# specified number of seconds. A ? at the end of the wakeup time
42# field requests that wake up events be sent only to services that
43# are actually being used. Specify 0 for no wakeup. Presently, only
44# the pickup, queue manager and flush daemons need a wakeup timer.
45#
46# Max procs: the maximum number of processes that may execute this
47# service simultaneously. Default is to use a globally configurable
48# limit (the default_process_limit configuration parameter in main.cf).
49# Specify 0 for no process count limit.
50#
51# Command + args: the command to be executed. The command name is
52# relative to the Postfix program directory (pathname is controlled by
53# the daemon_directory configuration variable). Adding one or more
54# -v options turns on verbose logging for that service; adding a -D
55# option enables symbolic debugging (see the debugger_command variable
56# in the main.cf configuration file). See individual command man pages
57# for specific command-line options, if any.
58#
59# In order to use the "uucp" message tranport below, set up entries
60# in the transport table.
61#
62# In order to use the "cyrus" message transport below, configure it
63# in main.cf as the mailbox_transport.
64#
65# SPECIFY ONLY PROGRAMS THAT ARE WRITTEN TO RUN AS POSTFIX DAEMONS.
66# ALL DAEMONS SPECIFIED HERE MUST SPEAK A POSTFIX-INTERNAL PROTOCOL.
67#
68# DO NOT SHARE THE POSTFIX QUEUE BETWEEN MULTIPLE POSTFIX INSTANCES.
69#
70# ==========================================================================
71# service type private unpriv chroot wakeup maxproc command + args
72# (yes) (yes) (yes) (never) (100)
73# ==========================================================================
74
75127.0.0.1:10025 inet n - n - - smtpd
76 -o content_filter=
77 -o local_recipient_maps=
78 -o relay_recipient_maps=
79 -o receive_override_options=no_unknown_recipient_checks,no_header_body_checks
80 -o smtpd_helo_restrictions=
81 -o smtpd_client_restrictions=
82 -o smtpd_restriction_classes=
83 -o smtpd_sender_restrictions=
84 -o smtpd_recipient_restrictions=permit_mynetworks,reject
85 -o mynetworks=127.0.0.0/8
86 -o smtpd_error_sleep_time=0
87 -o smtpd_client_connection_count_limit=0
88 -o smtpd_client_connection_rate_limit=0
89 -o smtpd_authorized_xforward_hosts=127.0.0.0/8
90 -o message_size_limit=[% (pmg.mail.maxsize*2) %]
91127.0.0.1:25 inet n - n - - smtpd
92 -o content_filter=
93 -o local_recipient_maps=
94 -o relay_recipient_maps=
95 -o receive_override_options=no_unknown_recipient_checks,no_header_body_checks
96 -o smtpd_helo_restrictions=
97 -o smtpd_client_restrictions=
98 -o smtpd_restriction_classes=
99 -o smtpd_sender_restrictions=
100 -o smtpd_recipient_restrictions=permit_mynetworks,reject
101 -o mynetworks=127.0.0.0/8
102 -o smtpd_error_sleep_time=0
103 -o smtpd_client_connection_count_limit=0
104 -o smtpd_client_connection_rate_limit=0
105 -o smtpd_authorized_xforward_hosts=127.0.0.0/8
106 -o message_size_limit=[% (pmg.mail.maxsize*2) %]
107pickup fifo n - - 60 1 pickup
108cleanup unix n - - - 0 cleanup
109 -o message_size_limit=[% (pmg.mail.maxsize*2) %]
110qmgr fifo n - - 300 1 qmgr
111rewrite unix - - - - - trivial-rewrite
112bounce unix - - - - 0 bounce
113defer unix - - - - 0 bounce
114flush unix n - - 1000? 0 flush
115proxymap unix - - n - - proxymap
116smtp unix - - - - - smtp
117relay unix - - - - - smtp
118showq unix n - - - - showq
119error unix - - - - - error
120local unix - n n - - local
121virtual unix - n n - - virtual
122lmtp unix - - n - - lmtp
123verify unix - - - - 1 verify
124trace unix - - n - 0 bounce
125tlsmgr unix - - - 1000? 1 tlsmgr
126anvil unix - - - - 1 anvil
127scache unix - - - - 1 scache
128discard unix - - - - - discard