mirror of
https://github.com/vdukhovni/postfix
synced 2025-08-30 21:55:20 +00:00
postfix-1.1.11-20020924
This commit is contained in:
committed by
Viktor Dukhovni
parent
b4418f9373
commit
5f9dde17b5
@@ -7018,6 +7018,12 @@ Apologies for any names omitted.
|
|||||||
The reject_rbl restriction name is still recognized for
|
The reject_rbl restriction name is still recognized for
|
||||||
compatibility with systems maintained by LaMont Jones.
|
compatibility with systems maintained by LaMont Jones.
|
||||||
|
|
||||||
|
20020924
|
||||||
|
|
||||||
|
Bugfix: reject_rhsbl_<mumble> was broken when <mumble> was
|
||||||
|
unavailable, causing the restrictions parser to get out if
|
||||||
|
sync. Spotted by Ralf Hildebrandt. File: smtpd/smtpd_check.c.
|
||||||
|
|
||||||
Open problems:
|
Open problems:
|
||||||
|
|
||||||
Low: smtpd should log queue ID with reject/warn/hold/discard
|
Low: smtpd should log queue ID with reject/warn/hold/discard
|
||||||
|
@@ -15,7 +15,7 @@ the same bugfixes as a patch release.
|
|||||||
Incompatible changes with Postfix snapshot 1.1.11-20020923
|
Incompatible changes with Postfix snapshot 1.1.11-20020923
|
||||||
==========================================================
|
==========================================================
|
||||||
|
|
||||||
Subtle change in ${name:result} macro expansions: the expansion
|
Subtle change in ${name?result} macro expansions: the expansion
|
||||||
no longer happens when $name is an empty string. This probably
|
no longer happens when $name is an empty string. This probably
|
||||||
makes more sense than the old behavior.
|
makes more sense than the old behavior.
|
||||||
|
|
||||||
|
@@ -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, unless they include the same bugfix as a patch release.
|
* release date only, unless they include the same bugfix as a patch release.
|
||||||
*/
|
*/
|
||||||
#define MAIL_RELEASE_DATE "20020923"
|
#define MAIL_RELEASE_DATE "20020924"
|
||||||
|
|
||||||
#define VAR_MAIL_VERSION "mail_version"
|
#define VAR_MAIL_VERSION "mail_version"
|
||||||
#define DEF_MAIL_VERSION "1.1.11-" MAIL_RELEASE_DATE
|
#define DEF_MAIL_VERSION "1.1.11-" MAIL_RELEASE_DATE
|
||||||
|
@@ -110,8 +110,8 @@
|
|||||||
/* .IP reject_maps_rbl
|
/* .IP reject_maps_rbl
|
||||||
/* Look up the reversed client network address in the real-time blackhole
|
/* Look up the reversed client network address in the real-time blackhole
|
||||||
/* DNS zones below the domains listed in the "maps_rbl_domains"
|
/* DNS zones below the domains listed in the "maps_rbl_domains"
|
||||||
/* configuration parameter. This is equivalent to using "reject_rbl"
|
/* configuration parameter. This is equivalent to using
|
||||||
/* once for each such domain.
|
/* "reject_rbl_client" once for each such domain.
|
||||||
/* .IP permit_naked_ip_address
|
/* .IP permit_naked_ip_address
|
||||||
/* Permit the use of a naked IP address (without enclosing [])
|
/* Permit the use of a naked IP address (without enclosing [])
|
||||||
/* in HELO/EHLO commands.
|
/* in HELO/EHLO commands.
|
||||||
@@ -2632,9 +2632,12 @@ static int generic_checks(SMTPD_STATE *state, ARGV *restrictions,
|
|||||||
if (*(cpp[1]) == 0)
|
if (*(cpp[1]) == 0)
|
||||||
msg_warn("restriction %s requires domain name argument",
|
msg_warn("restriction %s requires domain name argument",
|
||||||
name);
|
name);
|
||||||
else if (strcasecmp(state->name, "unknown") != 0)
|
else {
|
||||||
status = reject_rbl_domain(state, *(cpp += 1), state->name,
|
cpp += 1;
|
||||||
SMTPD_NAME_CLIENT);
|
if (strcasecmp(state->name, "unknown") != 0)
|
||||||
|
status = reject_rbl_domain(state, *cpp, state->name,
|
||||||
|
SMTPD_NAME_CLIENT);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@@ -2713,9 +2716,12 @@ static int generic_checks(SMTPD_STATE *state, ARGV *restrictions,
|
|||||||
} else if (strcasecmp(name, REJECT_RHSBL_SENDER) == 0) {
|
} else if (strcasecmp(name, REJECT_RHSBL_SENDER) == 0) {
|
||||||
if (cpp[1] == 0)
|
if (cpp[1] == 0)
|
||||||
msg_warn("restriction %s requires domain name argument", name);
|
msg_warn("restriction %s requires domain name argument", name);
|
||||||
else if (state->sender && *state->sender)
|
else {
|
||||||
status = reject_rbl_domain(state, *(cpp += 1), state->sender,
|
cpp += 1;
|
||||||
SMTPD_NAME_SENDER);
|
if (state->sender && *state->sender)
|
||||||
|
status = reject_rbl_domain(state, *cpp, state->sender,
|
||||||
|
SMTPD_NAME_SENDER);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@@ -2762,9 +2768,12 @@ static int generic_checks(SMTPD_STATE *state, ARGV *restrictions,
|
|||||||
} else if (strcasecmp(name, REJECT_RHSBL_RECIPIENT) == 0) {
|
} else if (strcasecmp(name, REJECT_RHSBL_RECIPIENT) == 0) {
|
||||||
if (cpp[1] == 0)
|
if (cpp[1] == 0)
|
||||||
msg_warn("restriction %s requires domain name argument", name);
|
msg_warn("restriction %s requires domain name argument", name);
|
||||||
else if (state->recipient)
|
else {
|
||||||
status = reject_rbl_domain(state, *(cpp += 1), state->recipient,
|
cpp += 1;
|
||||||
SMTPD_NAME_RECIPIENT);
|
if (state->recipient)
|
||||||
|
status = reject_rbl_domain(state, *cpp, state->recipient,
|
||||||
|
SMTPD_NAME_RECIPIENT);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Reference in New Issue
Block a user