From: Wietse Venema
Note: there should be no whitespace before "postfix:".
-Make sure there is a "postfix" alias in /etc/aliases, -or whatever the pathname of your aliases file is; the -command "postconf alias_maps" will tell you.
- --- --/etc/aliases: - postfix: root --
Note: there should be no whitespace before "postfix:".
-Create a group "postdrop" with a group id that is not used by any other user account. Not even by the postfix user account. My group file entry looks like: @@ -905,9 +892,32 @@ firewalled and/or dial-up networks.
Finally, if you haven't used Sendmail prior to using Postfix, you -will have to build the alias database with one of the following -commands:
+Postfix uses a Sendmail-compatible aliases(5) table to redirect +mail for local(8) recipients. Typically, this information is kept +in two files: in a text file /etc/aliases and in an indexed file +/etc/aliases.db. The command "postconf alias_maps" will tell you +the exact location of the text file.
+ +First, be sure to update the text file with aliases for root, +postmaster and "postfix" that forward mail to a real person. Postfix +has a sample aliases file /etc/postfix/aliases that you can adapt +to local conditions.
+ +++ ++/etc/aliases: + root: you + postmaster: root + postfix: root + bin: root + etcetera... ++
Note: there should be no whitespace before the ":".
+ +Finally, build the indexed aliases file with one of the +following commands:
-@@ -916,10 +926,6 @@ commands:
Be sure to set up aliases for root and postmaster that forward -mail to a real person. Postfix has a sample aliases file -/etc/postfix/aliases that you can adapt to local conditions.
-Postfix daemon processes can be configured (via master.cf) to diff --git a/postfix/html/IPV6_README.html b/postfix/html/IPV6_README.html index e53746e68..fdc41aa5a 100644 --- a/postfix/html/IPV6_README.html +++ b/postfix/html/IPV6_README.html @@ -111,7 +111,7 @@ will use when it makes network connections.
/etc/postfix/main.cf: # You must stop/start Postfix after changing this parameter. inet_protocols = ipv4 (DEFAULT: enable IPv4 only) - inet_protocols = all (enable both IPv4 and IPv6) + inet_protocols = all (enable IPv4, and IPv6 if supported) inet_protocols = ipv4, ipv6 (enable both IPv4 and IPv6) inet_protocols = ipv6 (enable IPv6 only) diff --git a/postfix/proto/INSTALL.html b/postfix/proto/INSTALL.html index 2c21927e2..62bbc6661 100644 --- a/postfix/proto/INSTALL.html +++ b/postfix/proto/INSTALL.html @@ -447,19 +447,6 @@ My password and group file entries look like this:Note: there should be no whitespace before "postfix:".
-Make sure there is a "postfix" alias in /etc/aliases, -or whatever the pathname of your aliases file is; the -command "postconf alias_maps" will tell you.
- --- --/etc/aliases: - postfix: root --
Note: there should be no whitespace before "postfix:".
-Create a group "postdrop" with a group id that is not used by any other user account. Not even by the postfix user account. My group file entry looks like: @@ -905,9 +892,32 @@ firewalled and/or dial-up networks.
Finally, if you haven't used Sendmail prior to using Postfix, you -will have to build the alias database with one of the following -commands:
+Postfix uses a Sendmail-compatible aliases(5) table to redirect +mail for local(8) recipients. Typically, this information is kept +in two files: in a text file /etc/aliases and in an indexed file +/etc/aliases.db. The command "postconf alias_maps" will tell you +the exact location of the text file.
+ +First, be sure to update the text file with aliases for root, +postmaster and "postfix" that forward mail to a real person. Postfix +has a sample aliases file /etc/postfix/aliases that you can adapt +to local conditions.
+ +++ ++/etc/aliases: + root: you + postmaster: root + postfix: root + bin: root + etcetera... ++
Note: there should be no whitespace before the ":".
+ +Finally, build the indexed aliases file with one of the +following commands:
-@@ -916,10 +926,6 @@ commands:
Be sure to set up aliases for root and postmaster that forward -mail to a real person. Postfix has a sample aliases file -/etc/postfix/aliases that you can adapt to local conditions.
-Postfix daemon processes can be configured (via master.cf) to diff --git a/postfix/proto/IPV6_README.html b/postfix/proto/IPV6_README.html index 3be396387..7344b4abb 100644 --- a/postfix/proto/IPV6_README.html +++ b/postfix/proto/IPV6_README.html @@ -111,7 +111,7 @@ will use when it makes network connections.
/etc/postfix/main.cf: # You must stop/start Postfix after changing this parameter. inet_protocols = ipv4 (DEFAULT: enable IPv4 only) - inet_protocols = all (enable both IPv4 and IPv6) + inet_protocols = all (enable IPv4, and IPv6 if supported) inet_protocols = ipv4, ipv6 (enable both IPv4 and IPv6) inet_protocols = ipv6 (enable IPv6 only) diff --git a/postfix/src/global/mail_version.h b/postfix/src/global/mail_version.h index 27ffbbc08..bb01bc1cd 100644 --- a/postfix/src/global/mail_version.h +++ b/postfix/src/global/mail_version.h @@ -20,7 +20,7 @@ * Patches change the patchlevel and the release date. Snapshots change the * release date only. */ -#define MAIL_RELEASE_DATE "20050314" +#define MAIL_RELEASE_DATE "20050315" #define MAIL_VERSION_NUMBER "2.3" #define VAR_MAIL_VERSION "mail_version" diff --git a/postfix/src/smtpstone/smtp-sink.c b/postfix/src/smtpstone/smtp-sink.c index c7336c9a7..090a66ff7 100644 --- a/postfix/src/smtpstone/smtp-sink.c +++ b/postfix/src/smtpstone/smtp-sink.c @@ -132,7 +132,7 @@ typedef struct SINK_STATE { VSTREAM *stream; VSTRING *buffer; int data_state; - int (*read) (struct SINK_STATE *); + int (*read_fn) (struct SINK_STATE *); int rcpts; } SINK_STATE; @@ -220,7 +220,7 @@ static void data_response(SINK_STATE *state) state->data_state = ST_CR_LF; smtp_printf(state->stream, "354 End data with