mirror of
https://github.com/vdukhovni/postfix
synced 2025-08-31 14:17:41 +00:00
postfix-2.3-20050314
This commit is contained in:
committed by
Viktor Dukhovni
parent
c4c5776091
commit
d99ecb7731
@@ -10475,6 +10475,11 @@ Apologies for any names omitted.
|
|||||||
delete the right entry. Problem found by Victor Duchovni,
|
delete the right entry. Problem found by Victor Duchovni,
|
||||||
more problems found by Wietse. File: tls/tls_scache.c.
|
more problems found by Wietse. File: tls/tls_scache.c.
|
||||||
|
|
||||||
|
20050314
|
||||||
|
|
||||||
|
Portability: Berkeley DB changed API from version 2.5 to
|
||||||
|
2.6. Rob Foehl. File: util/dict_db.c.
|
||||||
|
|
||||||
Open problems:
|
Open problems:
|
||||||
|
|
||||||
Med: disable header address rewriting after XCLIENT?
|
Med: disable header address rewriting after XCLIENT?
|
||||||
|
@@ -86,8 +86,11 @@ Notes:
|
|||||||
Postfix 2.2 and later, it specifies the actual message size when the client
|
Postfix 2.2 and later, it specifies the actual message size when the client
|
||||||
sends the END-OF-DATA command.
|
sends the END-OF-DATA command.
|
||||||
|
|
||||||
* The "sasl_*" attributes specify information about how the client was
|
* The "sasl_*" attributes (Postfix 2.2 and later) specify information about
|
||||||
authenticated via SASL.
|
how the client was authenticated via SASL.
|
||||||
|
|
||||||
|
* The "ccert_*" attributes (Postfix 2.2 and later) specify information about
|
||||||
|
how the client was authenticated via TLS.
|
||||||
|
|
||||||
The following is specific to SMTPD delegated policy requests:
|
The following is specific to SMTPD delegated policy requests:
|
||||||
|
|
||||||
@@ -97,10 +100,6 @@ The following is specific to SMTPD delegated policy requests:
|
|||||||
VRFY or ETRN; these are the SMTP protocol states where the Postfix SMTP
|
VRFY or ETRN; these are the SMTP protocol states where the Postfix SMTP
|
||||||
server makes an OK/REJECT/HOLD/etc. decision.
|
server makes an OK/REJECT/HOLD/etc. decision.
|
||||||
|
|
||||||
* The "ccert_*" attributes specify information from the client TLS
|
|
||||||
certificate. This information is presented only if the client certificate
|
|
||||||
was successfully verified.
|
|
||||||
|
|
||||||
The policy server replies with any action that is allowed in a Postfix SMTPD
|
The policy server replies with any action that is allowed in a Postfix SMTPD
|
||||||
access(5) table. Example:
|
access(5) table. Example:
|
||||||
|
|
||||||
|
@@ -225,6 +225,8 @@ $readme_directory/ADDRESS_VERIFICATION_README:f:root:-:644
|
|||||||
$readme_directory/BACKSCATTER_README:f:root:-:644
|
$readme_directory/BACKSCATTER_README:f:root:-:644
|
||||||
$readme_directory/BASIC_CONFIGURATION_README:f:root:-:644
|
$readme_directory/BASIC_CONFIGURATION_README:f:root:-:644
|
||||||
$readme_directory/BUILTIN_FILTER_README:f:root:-:644
|
$readme_directory/BUILTIN_FILTER_README:f:root:-:644
|
||||||
|
$readme_directory/CDB_README:f:root:-:644
|
||||||
|
$readme_directory/CONNECTION_CACHE_README:f:root:-:644
|
||||||
$readme_directory/CONTENT_INSPECTION_README:f:root:-:644
|
$readme_directory/CONTENT_INSPECTION_README:f:root:-:644
|
||||||
$readme_directory/DATABASE_README:f:root:-:644
|
$readme_directory/DATABASE_README:f:root:-:644
|
||||||
$readme_directory/DB_README:f:root:-:644
|
$readme_directory/DB_README:f:root:-:644
|
||||||
@@ -270,6 +272,8 @@ $html_directory/ADDRESS_VERIFICATION_README.html:f:root:-:644
|
|||||||
$html_directory/BACKSCATTER_README.html:f:root:-:644
|
$html_directory/BACKSCATTER_README.html:f:root:-:644
|
||||||
$html_directory/BASIC_CONFIGURATION_README.html:f:root:-:644
|
$html_directory/BASIC_CONFIGURATION_README.html:f:root:-:644
|
||||||
$html_directory/BUILTIN_FILTER_README.html:f:root:-:644
|
$html_directory/BUILTIN_FILTER_README.html:f:root:-:644
|
||||||
|
$html_directory/CDB_README.html:f:root:-:644
|
||||||
|
$html_directory/CONNECTION_CACHE_README.html:f:root:-:644
|
||||||
$html_directory/CONTENT_INSPECTION_README.html:f:root:-:644
|
$html_directory/CONTENT_INSPECTION_README.html:f:root:-:644
|
||||||
$html_directory/CYRUS_README.html:f:root:-:644
|
$html_directory/CYRUS_README.html:f:root:-:644
|
||||||
$html_directory/DATABASE_README.html:f:root:-:644
|
$html_directory/DATABASE_README.html:f:root:-:644
|
||||||
|
@@ -128,9 +128,14 @@ size=12345
|
|||||||
command.
|
command.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<li> <p> The "sasl_*" attributes specify information about how
|
<li> <p> The "sasl_*" attributes (Postfix 2.2 and later) specify
|
||||||
the client was authenticated via SASL. </p>
|
information about how the client was authenticated via SASL.
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<li> <p> The "ccert_*" attributes (Postfix 2.2 and later) specify
|
||||||
|
information about how the client was authenticated via TLS.
|
||||||
|
</p>
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<p> The following is specific to SMTPD delegated policy requests:
|
<p> The following is specific to SMTPD delegated policy requests:
|
||||||
@@ -146,10 +151,6 @@ size=12345
|
|||||||
the Postfix SMTP server makes an OK/REJECT/HOLD/etc. decision.
|
the Postfix SMTP server makes an OK/REJECT/HOLD/etc. decision.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<li> <p> The "ccert_*" attributes specify information from the
|
|
||||||
client TLS certificate. This information is presented only
|
|
||||||
if the client certificate was successfully verified. </p>
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<p> The policy server replies with any action that is allowed in a
|
<p> The policy server replies with any action that is allowed in a
|
||||||
|
@@ -128,9 +128,14 @@ size=12345
|
|||||||
command.
|
command.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<li> <p> The "sasl_*" attributes specify information about how
|
<li> <p> The "sasl_*" attributes (Postfix 2.2 and later) specify
|
||||||
the client was authenticated via SASL. </p>
|
information about how the client was authenticated via SASL.
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<li> <p> The "ccert_*" attributes (Postfix 2.2 and later) specify
|
||||||
|
information about how the client was authenticated via TLS.
|
||||||
|
</p>
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<p> The following is specific to SMTPD delegated policy requests:
|
<p> The following is specific to SMTPD delegated policy requests:
|
||||||
@@ -146,10 +151,6 @@ size=12345
|
|||||||
the Postfix SMTP server makes an OK/REJECT/HOLD/etc. decision.
|
the Postfix SMTP server makes an OK/REJECT/HOLD/etc. decision.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<li> <p> The "ccert_*" attributes specify information from the
|
|
||||||
client TLS certificate. This information is presented only
|
|
||||||
if the client certificate was successfully verified. </p>
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<p> The policy server replies with any action that is allowed in a
|
<p> The policy server replies with any action that is allowed in a
|
||||||
|
@@ -20,7 +20,7 @@
|
|||||||
* Patches change the patchlevel and the release date. Snapshots change the
|
* Patches change the patchlevel and the release date. Snapshots change the
|
||||||
* release date only.
|
* release date only.
|
||||||
*/
|
*/
|
||||||
#define MAIL_RELEASE_DATE "20050313"
|
#define MAIL_RELEASE_DATE "20050314"
|
||||||
#define MAIL_VERSION_NUMBER "2.3"
|
#define MAIL_VERSION_NUMBER "2.3"
|
||||||
|
|
||||||
#define VAR_MAIL_VERSION "mail_version"
|
#define VAR_MAIL_VERSION "mail_version"
|
||||||
|
@@ -582,7 +582,7 @@ static void postalias_seq(const char *map_type, const char *map_name)
|
|||||||
|
|
||||||
static NORETURN usage(char *myname)
|
static NORETURN usage(char *myname)
|
||||||
{
|
{
|
||||||
msg_fatal("usage: %s [-Nfinorvw] [-c config_dir] [-d key] [-q key] [map_type:]file...",
|
msg_fatal("usage: %s [-Nfinoprsvw] [-c config_dir] [-d key] [-q key] [map_type:]file...",
|
||||||
myname);
|
myname);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -529,7 +529,7 @@ static void postmap_seq(const char *map_type, const char *map_name)
|
|||||||
|
|
||||||
static NORETURN usage(char *myname)
|
static NORETURN usage(char *myname)
|
||||||
{
|
{
|
||||||
msg_fatal("usage: %s [-Nfinorvw] [-c config_dir] [-d key] [-q key] [map_type:]file...",
|
msg_fatal("usage: %s [-Nfinoprsvw] [-c config_dir] [-d key] [-q key] [map_type:]file...",
|
||||||
myname);
|
myname);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -89,6 +89,12 @@
|
|||||||
#define DONT_CLOBBER DB_NOOVERWRITE
|
#define DONT_CLOBBER DB_NOOVERWRITE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if (DB_VERSION_MAJOR == 2 && DB_VERSION_MINOR < 6)
|
||||||
|
#define DICT_DB_CURSOR(db, curs) (db)->cursor((db), NULL, (curs))
|
||||||
|
#else
|
||||||
|
#define DICT_DB_CURSOR(db, curs) (db)->cursor((db), NULL, (curs), 0);
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef DB_FCNTL_LOCKING
|
#ifndef DB_FCNTL_LOCKING
|
||||||
#define DB_FCNTL_LOCKING 0
|
#define DB_FCNTL_LOCKING 0
|
||||||
#endif
|
#endif
|
||||||
@@ -400,7 +406,7 @@ static int dict_db_sequence(DICT *dict, int function,
|
|||||||
switch (function) {
|
switch (function) {
|
||||||
case DICT_SEQ_FUN_FIRST:
|
case DICT_SEQ_FUN_FIRST:
|
||||||
if (dict_db->cursor == 0)
|
if (dict_db->cursor == 0)
|
||||||
db->cursor(db, NULL, &(dict_db->cursor), 0);
|
DICT_DB_CURSOR(db, &(dict_db->cursor));
|
||||||
db_function = DB_FIRST;
|
db_function = DB_FIRST;
|
||||||
break;
|
break;
|
||||||
case DICT_SEQ_FUN_NEXT:
|
case DICT_SEQ_FUN_NEXT:
|
||||||
|
Reference in New Issue
Block a user