Subject: Postfix 19990906 Patch02

From: [email-masked] (Wietse Venema)
Date: Tue, 7 Sep 1999 15:35:00 -0400 (EDT)

Patch 01, for reject_non_fqdn_sender, broke mail from <>.

The patch below fixes Postfix-19990906-pl01. 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-pl01"
*** ./global/mail_version.h-	Tue Sep  7 11:13:11 1999
--- ./global/mail_version.h	Tue Sep  7 15:17:39 1999
***************
*** 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
--- 15,21 ----
    * Version of this program.
    */
  #define VAR_MAIL_VERSION	"mail_version"
! #define DEF_MAIL_VERSION	"Postfix-19990906-pl02"
  extern char *var_mail_version;
  
  /* LICENSE
*** ./smtpd/smtpd_check.c-	Tue Sep  7 12:39:16 1999
--- ./smtpd/smtpd_check.c	Tue Sep  7 15:17:10 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 && *state->sender)
  	    *status = reject_non_fqdn_address(state, state->sender,
  					  state->sender, SMTPD_NAME_SENDER);
  	return (1);