From f6940bf1d2199392bc3701ee954ca45bb1d6a0f7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20R=C4=99korajski?= Date: Mon, 10 Sep 2007 14:00:47 +0000 Subject: [PATCH] - up to 2.4.5 - the changes /etc/postfix -> /etc/mail are done via sed in spec Changed files: postfix-config.patch -> 1.18 --- postfix-config.patch | 922 +------------------------------------------ 1 file changed, 9 insertions(+), 913 deletions(-) diff --git a/postfix-config.patch b/postfix-config.patch index 76b1e60..bd3fc01 100644 --- a/postfix-config.patch +++ b/postfix-config.patch @@ -121,910 +121,6 @@ diff -dur postfix-2.1.3.orig/conf/main.cf postfix-2.1.3/conf/main.cf +# +unknown_address_reject_code = 550 + -diff -dur postfix-2.1.3.orig/man/man1/postconf.1 postfix-2.1.3/man/man1/postconf.1 ---- postfix-2.1.3.orig/man/man1/postconf.1 2004-04-22 21:27:05.000000000 +0200 -+++ postfix-2.1.3/man/man1/postconf.1 2004-06-22 14:25:06.710151423 +0200 -@@ -150,7 +150,7 @@ - .SH "FILES" - .na - .nf --/etc/postfix/main.cf, Postfix configuration parameters -+/etc/mail/main.cf, Postfix configuration parameters - .SH "SEE ALSO" - .na - .nf ---- postfix-2.2.2/man/man1/postfix.1.orig 2005-02-22 13:44:48.000000000 +0100 -+++ postfix-2.2.2/man/man1/postfix.1 2005-04-26 11:24:46.000000000 +0200 -@@ -61,7 +61,7 @@ - already installed Postfix system. - .sp - This feature is available in Postfix 2.1 and later. With --Postfix 2.0 and earlier, use "\fB/etc/postfix/post-install -+Postfix 2.0 and earlier, use "\fB/etc/mail/post-install - set-permissions\fR". - .IP "\fBupgrade-configuration\fR \fB[\fIname\fR=\fIvalue ...\fB]\fR - Update the \fBmain.cf\fR and \fBmaster.cf\fR files with information -@@ -72,7 +72,7 @@ - main.cf configuration parameters. - .sp - This feature is available in Postfix 2.1 and later. With --Postfix 2.0 and earlier, use "\fB/etc/postfix/post-install -+Postfix 2.0 and earlier, use "\fB/etc/mail/post-install - upgrade-configuration\fR". - .PP - The following options are implemented: -@@ -155,11 +155,11 @@ - .SH "FILES" - .na - .nf --/etc/postfix/main.cf, Postfix configuration parameters --/etc/postfix/master.cf, Postfix daemon processes --/etc/postfix/postfix-files, file/directory permissions --/etc/postfix/postfix-script, administrative commands --/etc/postfix/post-install, post-installation configuration -+/etc/mail/main.cf, Postfix configuration parameters -+/etc/mail/master.cf, Postfix daemon processes -+/etc/mail/postfix-files, file/directory permissions -+/etc/mail/postfix-script, administrative commands -+/etc/mail/post-install, post-installation configuration - .SH "SEE ALSO" - .na - .nf -diff -dur postfix-2.1.3.orig/man/man1/sendmail.1 postfix-2.1.3/man/man1/sendmail.1 ---- postfix-2.1.3.orig/man/man1/sendmail.1 2004-04-14 03:56:07.000000000 +0200 -+++ postfix-2.1.3/man/man1/sendmail.1 2004-06-22 14:25:58.213160652 +0200 -@@ -325,7 +325,7 @@ - .na - .nf - /var/spool/postfix, mail queue --/etc/postfix, configuration files -+/etc/mail, configuration files - .SH "SEE ALSO" - .na - .nf ---- postfix-2.2.2/man/man5/access.5.orig 2005-02-05 00:50:56.000000000 +0100 -+++ postfix-2.2.2/man/man5/access.5 2005-04-26 11:21:22.000000000 +0200 -@@ -8,11 +8,11 @@ - .SH "SYNOPSIS" - .na - .nf --\fBpostmap /etc/postfix/access\fR -+\fBpostmap /etc/mail/access\fR - --\fBpostmap -q "\fIstring\fB" /etc/postfix/access\fR -+\fBpostmap -q "\fIstring\fB" /etc/mail/access\fR - --\fBpostmap -q - /etc/postfix/access <\fIinputfile\fR -+\fBpostmap -q - /etc/mail/access <\fIinputfile\fR - .SH DESCRIPTION - .ad - .fi -@@ -28,7 +28,7 @@ - that serves as input to the \fBpostmap\fR(1) command. - The result, an indexed file in \fBdbm\fR or \fBdb\fR format, - is used for fast searching by the mail system. Execute the command --"\fBpostmap /etc/postfix/access\fR" in order to rebuild the indexed -+"\fBpostmap /etc/mail/access\fR" in order to rebuild the indexed - file after changing the access table. - - When the table is provided via other means such as NIS, LDAP -@@ -318,20 +318,20 @@ - - .na - .nf --/etc/postfix/main.cf: -+/etc/mail/main.cf: - .in +4 - smtpd_client_restrictions = - .in +4 --check_client_access hash:/etc/postfix/access -+check_client_access hash:/etc/mail/access - - .in -8 --/etc/postfix/access: -+/etc/mail/access: - .in +4 - 1.2.3 REJECT - 1.2.3.4 OK - .in -4 - --Execute the command "\fBpostmap /etc/postfix/access\fR" after -+Execute the command "\fBpostmap /etc/mail/access\fR" after - editing the file. - .SH BUGS - .ad ---- postfix-2.2.2/man/man5/canonical.5.orig 2005-03-09 21:05:01.000000000 +0100 -+++ postfix-2.2.2/man/man5/canonical.5 2005-04-26 11:21:34.000000000 +0200 -@@ -8,11 +8,11 @@ - .SH "SYNOPSIS" - .na - .nf --\fBpostmap /etc/postfix/canonical\fR -+\fBpostmap /etc/mail/canonical\fR - --\fBpostmap -q "\fIstring\fB" /etc/postfix/canonical\fR -+\fBpostmap -q "\fIstring\fB" /etc/mail/canonical\fR - --\fBpostmap -q - /etc/postfix/canonical <\fIinputfile\fR -+\fBpostmap -q - /etc/mail/canonical <\fIinputfile\fR - .SH DESCRIPTION - .ad - .fi -@@ -25,7 +25,7 @@ - that serves as input to the \fBpostmap\fR(1) command. - The result, an indexed file in \fBdbm\fR or \fBdb\fR format, - is used for fast searching by the mail system. Execute the command --"\fBpostmap /etc/postfix/canonical\fR" in order to rebuild the indexed -+"\fBpostmap /etc/mail/canonical\fR" in order to rebuild the indexed - file after changing the text file. - - When the table is provided via other means such as NIS, LDAP -diff -dur postfix-2.1.3.orig/man/man5/cidr_table.5 postfix-2.1.3/man/man5/cidr_table.5 ---- postfix-2.1.3.orig/man/man5/cidr_table.5 2004-04-16 15:17:25.000000000 +0200 -+++ postfix-2.1.3/man/man5/cidr_table.5 2004-06-22 14:28:40.742716008 +0200 -@@ -8,9 +8,9 @@ - .SH "SYNOPSIS" - .na - .nf --\fBpostmap -q "\fIstring\fB" cidr:/etc/postfix/\fIfilename\fR -+\fBpostmap -q "\fIstring\fB" cidr:/etc/mail/\fIfilename\fR - --\fBpostmap -q - cidr:/etc/postfix/\fIfilename\fR <\fIinputfile\fR -+\fBpostmap -q - cidr:/etc/mail/\fIfilename\fR <\fIinputfile\fR - .SH DESCRIPTION - .ad - .fi -@@ -53,11 +53,11 @@ - .SH "EXAMPLE SMTPD ACCESS MAP" - .na - .nf --/etc/postfix/main.cf: -+/etc/mail/main.cf: - .ti +4 --smtpd_client_restrictions = ... cidr:/etc/postfix/client.cidr ... -+smtpd_client_restrictions = ... cidr:/etc/mail/client.cidr ... - --/etc/postfix/client.cidr: -+/etc/mail/client.cidr: - .in +4 - # Rule order matters. Put more specific whitelist entries - # before more general blacklist entries. ---- postfix-2.2.2/man/man5/generic.5.orig 2005-02-12 02:01:06.000000000 +0100 -+++ postfix-2.2.2/man/man5/generic.5 2005-04-26 11:27:39.000000000 +0200 -@@ -8,11 +8,11 @@ - .SH "SYNOPSIS" - .na - .nf --\fBpostmap /etc/postfix/generic\fR -+\fBpostmap /etc/mail/generic\fR - --\fBpostmap -q "\fIstring\fB" /etc/postfix/generic\fR -+\fBpostmap -q "\fIstring\fB" /etc/mail/generic\fR - --\fBpostmap -q - /etc/postfix/generic <\fIinputfile\fR -+\fBpostmap -q - /etc/mail/generic <\fIinputfile\fR - .SH DESCRIPTION - .ad - .fi -@@ -38,7 +38,7 @@ - text file that serves as input to the \fBpostmap\fR(1) - command. The result, an indexed file in \fBdbm\fR or - \fBdb\fR format, is used for fast searching by the mail --system. Execute the command "\fBpostmap /etc/postfix/generic\fR" -+system. Execute the command "\fBpostmap /etc/mail/generic\fR" - in order to rebuild the indexed file after changing the - text file. - -@@ -164,12 +164,12 @@ - - .na - .nf --/etc/postfix/main.cf: -+/etc/mail/main.cf: - .in +4 -- smtp_generic_maps = hash:/etc/postfix/generic -+ smtp_generic_maps = hash:/etc/mail/generic - .in -4 - --/etc/postfix/generic: -+/etc/mail/generic: - .in +4 - his@localdomain.local hisaccount@hisisp.example - her@localdomain.local heraccount@herisp.example -@@ -178,7 +178,7 @@ - - .ad - .fi --Execute the command "\fBpostmap /etc/postfix/generic\fR" -+Execute the command "\fBpostmap /etc/mail/generic\fR" - whenever the table is changed. Instead of \fBhash\fR, some - systems use \fBdbm\fR database files. To find out what - tables your system supports use the command "\fBpostconf -diff -dur postfix-2.1.3.orig/man/man5/header_checks.5 postfix-2.1.3/man/man5/header_checks.5 ---- postfix-2.1.3.orig/man/man5/header_checks.5 2004-05-07 21:25:22.000000000 +0200 -+++ postfix-2.1.3/man/man5/header_checks.5 2004-06-22 14:28:52.575028045 +0200 -@@ -8,17 +8,17 @@ - .SH "SYNOPSIS" - .na - .nf --\fBheader_checks = pcre:/etc/postfix/header_checks\fR -+\fBheader_checks = pcre:/etc/mail/header_checks\fR - .br --\fBmime_header_checks = pcre:/etc/postfix/mime_header_checks\fR -+\fBmime_header_checks = pcre:/etc/mail/mime_header_checks\fR - .br --\fBnested_header_checks = pcre:/etc/postfix/nested_header_checks\fR -+\fBnested_header_checks = pcre:/etc/mail/nested_header_checks\fR - .br --\fBbody_checks = pcre:/etc/postfix/body_checks\fR -+\fBbody_checks = pcre:/etc/mail/body_checks\fR - .sp --\fBpostmap -fq "\fIstring\fB" pcre:/etc/postfix/\fIfilename\fR -+\fBpostmap -fq "\fIstring\fB" pcre:/etc/mail/\fIfilename\fR - .br --\fBpostmap -fq - pcre:/etc/postfix/\fIfilename\fR <\fIinputfile\fR -+\fBpostmap -fq - pcre:/etc/mail/\fIfilename\fR <\fIinputfile\fR - .SH DESCRIPTION - .ad - .fi -@@ -274,11 +274,11 @@ - - .na - .nf --/etc/postfix/main.cf: -+/etc/mail/main.cf: - .ti +4 --header_checks = regexp:/etc/postfix/header_checks -+header_checks = regexp:/etc/mail/header_checks - --/etc/postfix/header_checks: -+/etc/mail/header_checks: - .ti +4 - /^content-(type|disposition):.*name[[:space:]]*=.*\\.(exe|vbs)/ - .ti +8 -@@ -290,11 +290,11 @@ - - .na - .nf --/etc/postfix/main.cf: -+/etc/mail/main.cf: - .ti +4 --body_checks = regexp:/etc/postfix/body_checks -+body_checks = regexp:/etc/mail/body_checks - --/etc/postfix/body_checks: -+/etc/mail/body_checks: - .ti +4 - /^