]> git.ipfire.org Git - thirdparty/postfix.git/commitdiff
snapshot-19990518
authorWietse Venema <wietse@porcupine.org>
Tue, 18 May 1999 05:00:00 +0000 (00:00 -0500)
committerWietse Venema <wietse@porcupine.org>
Thu, 17 Jan 2013 03:34:27 +0000 (22:34 -0500)
postfix/HISTORY
postfix/global/mail_version.h
postfix/smtpd/smtpd_check.c

index f74d0fecfb30c48f9918aa99f6c533e28a44bfb1..cd0b2e921b5ce075ca5f8ade719d8873f22bc16d 100644 (file)
@@ -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.
index f23ded7f759ba471fa05c0897fca136306e138ea..caac8b2f4c83c8f707d0b921891bfc62f546a206 100644 (file)
@@ -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
index f9542f1103f329fdd59ab15ef841eb3a099c65e8..1ad395d29daa82671a676cdb353e3efa536f3a7f 100644 (file)
@@ -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.