From: Wietse Venema Date: Tue, 18 May 1999 05:00:00 +0000 (-0500) Subject: snapshot-19990518 X-Git-Tag: v20010228~104 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fb16cf41d50a22ab99c1bdb10d93e6ddd2ef3ed5;p=thirdparty%2Fpostfix.git snapshot-19990518 --- diff --git a/postfix/HISTORY b/postfix/HISTORY index f74d0fecf..cd0b2e921 100644 --- a/postfix/HISTORY +++ b/postfix/HISTORY @@ -2789,3 +2789,9 @@ Apologies for any names omitted. Feature: added a "undeliverable postmaster notification discarded" warning when mail is dropped on the floor. Requested by Michael Hasenstein, SuSE, Germany. + +19990517 + + Bugfix: reject_non_fqdn_sender/recipient would pass + user@[ip_address] regardless of destination. Eric Cholet + had the honor of suffering from this one. diff --git a/postfix/global/mail_version.h b/postfix/global/mail_version.h index f23ded7f7..caac8b2f4 100644 --- a/postfix/global/mail_version.h +++ b/postfix/global/mail_version.h @@ -15,7 +15,7 @@ * Version of this program. */ #define VAR_MAIL_VERSION "mail_version" -#define DEF_MAIL_VERSION "Snapshot-19990513" +#define DEF_MAIL_VERSION "Snapshot-19990518" extern char *var_mail_version; /* LICENSE diff --git a/postfix/smtpd/smtpd_check.c b/postfix/smtpd/smtpd_check.c index f9542f110..1ad395d29 100644 --- a/postfix/smtpd/smtpd_check.c +++ b/postfix/smtpd/smtpd_check.c @@ -803,12 +803,12 @@ static int reject_non_fqdn_address(SMTPD_STATE *state, char *addr, domain = ""; /* - * Skip forms that we can't handle yet. Permit user@[ip_address]. + * Skip forms that we can't handle yet. */ if (domain[0] == '#') return (SMTPD_CHECK_DUNNO); if (domain[0] == '[' && domain[strlen(domain) - 1] == ']') - return (SMTPD_CHECK_OK); + return (SMTPD_CHECK_DUNNO); /* * Truncate names ending in dot but not dot-dot.