From owner-postfix-announce@postfix.org Tue Sep 7 11:34:10 1999 Return-Path: Delivered-To: wietse@porcupine.org Received: from russian-caravan.cloud9.net (russian-caravan.cloud9.net [168.100.1.4]) by spike.porcupine.org (Postfix) with ESMTP id 8F0534574B for ; Tue, 7 Sep 1999 11:34:08 -0400 (EDT) Received: by russian-caravan.cloud9.net (Postfix) id B2CD07650B; Tue, 7 Sep 1999 11:30:20 -0400 (EDT) Delivered-To: postfix-announce-outgoing@cloud9.net Received: by russian-caravan.cloud9.net (Postfix, from userid 54) id 6D2B6764E9; Tue, 7 Sep 1999 11:30:19 -0400 (EDT) Received: from spike.porcupine.org (umbilical.porcupine.org [168.100.189.1]) by russian-caravan.cloud9.net (Postfix) with ESMTP id 0F3CE763E1 for ; Tue, 7 Sep 1999 11:23:15 -0400 (EDT) Received: by spike.porcupine.org (Postfix, from userid 100) id 7979245751; Tue, 7 Sep 1999 11:23:13 -0400 (EDT) Subject: Postfix 19990906 Patch01 To: postfix-announce@postfix.org (Postfix announce) Date: Tue, 7 Sep 1999 11:23:13 -0400 (EDT) X-Time-Zone: USA EST, 6 hours behind central European time X-Mailer: ELM [version 2.4ME+ PL15 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-Id: <19990907152313.7979245751@spike.porcupine.org> From: wietse@porcupine.org (Wietse Venema) Sender: owner-postfix-announce@postfix.org Precedence: bulk Content-Length: 2152 Status: RO The reject_non_fqdn_sender feature used the wrong test to see if a sender address was given, and could dump core. This must have been broken ever since the UCE tests were moved to the RCPT TO stage in 19990510, which implies that Postfix version 19990601 and snapshot 19990627 have the same problem. The patch below fixes Postfix-19990906. A fully-patched version is being made available via the usual FTP servers, primary site ftp://ftp.porcupine.org/mirrors/postfix-release/official/ Wietse Prereq: "Postfix-19990906" *** ./global/mail_version.h- Mon Sep 6 17:47:37 1999 --- ./global/mail_version.h Tue Sep 7 11:13:11 1999 *************** *** 15,21 **** * Version of this program. */ #define VAR_MAIL_VERSION "mail_version" ! #define DEF_MAIL_VERSION "Postfix-19990906" extern char *var_mail_version; /* LICENSE --- 15,21 ---- * Version of this program. */ #define VAR_MAIL_VERSION "mail_version" ! #define DEF_MAIL_VERSION "Postfix-19990906-pl01" extern char *var_mail_version; /* LICENSE *** ./smtpd/smtpd_check.c- Sun Sep 5 22:46:57 1999 --- ./smtpd/smtpd_check.c Tue Sep 7 11:00:14 1999 *************** *** 1391,1397 **** return (1); } if (strcasecmp(name, REJECT_NON_FQDN_SENDER) == 0) { ! if (*state->sender) *status = reject_non_fqdn_address(state, state->sender, state->sender, SMTPD_NAME_SENDER); return (1); --- 1391,1397 ---- return (1); } if (strcasecmp(name, REJECT_NON_FQDN_SENDER) == 0) { ! if (state->sender) *status = reject_non_fqdn_address(state, state->sender, state->sender, SMTPD_NAME_SENDER); return (1); *** ./HISTORY- Mon Sep 6 15:35:14 1999 --- ./HISTORY Tue Sep 7 11:16:48 1999 *************** *** 3039,3041 **** --- 3039,3048 ---- and for upgrading Postfix. It replaces files instead of overwriting them, and leaves existing configuration and queue files intact. + + 19990907 + + Bugfix: reject_non_fqdn_sender used the wrong test to see + if a sender address was given and could dump core. This + must have been broken ever since the UCE tests were moved + to the RCPT TO stage in 19990510.