diff -dur postfix-2.1.3.orig/conf/main.cf postfix-2.1.3/conf/main.cf --- postfix-2.1.3.orig/conf/main.cf 2004-06-06 23:53:58.000000000 +0200 +++ postfix-2.1.3/conf/main.cf 2004-06-22 14:23:20.533313840 +0200 @@ -38,7 +38,7 @@ # daemon programs (i.e. programs listed in the master.cf file). This # directory must be owned by root. # -daemon_directory = /usr/libexec/postfix +daemon_directory = /usr/lib/postfix # QUEUE AND PROCESS OWNERSHIP # @@ -56,7 +56,7 @@ # These rights are used in the absence of a recipient user context. # DO NOT SPECIFY A PRIVILEGED USER OR THE POSTFIX OWNER. # -#default_privs = nobody +default_privs = nobody # INTERNET HOST AND DOMAIN NAMES # @@ -88,7 +88,7 @@ # myorigin also specifies the default domain name that is appended # to recipient addresses that have no @domain part. # -#myorigin = $myhostname +myorigin = $myhostname #myorigin = $mydomain # RECEIVING MAIL @@ -372,7 +372,7 @@ # "postfix reload" to eliminate the delay. # #alias_maps = dbm:/etc/aliases -#alias_maps = hash:/etc/aliases +alias_maps = hash:/etc/mail/aliases #alias_maps = hash:/etc/aliases, nis:mail.aliases #alias_maps = netinfo:/aliases @@ -383,7 +383,7 @@ # #alias_database = dbm:/etc/aliases #alias_database = dbm:/etc/mail/aliases -#alias_database = hash:/etc/aliases +alias_database = hash:/etc/mail/aliases #alias_database = hash:/etc/aliases, hash:/opt/majordomo/aliases # ADDRESS EXTENSIONS (e.g., user+foo) @@ -411,7 +411,7 @@ # UNIX-style mailboxes are kept. The default setting depends on the # system type. # -#mail_spool_directory = /var/mail +mail_spool_directory = /var/mail #mail_spool_directory = /var/spool/mail # The mailbox_command parameter specifies the optional external @@ -433,8 +433,8 @@ # IF YOU USE THIS TO DELIVER MAIL SYSTEM-WIDE, YOU MUST SET UP AN # ALIAS THAT FORWARDS MAIL FOR ROOT TO A REAL USER. # -#mailbox_command = /some/where/procmail -#mailbox_command = /some/where/procmail -a "$EXTENSION" +#mailbox_command = /usr/bin/procmail +#mailbox_command = /usr/bin/procmail -a "$EXTENSION" # The mailbox_transport specifies the optional transport in master.cf # to use after processing aliases and .forward files. This parameter @@ -588,44 +588,22 @@ # echo where) | gdb $daemon_directory/$process_name $process_id 2>&1 # >$config_directory/$process_name.$process_id.log & sleep 5 +biff = no # INSTALL-TIME CONFIGURATION INFORMATION # # The following parameters are used when installing a new Postfix version. -# -# sendmail_path: The full pathname of the Postfix sendmail command. -# This is the Sendmail-compatible mail posting interface. -# -sendmail_path = - -# newaliases_path: The full pathname of the Postfix newaliases command. -# This is the Sendmail-compatible command to build alias databases. -# -newaliases_path = - -# mailq_path: The full pathname of the Postfix mailq command. This -# is the Sendmail-compatible mail queue listing command. -# -mailq_path = # setgid_group: The group for mail submission and queue management # commands. This must be a group name with a numerical group ID that # is not shared with other accounts, not even with the Postfix account. # -setgid_group = - -# html_directory: The location of the Postfix HTML documentation. -# -html_directory = - -# manpage_directory: The location of the Postfix on-line manual pages. -# -manpage_directory = - -# sample_directory: The location of the Postfix sample configuration files. -# This parameter is obsolete as of Postfix 2.1. -# -sample_directory = +setgid_group = maildrop -# readme_directory: The location of the Postfix README files. -# -readme_directory = +# The unknown_address_reject_code parameter specifies the SMTP server +# response when a client violates the reject_unknown_sender_domain +# or reject_unknown_recipient_domain restrictions. +# +# Contrary to what Wietse thinks (450) this should be 550 +# +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 /^