]> git.pld-linux.org Git - packages/postfix.git/blame - postfix-config.patch
- Release: 2 (STBR after AMD64 fixes)
[packages/postfix.git] / postfix-config.patch
CommitLineData
c1f75f47
JB
1diff -Nur postfix-2.0.16.orig/conf/main.cf postfix-2.0.16/conf/main.cf
2--- postfix-2.0.16.orig/conf/main.cf Sat Sep 6 02:30:35 2003
3+++ postfix-2.0.16/conf/main.cf Mon Dec 1 14:26:08 2003
4@@ -37,7 +37,7 @@
5 # daemon programs (i.e. programs listed in the master.cf file). This
6 # directory must be owned by root.
320b372d 7 #
9e5ab0fc 8-daemon_directory = /usr/libexec/postfix
320b372d
AM
9+daemon_directory = /usr/lib/postfix
10
11 # QUEUE AND PROCESS OWNERSHIP
12 #
c1f75f47 13@@ -55,7 +55,7 @@
a281e397
AM
14 # These rights are used in the absence of a recipient user context.
15 # DO NOT SPECIFY A PRIVILEGED USER OR THE POSTFIX OWNER.
16 #
17-#default_privs = nobody
18+default_privs = nobody
19
20 # INTERNET HOST AND DOMAIN NAMES
21 #
c1f75f47
JB
22@@ -87,7 +87,7 @@
23 # myorigin also specifies the default domain name that is appended
24 # to recipient addresses that have no @domain part.
a281e397 25 #
35e20fbe 26-#myorigin = $myhostname
35e20fbe 27+myorigin = $myhostname
9e9007a1 28 #myorigin = $mydomain
a281e397 29
a281e397 30 # RECEIVING MAIL
c1f75f47 31@@ -377,7 +377,7 @@
a281e397
AM
32 # "postfix reload" to eliminate the delay.
33 #
34 #alias_maps = dbm:/etc/aliases
35-#alias_maps = hash:/etc/aliases
36+alias_maps = hash:/etc/mail/aliases
37 #alias_maps = hash:/etc/aliases, nis:mail.aliases
9e5ab0fc 38 #alias_maps = netinfo:/aliases
a281e397 39
c1f75f47 40@@ -388,7 +388,7 @@
320b372d
AM
41 #
42 #alias_database = dbm:/etc/aliases
43 #alias_database = dbm:/etc/mail/aliases
44-#alias_database = hash:/etc/aliases
45+alias_database = hash:/etc/mail/aliases
46 #alias_database = hash:/etc/aliases, hash:/opt/majordomo/aliases
47
4070b073 48 # ADDRESS EXTENSIONS (e.g., user+foo)
c1f75f47 49@@ -416,7 +416,7 @@
35e20fbe
AM
50 # UNIX-style mailboxes are kept. The default setting depends on the
51 # system type.
a281e397 52 #
447bfc58 53-#mail_spool_directory = /var/mail
35e20fbe 54+mail_spool_directory = /var/mail
447bfc58 55 #mail_spool_directory = /var/spool/mail
a281e397 56
35e20fbe 57 # The mailbox_command parameter specifies the optional external
c1f75f47 58@@ -438,8 +438,8 @@
4070b073
AF
59 # IF YOU USE THIS TO DELIVER MAIL SYSTEM-WIDE, YOU MUST SET UP AN
60 # ALIAS THAT FORWARDS MAIL FOR ROOT TO A REAL USER.
61 #
62-#mailbox_command = /some/where/procmail
63-#mailbox_command = /some/where/procmail -a "$EXTENSION"
64+#mailbox_command = /usr/bin/procmail
dbc4c78b 65+#mailbox_command = /usr/bin/procmail -a "$EXTENSION"
4070b073
AF
66
67 # The mailbox_transport specifies the optional transport in master.cf
68 # to use after processing aliases and .forward files. This parameter
c1f75f47
JB
69@@ -598,39 +598,12 @@
70 # echo where) | gdb $daemon_directory/$process_name $process_id 2>&1
71 # >$config_directory/$process_name.$process_id.log & sleep 5
320b372d 72
320b372d 73+biff = no
830ba608 74 # INSTALL-TIME CONFIGURATION INFORMATION
75 #
76 # The following parameters are used when installing a new Postfix version.
77-#
78-# sendmail_path: The full pathname of the Postfix sendmail command.
79-# This is the Sendmail-compatible mail posting interface.
80-#
81-sendmail_path =
82-
83-# newaliases_path: The full pathname of the Postfix newaliases command.
84-# This is the Sendmail-compatible command to build alias databases.
85-#
86-newaliases_path =
87-
88-# mailq_path: The full pathname of the Postfix mailq command. This
89-# is the Sendmail-compatible mail queue listing command.
90-#
91-mailq_path =
92-
93 # setgid_group: The group for mail submission and queue management
94 # commands. This must be a group name with a numerical group ID that
95 # is not shared with other accounts, not even with the Postfix account.
96 #
97-setgid_group =
98-
99-# manpage_directory: The location of the Postfix on-line manual pages.
100-#
101-manpage_directory =
102-
103-# sample_directory: The location of the Postfix sample configuration files.
104-#
105-sample_directory =
106-
107-# readme_directory: The location of the Postfix README files.
108-#
109-readme_directory =
110+setgid_group = maildrop
c1f75f47
JB
111diff -Nur postfix-2.0.16.orig/src/global/mail_params.h postfix-2.0.16/src/global/mail_params.h
112--- postfix-2.0.16.orig/src/global/mail_params.h Mon Dec 1 14:25:29 2003
113+++ postfix-2.0.16/src/global/mail_params.h Mon Dec 1 14:26:08 2003
114@@ -64,7 +64,7 @@
830ba608 115 extern gid_t var_owner_gid;
116
117 #define VAR_SGID_GROUP "setgid_group"
118-#define DEF_SGID_GROUP "postdrop"
119+#define DEF_SGID_GROUP "maildrop"
120 extern char *var_sgid_group;
121 extern gid_t var_sgid_gid;
122
c1f75f47 123@@ -221,7 +221,7 @@
447bfc58
GS
124 */
125 #define VAR_CONFIG_DIR "config_directory"
126 #ifndef DEF_CONFIG_DIR
127-#define DEF_CONFIG_DIR "/etc/postfix"
128+#define DEF_CONFIG_DIR "/etc/mail"
129 #endif
130 extern char *var_config_dir;
131
c1f75f47
JB
132diff -Nur postfix-2.0.16.orig/src/util/sys_defs.h postfix-2.0.16/src/util/sys_defs.h
133--- postfix-2.0.16.orig/src/util/sys_defs.h Thu Sep 11 02:33:31 2003
134+++ postfix-2.0.16/src/util/sys_defs.h Mon Dec 1 14:26:08 2003
135@@ -491,7 +491,7 @@
447bfc58
GS
136 #define HAS_FSYNC
137 #define HAS_DB
138 #define DEF_DB_TYPE "hash"
139-#define ALIAS_DB_MAP "hash:/etc/aliases"
140+#define ALIAS_DB_MAP "hash:/etc/mail/aliases"
141 #define HAS_NIS
142 #define GETTIMEOFDAY(t) gettimeofday(t,(struct timezone *) 0)
143 #define ROOT_PATH "/bin:/usr/bin:/sbin:/usr/sbin"
c1f75f47
JB
144diff -Nur postfix-2.0.16.orig/man/man1/postdrop.1 postfix-2.0.16/man/man1/postdrop.1
145--- postfix-2.0.16.orig/man/man1/postdrop.1 Tue Jun 10 02:16:04 2003
146+++ postfix-2.0.16/man/man1/postdrop.1 Mon Dec 1 14:26:08 2003
147@@ -61,7 +61,7 @@
148 .na
149 .nf
150 /var/spool/postfix, mail queue
151-/etc/postfix, configuration files
152+/etc/mail, configuration files
153 .SH CONFIGURATION PARAMETERS
154 .na
155 .nf
156diff -Nur postfix-2.0.16.orig/man/man1/postqueue.1 postfix-2.0.16/man/man1/postqueue.1
157--- postfix-2.0.16.orig/man/man1/postqueue.1 Tue Jan 7 22:16:13 2003
158+++ postfix-2.0.16/man/man1/postqueue.1 Mon Dec 1 14:26:08 2003
159@@ -95,7 +95,7 @@
160 .na
161 .nf
162 /var/spool/postfix, mail queue
163-/etc/postfix, configuration files
164+/etc/mail, configuration files
165 .SH CONFIGURATION PARAMETERS
166 .na
167 .nf
168diff -Nur postfix-2.0.16.orig/man/man1/sendmail.1 postfix-2.0.16/man/man1/sendmail.1
169--- postfix-2.0.16.orig/man/man1/sendmail.1 Tue Jun 10 02:16:04 2003
170+++ postfix-2.0.16/man/man1/sendmail.1 Mon Dec 1 14:26:08 2003
171@@ -63,7 +63,7 @@
172 The message body MIME type: \fB7BIT\fR or \fB8BITMIME\fR.
173 .IP "\fB-C \fIconfig_file\fR (ignored :-)"
174 The path name of the \fBsendmail.cf\fR file. Postfix configuration
175-files are kept in \fB/etc/postfix\fR.
176+files are kept in \fB/etc/mail\fR.
177 .IP "\fB-F \fIfull_name\fR
178 Set the sender full name. This is used only with messages that
179 have no \fBFrom:\fR message header.
180@@ -208,7 +208,7 @@
181 .na
182 .nf
183 /var/spool/postfix, mail queue
184-/etc/postfix, configuration files
185+/etc/mail, configuration files
186 .SH CONFIGURATION PARAMETERS
187 .na
188 .nf
189diff -Nur postfix-2.0.16.orig/man/man5/access.5 postfix-2.0.16/man/man5/access.5
190--- postfix-2.0.16.orig/man/man5/access.5 Tue Aug 12 18:13:05 2003
191+++ postfix-2.0.16/man/man5/access.5 Mon Dec 1 14:27:35 2003
192@@ -8,11 +8,11 @@
193 .SH SYNOPSIS
194 .na
195 .nf
196-\fBpostmap /etc/postfix/access\fR
197+\fBpostmap /etc/mail/access\fR
198
199-\fBpostmap -q "\fIstring\fB" /etc/postfix/access\fR
200+\fBpostmap -q "\fIstring\fB" /etc/mail/access\fR
201
202-\fBpostmap -q - /etc/postfix/access <\fIinputfile\fR
203+\fBpostmap -q - /etc/mail/access <\fIinputfile\fR
204 .SH DESCRIPTION
205 .ad
206 .fi
207@@ -25,7 +25,7 @@
208 that serves as input to the \fBpostmap\fR(1) command.
209 The result, an indexed file in \fBdbm\fR or \fBdb\fR format,
210 is used for fast searching by the mail system. Execute the command
211-\fBpostmap /etc/postfix/access\fR in order to rebuild the indexed
212+\fBpostmap /etc/mail/access\fR in order to rebuild the indexed
213 file after changing the access table.
214
215 When the table is provided via other means such as NIS, LDAP
216diff -Nur postfix-2.0.16.orig/man/man5/canonical.5 postfix-2.0.16/man/man5/canonical.5
217--- postfix-2.0.16.orig/man/man5/canonical.5 Tue Aug 12 18:13:05 2003
218+++ postfix-2.0.16/man/man5/canonical.5 Mon Dec 1 14:27:50 2003
219@@ -8,11 +8,11 @@
220 .SH SYNOPSIS
221 .na
222 .nf
223-\fBpostmap /etc/postfix/canonical\fR
224+\fBpostmap /etc/mail/canonical\fR
225
226-\fBpostmap -q "\fIstring\fB" /etc/postfix/canonical\fR
227+\fBpostmap -q "\fIstring\fB" /etc/mail/canonical\fR
228
229-\fBpostmap -q - /etc/postfix/canonical <\fIinputfile\fR
230+\fBpostmap -q - /etc/mail/canonical <\fIinputfile\fR
231 .SH DESCRIPTION
232 .ad
233 .fi
234@@ -24,7 +24,7 @@
235 that serves as input to the \fBpostmap\fR(1) command.
236 The result, an indexed file in \fBdbm\fR or \fBdb\fR format,
237 is used for fast searching by the mail system. Execute the command
238-\fBpostmap /etc/postfix/canonical\fR in order to rebuild the indexed
239+\fBpostmap /etc/mail/canonical\fR in order to rebuild the indexed
240 file after changing the text file.
241
242 When the table is provided via other means such as NIS, LDAP
243diff -Nur postfix-2.0.16.orig/man/man5/pcre_table.5 postfix-2.0.16/man/man5/pcre_table.5
244--- postfix-2.0.16.orig/man/man5/pcre_table.5 Mon Sep 8 14:36:26 2003
245+++ postfix-2.0.16/man/man5/pcre_table.5 Mon Dec 1 14:28:06 2003
246@@ -8,11 +8,11 @@
247 .SH SYNOPSIS
248 .na
249 .nf
250-\fBpcre:/etc/postfix/\fIfilename\fR
251+\fBpcre:/etc/mail/\fIfilename\fR
252
253-\fBpostmap -q "\fIstring\fB" pcre:/etc/postfix/\fIfilename\fR
254+\fBpostmap -q "\fIstring\fB" pcre:/etc/mail/\fIfilename\fR
255
256-\fBpostmap -q - pcre:/etc/postfix/\fIfilename\fR <\fIinputfile\fR
257+\fBpostmap -q - pcre:/etc/mail/\fIfilename\fR <\fIinputfile\fR
258 .SH DESCRIPTION
259 .ad
260 .fi
261diff -Nur postfix-2.0.16.orig/man/man5/regexp_table.5 postfix-2.0.16/man/man5/regexp_table.5
262--- postfix-2.0.16.orig/man/man5/regexp_table.5 Fri Aug 1 01:03:34 2003
263+++ postfix-2.0.16/man/man5/regexp_table.5 Mon Dec 1 14:28:18 2003
264@@ -8,11 +8,11 @@
265 .SH SYNOPSIS
266 .na
267 .nf
268-\fBregexp:/etc/postfix/\fIfilename\fR
269+\fBregexp:/etc/mail/\fIfilename\fR
270
271-\fBpostmap -q "\fIstring\fB" regexp:/etc/postfix/\fIfilename\fR
272+\fBpostmap -q "\fIstring\fB" regexp:/etc/mail/\fIfilename\fR
273
274-\fBpostmap -q - regexp:/etc/postfix/\fIfilename\fR <\fIinputfile\fR
275+\fBpostmap -q - regexp:/etc/mail/\fIfilename\fR <\fIinputfile\fR
276 .SH DESCRIPTION
277 .ad
278 .fi
279diff -Nur postfix-2.0.16.orig/man/man5/relocated.5 postfix-2.0.16/man/man5/relocated.5
280--- postfix-2.0.16.orig/man/man5/relocated.5 Tue Aug 12 18:13:05 2003
281+++ postfix-2.0.16/man/man5/relocated.5 Mon Dec 1 14:26:08 2003
282@@ -8,7 +8,7 @@
283 .SH SYNOPSIS
284 .na
285 .nf
286-\fBpostmap /etc/postfix/relocated\fR
287+\fBpostmap /etc/mail/relocated\fR
288 .SH DESCRIPTION
289 .ad
290 .fi
291@@ -19,7 +19,7 @@
292 that serves as input to the \fBpostmap\fR(1) command.
293 The result, an indexed file in \fBdbm\fR or \fBdb\fR format,
294 is used for fast searching by the mail system. Execute the command
295-\fBpostmap /etc/postfix/relocated\fR in order to rebuild the indexed
296+\fBpostmap /etc/mail/relocated\fR in order to rebuild the indexed
297 file after changing the relocated table.
298
299 When the table is provided via other means such as NIS, LDAP
300diff -Nur postfix-2.0.16.orig/man/man5/transport.5 postfix-2.0.16/man/man5/transport.5
301--- postfix-2.0.16.orig/man/man5/transport.5 Tue Aug 12 18:13:05 2003
302+++ postfix-2.0.16/man/man5/transport.5 Mon Dec 1 14:28:30 2003
303@@ -8,11 +8,11 @@
304 .SH SYNOPSIS
305 .na
306 .nf
307-\fBpostmap /etc/postfix/transport\fR
308+\fBpostmap /etc/mail/transport\fR
309
310-\fBpostmap -q "\fIstring\fB" /etc/postfix/transport\fR
311+\fBpostmap -q "\fIstring\fB" /etc/mail/transport\fR
312
313-\fBpostmap -q - /etc/postfix/transport <\fIinputfile\fR
314+\fBpostmap -q - /etc/mail/transport <\fIinputfile\fR
315 .SH DESCRIPTION
316 .ad
317 .fi
318@@ -39,7 +39,7 @@
319 that serves as input to the \fBpostmap\fR(1) command.
320 The result, an indexed file in \fBdbm\fR or \fBdb\fR format, is used
321 for fast searching by the mail system. Execute the command
322-\fBpostmap /etc/postfix/transport\fR in order to rebuild the indexed
323+\fBpostmap /etc/mail/transport\fR in order to rebuild the indexed
324 file after changing the transport table.
325
326 When the table is provided via other means such as NIS, LDAP
327diff -Nur postfix-2.0.16.orig/man/man5/virtual.5 postfix-2.0.16/man/man5/virtual.5
328--- postfix-2.0.16.orig/man/man5/virtual.5 Tue Aug 12 19:47:26 2003
329+++ postfix-2.0.16/man/man5/virtual.5 Mon Dec 1 14:28:53 2003
330@@ -8,11 +8,11 @@
331 .SH SYNOPSIS
332 .na
333 .nf
334-\fBpostmap /etc/postfix/virtual\fR
335+\fBpostmap /etc/mail/virtual\fR
336
337-\fBpostmap -q "\fIstring\fB" /etc/postfix/virtual\fR
338+\fBpostmap -q "\fIstring\fB" /etc/mail/virtual\fR
339
340-\fBpostmap -q - /etc/postfix/virtual <\fIinputfile\fR
341+\fBpostmap -q - /etc/mail/virtual <\fIinputfile\fR
342 .SH DESCRIPTION
343 .ad
344 .fi
345@@ -41,7 +41,7 @@
346 that serves as input to the \fBpostmap\fR(1) command.
347 The result, an indexed file in \fBdbm\fR or \fBdb\fR format,
348 is used for fast searching by the mail system. Execute the command
349-\fBpostmap /etc/postfix/virtual\fR in order to rebuild the indexed
350+\fBpostmap /etc/mail/virtual\fR in order to rebuild the indexed
351 file after changing the text file.
352
353 When the table is provided via other means such as NIS, LDAP
354@@ -119,15 +119,15 @@
355
356 Support for a virtual alias domain looks like:
357
358-/etc/postfix/main.cf:
359+/etc/mail/main.cf:
360 .in +4
361-virtual_alias_maps = hash:/etc/postfix/virtual
362+virtual_alias_maps = hash:/etc/mail/virtual
363
364 Note: some systems use \fBdbm\fR databases instead of \fBhash\fR.
365 See the output from \fBpostconf -m\fR for available database types.
366
367 .ti -4
368-/etc/postfix/virtual:
369+/etc/mail/virtual:
370 .nf
371 .na
372 \fIvirtual-alias.domain anything\fR (right-hand content does not matter)
373diff -Nur postfix-2.0.16.orig/man/man8/cleanup.8 postfix-2.0.16/man/man8/cleanup.8
374--- postfix-2.0.16.orig/man/man8/cleanup.8 Tue Aug 12 18:04:43 2003
375+++ postfix-2.0.16/man/man8/cleanup.8 Mon Dec 1 14:26:08 2003
376@@ -185,8 +185,8 @@
377 .SH FILES
378 .na
379 .nf
380-/etc/postfix/canonical*, canonical mapping table
381-/etc/postfix/virtual*, virtual mapping table
382+/etc/mail/canonical*, canonical mapping table
383+/etc/mail/virtual*, virtual mapping table
384 .SH LICENSE
385 .na
386 .nf
387diff -Nur postfix-2.0.16.orig/man/man8/master.8 postfix-2.0.16/man/man8/master.8
388--- postfix-2.0.16.orig/man/man8/master.8 Thu Dec 19 03:18:43 2002
389+++ postfix-2.0.16/man/man8/master.8 Mon Dec 1 14:26:08 2003
390@@ -129,8 +129,8 @@
391 .SH FILES
392 .na
393 .nf
394-/etc/postfix/main.cf: global configuration file.
395-/etc/postfix/master.cf: master process configuration file.
396+/etc/mail/main.cf: global configuration file.
397+/etc/mail/master.cf: master process configuration file.
398 /var/spool/postfix/pid/master.pid: master lock file.
399 .SH SEE ALSO
400 .na
401diff -Nur postfix-2.0.16.orig/man/man8/proxymap.8 postfix-2.0.16/man/man8/proxymap.8
402--- postfix-2.0.16.orig/man/man8/proxymap.8 Wed May 21 21:21:42 2003
403+++ postfix-2.0.16/man/man8/proxymap.8 Mon Dec 1 14:26:59 2003
404@@ -33,7 +33,7 @@
405 .sp
406 virtual_alias_maps =
407 .ti +4
408-proxy:mysql:/etc/postfix/virtual_alias.cf
409+proxy:mysql:/etc/mail/virtual_alias.cf
410 .sp
411 The total number of connections is limited by the number of
412 proxymap server processes.
413diff -Nur postfix-2.0.16.orig/man/man8/tlsmgr.8 postfix-2.0.16/man/man8/tlsmgr.8
414--- postfix-2.0.16.orig/man/man8/tlsmgr.8 Mon Dec 1 14:25:29 2003
415+++ postfix-2.0.16/man/man8/tlsmgr.8 Mon Dec 1 14:27:05 2003
416@@ -103,7 +103,7 @@
417 .IP \fBtls_random_exchange_name\fR
418 Name of the file written by tlsmgr and read by smtp and smtpd at
419 startup. The length is 1024 bytes. Default value is
420-/etc/postfix/prng_exch.
421+/etc/mail/prng_exch.
422 .IP \fBtls_random_reseed_period\fR
423 Time in seconds until the next reseed from external sources is due.
424 This is the maximum value. The actual point in time is calculated
This page took 0.116444 seconds and 4 git commands to generate.