*** milter-greylist.c.orig	Thu Nov 24 04:59:40 2016
--- milter-greylist.c	Wed Nov 30 16:02:57 2016
***************
*** 874,885 ****
  		return SMFIS_CONTINUE;
  
  	if ((priv->priv_msgcount > priv->priv_maxpeek) || 
  	    (priv->priv_buflen > priv->priv_maxpeek)) {
! 		if (conf.c_debug)
! 			mg_log(LOG_DEBUG, 
! 			    "ignoring message beyond maxpeek = %d", 
! 			    priv->priv_maxpeek);
  		priv->priv_maxpeek = 0;
  		return SMFIS_CONTINUE;
  	}
  
--- 874,884 ----
  		return SMFIS_CONTINUE;
  
  	if ((priv->priv_msgcount > priv->priv_maxpeek) || 
  	    (priv->priv_buflen > priv->priv_maxpeek)) {
! 		mg_log(LOG_DEBUG, 
! 		    "%s: ignoring message in header stage beyond maxpeek = %d", 
! 		    priv->priv_queueid, priv->priv_maxpeek);
  		priv->priv_maxpeek = 0;
  		return SMFIS_CONTINUE;
  	}
  
***************
*** 981,995 ****
  
  	/*
  	 * maxpeek limit the length of data we inspect.
  	 * priv->priv_peekcount count the data seen so far.
! 	 * If we already reached the limit, jusy continue now.
  	 */
  	if (priv->priv_peekcount >= priv->priv_maxpeek) {
  		if (!priv->priv_peekdone) {
  			mg_log(LOG_DEBUG, 
! 			       "ignoring message beyond maxpeek = %d", 
!  			       priv->priv_maxpeek);
  			priv->priv_peekdone = 1;
  		}
  		return SMFIS_CONTINUE;
  	}
--- 980,994 ----
  
  	/*
  	 * maxpeek limit the length of data we inspect.
  	 * priv->priv_peekcount count the data seen so far.
! 	 * If we already reached the limit, just continue now.
  	 */
  	if (priv->priv_peekcount >= priv->priv_maxpeek) {
  		if (!priv->priv_peekdone) {
  			mg_log(LOG_DEBUG, 
! 			       "%s: ignoring message in data stage beyond maxpeek = %d", 
!  			       priv->priv_queueid, priv->priv_maxpeek);
  			priv->priv_peekdone = 1;
  		}
  		return SMFIS_CONTINUE;
  	}
