delete the right entry. Problem found by Victor Duchovni,
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:
Med: disable header address rewriting after XCLIENT?
Postfix 2.2 and later, it specifies the actual message size when the client
sends the END-OF-DATA command.
- * The "sasl_*" attributes specify information about how the client was
- authenticated via SASL.
+ * The "sasl_*" attributes (Postfix 2.2 and later) specify information about
+ 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:
VRFY or ETRN; these are the SMTP protocol states where the Postfix SMTP
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
access(5) table. Example:
$readme_directory/BACKSCATTER_README:f:root:-:644
$readme_directory/BASIC_CONFIGURATION_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/DATABASE_README:f:root:-:644
$readme_directory/DB_README:f:root:-:644
$html_directory/BACKSCATTER_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/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/CYRUS_README.html:f:root:-:644
$html_directory/DATABASE_README.html:f:root:-:644
command.
</p>
- <li> <p> The "sasl_*" attributes specify information about how
- the client was authenticated via SASL. </p>
-
+ <li> <p> The "sasl_*" attributes (Postfix 2.2 and later) specify
+ 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>
<p> The following is specific to SMTPD delegated policy requests:
the Postfix SMTP server makes an OK/REJECT/HOLD/etc. decision.
</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>
<p> The policy server replies with any action that is allowed in a
command.
</p>
- <li> <p> The "sasl_*" attributes specify information about how
- the client was authenticated via SASL. </p>
-
+ <li> <p> The "sasl_*" attributes (Postfix 2.2 and later) specify
+ 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>
<p> The following is specific to SMTPD delegated policy requests:
the Postfix SMTP server makes an OK/REJECT/HOLD/etc. decision.
</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>
<p> The policy server replies with any action that is allowed in a
* Patches change the patchlevel and the release date. Snapshots change the
* release date only.
*/
-#define MAIL_RELEASE_DATE "20050313"
+#define MAIL_RELEASE_DATE "20050314"
#define MAIL_VERSION_NUMBER "2.3"
#define VAR_MAIL_VERSION "mail_version"
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);
}
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);
}
#define DONT_CLOBBER DB_NOOVERWRITE
#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
#define DB_FCNTL_LOCKING 0
#endif
switch (function) {
case DICT_SEQ_FUN_FIRST:
if (dict_db->cursor == 0)
- db->cursor(db, NULL, &(dict_db->cursor), 0);
+ DICT_DB_CURSOR(db, &(dict_db->cursor));
db_function = DB_FIRST;
break;
case DICT_SEQ_FUN_NEXT: