blob: c779d12ed9a8772daec72dc871ad8f404efae7cc [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001--- a/conf/main.cf
2+++ b/conf/main.cf
3@@ -40,43 +40,8 @@ compatibility_level = 2
4 #
5 #soft_bounce = no
6
7-# LOCAL PATHNAME INFORMATION
8-#
9-# The queue_directory specifies the location of the Postfix queue.
10-# This is also the root directory of Postfix daemons that run chrooted.
11-# See the files in examples/chroot-setup for setting up Postfix chroot
12-# environments on different UNIX systems.
13-#
14-queue_directory = /var/spool/postfix
15-
16-# The command_directory parameter specifies the location of all
17-# postXXX commands.
18-#
19-command_directory = /usr/sbin
20-
21-# The daemon_directory parameter specifies the location of all Postfix
22-# daemon programs (i.e. programs listed in the master.cf file). This
23-# directory must be owned by root.
24-#
25-daemon_directory = /usr/libexec/postfix
26-
27-# The data_directory parameter specifies the location of Postfix-writable
28-# data files (caches, random numbers). This directory must be owned
29-# by the mail_owner account (see below).
30-#
31-data_directory = /var/lib/postfix
32-
33 # QUEUE AND PROCESS OWNERSHIP
34 #
35-# The mail_owner parameter specifies the owner of the Postfix queue
36-# and of most Postfix daemon processes. Specify the name of a user
37-# account THAT DOES NOT SHARE ITS USER OR GROUP ID WITH OTHER ACCOUNTS
38-# AND THAT OWNS NO OTHER FILES OR PROCESSES ON THE SYSTEM. In
39-# particular, don't specify nobody or daemon. PLEASE USE A DEDICATED
40-# USER.
41-#
42-mail_owner = postfix
43-
44 # The default_privs parameter specifies the default rights used by
45 # the local delivery agent for delivery to external file or command.
46 # These rights are used in the absence of a recipient user context.
47@@ -632,45 +597,4 @@ debugger_command =
48 # -dmS $process_name gdb $daemon_directory/$process_name
49 # $process_id & sleep 1
50
51-# INSTALL-TIME CONFIGURATION INFORMATION
52-#
53-# The following parameters are used when installing a new Postfix version.
54-#
55-# sendmail_path: The full pathname of the Postfix sendmail command.
56-# This is the Sendmail-compatible mail posting interface.
57-#
58-sendmail_path =
59-
60-# newaliases_path: The full pathname of the Postfix newaliases command.
61-# This is the Sendmail-compatible command to build alias databases.
62-#
63-newaliases_path =
64-
65-# mailq_path: The full pathname of the Postfix mailq command. This
66-# is the Sendmail-compatible mail queue listing command.
67-#
68-mailq_path =
69-
70-# setgid_group: The group for mail submission and queue management
71-# commands. This must be a group name with a numerical group ID that
72-# is not shared with other accounts, not even with the Postfix account.
73-#
74-setgid_group =
75-
76-# html_directory: The location of the Postfix HTML documentation.
77-#
78-html_directory =
79-
80-# manpage_directory: The location of the Postfix on-line manual pages.
81-#
82-manpage_directory =
83-
84-# sample_directory: The location of the Postfix sample configuration files.
85-# This parameter is obsolete as of Postfix 2.1.
86-#
87-sample_directory =
88-
89-# readme_directory: The location of the Postfix README files.
90-#
91-readme_directory =
92 inet_protocols = ipv4