[milters] Archive

Lists Index Date Thread Search

Article: 1962
From: Christopher Lindsey
Date: 2009-03-04 02:17:33 -0500
Subject: Re: milter-error crash

Removal...........: milters-request@milter.info?subject=remove
More information..: http://www.milter.info/#Support
--------------------------------------------------------

> I've tried to integrate milter-error in our email system again, but
> without success. It still crashes. Here's one of the stacks:
Hi Mike,

   I think that there's a bug in the milter-error code.  I was running
   into the same thing tonight and came up with this quick patch which
   seems to fix things for me.

   No guarantees, but maybe it's worth a try for you.  Attached below.

Chris


-- Attached file included as plaintext by Ecartis --

*** milter-error.c	Wed Oct  3 05:36:45 2007
--- /mnt/src/snertsoft/com/snert/src/milter-error/milter-error.c	Wed Mar  4 02:07:04 2009
***************
*** 383,389 ****
  
  	switch (access) {
  	case SMDB_ACCESS_OK:
! 		smfLog(SMF_LOG_INFO, TAG_FORMAT "cliet %s [%s] white listed", client_name,
data->client_addr);
  		return SMFIS_ACCEPT;
  #ifdef ENABLE_BLACKLIST
  	case SMDB_ACCESS_REJECT:
--- 383,389 ----
  
  	switch (access) {
  	case SMDB_ACCESS_OK:
! 		smfLog(SMF_LOG_INFO, TAG_FORMAT "client %s [%s] white listed", TAG_ARGS,
client_name, data->client_addr);
  		return SMFIS_ACCEPT;
  #ifdef ENABLE_BLACKLIST
  	case SMDB_ACCESS_REJECT:



Lists Index Date Thread Search