--- dw_filter.c.orig	Mon Jul 30 05:12:02 2001
+++ dw_filter.c	Thu Aug 30 00:23:31 2001
@@ -549,7 +549,7 @@
             syslog( LOG_MAIL | LOG_DEBUG, "can not replace message" );
             FAIL_EXIT( context, priv );
         }
-        if( bSenderNotify && priv->from && (strlen(priv->from) > 0) )
+	if( bSenderNotify && priv->from && *(priv->from) && strcmp(priv->from, "<>") != 0)
         {
             if( smfi_addrcpt( context, priv->from ) != MI_SUCCESS )
             {
@@ -585,7 +585,7 @@
         syslog( LOG_MAIL | LOG_ERR, "daemon return error (%s) - possible problem with daemon", getDaemonCode( status ) );
         FAIL_EXIT( context, priv );
     } /* else - normal message */
-    syslog( LOG_MAIL | LOG_INFO, "Complite proccessing message from %s", priv->from );
+    syslog( LOG_MAIL | LOG_INFO, "Complete processing message from %s", priv->from );
     free_private_data( priv );
     if( set_private_data( context, NULL ) != MI_SUCCESS )
     {
