From 539bd6df8f55d2b89a5e100946041e3fc1a60ff1 Mon Sep 17 00:00:00 2001 From: Wietse Venema Date: Tue, 26 Apr 2005 00:00:00 -0500 Subject: [PATCH] postfix-2.3-20050426 --- postfix/HISTORY | 9 +++++++-- postfix/README_FILES/SASL_README | 10 +++++++--- postfix/html/SASL_README.html | 16 ++++++++++------ postfix/html/postconf.5.html | 8 ++++++++ postfix/man/man5/postconf.5 | 8 ++++++++ postfix/proto/SASL_README.html | 16 ++++++++++------ postfix/proto/postconf.proto | 9 +++++++++ postfix/src/cleanup/cleanup_envelope.c | 1 + postfix/src/global/mail_version.h | 2 +- postfix/src/smtp/smtp_connect.c | 8 +++++--- 10 files changed, 66 insertions(+), 21 deletions(-) diff --git a/postfix/HISTORY b/postfix/HISTORY index 53dffb506..4c118e437 100644 --- a/postfix/HISTORY +++ b/postfix/HISTORY @@ -10684,10 +10684,15 @@ Apologies for any names omitted. Bugfix: don't panic when the fall-back relay can't be used because it was already tried via a cached session. Produce a default excuse instead. File: smtp/smtp_connect.c. - + Bugfix: postsuper could lose an error message after reporting a fatal error. File: postsuper/postsuper.c. - + +20050426 + + Bugfix: simplified and improved the 20050422 fall-back relay + fix. File: smtp/smtp_connect.c. + Open problems: Med: disable header address rewriting after XCLIENT? diff --git a/postfix/README_FILES/SASL_README b/postfix/README_FILES/SASL_README index 5a2482a9f..0c5eb1112 100644 --- a/postfix/README_FILES/SASL_README +++ b/postfix/README_FILES/SASL_README @@ -297,15 +297,19 @@ EEnnaabblliinngg SSAASSLL aauutthheennttiiccaattiioonn Turn on client-side SASL authentication, and specify a table with per-host or per-destination username and password information. Postfix first looks up the server hostname; if no entry is found, then Postfix looks up the destination -domain name (usually, the right-hand part of an email address). +domain name. Usually, this is the right-hand part of an email address, but it +can also be a hostname or address enclosed in [], with an optional ":port", as +specified with relayhost in with transport_maps. /etc/postfix/main.cf: smtp_sasl_auth_enable = yes smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd /etc/postfix/sasl_passwd: - foo.com username:password - bar.com username + foo.com username:password + bar.com username + [mail.myisp.net] username:password + [mail.myisp.net]:submission username:password Note: some SMTP servers support PLAIN or LOGIN authentication only. By default, the Postfix SMTP client does not use authentication methods that send plaintext diff --git a/postfix/html/SASL_README.html b/postfix/html/SASL_README.html index 9d584b411..414aee0a4 100644 --- a/postfix/html/SASL_README.html +++ b/postfix/html/SASL_README.html @@ -441,11 +441,13 @@ then get back to Postfix.

Enabling SASL authentication in the Postfix SMTP client

-

Turn on client-side SASL authentication, and specify a table with -per-host or per-destination username and password information. +

Turn on client-side SASL authentication, and specify a table +with per-host or per-destination username and password information. Postfix first looks up the server hostname; if no entry is found, -then Postfix looks up the destination domain name (usually, the -right-hand part of an email address).

+then Postfix looks up the destination domain name. Usually, this +is the right-hand part of an email address, but it can also be a +hostname or address enclosed in [], with an optional ":port", as +specified with relayhost in with transport_maps.

@@ -454,8 +456,10 @@ right-hand part of an email address). 

smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd /etc/postfix/sasl_passwd: - foo.com username:password - bar.com username + foo.com username:password + bar.com username + [mail.myisp.net] username:password + [mail.myisp.net]:submission username:password
diff --git a/postfix/html/postconf.5.html b/postfix/html/postconf.5.html index e70eb9994..efdedf980 100644 --- a/postfix/html/postconf.5.html +++ b/postfix/html/postconf.5.html @@ -5994,6 +5994,8 @@ auth, etc.) that the SMTP client will ignore in the EHLO response from a remote SMTP server. See smtp_discard_ehlo_keywords for details.

+

This feature is available in Postfix 2.2 and later.

+ @@ -6004,6 +6006,8 @@ details.

auth, etc.) that the SMTP client will ignore in the EHLO response from a remote SMTP server.

+

This feature is available in Postfix 2.2 and later.

+

Notes: