aboutsummaryrefslogtreecommitdiff
path: root/security/drweb-sendmail/files
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2001-08-29 20:30:48 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2001-08-29 20:30:48 +0000
commitc334bff8d3b310a298366ca52511c1e22d1c6ebe (patch)
treea22ca22f2a0d82179a502451471bad2c28d1e99f /security/drweb-sendmail/files
parent738534a4c0bc2ed421b1a0620342a388c0f489eb (diff)
downloadports-c334bff8d3b310a298366ca52511c1e22d1c6ebe.tar.gz
ports-c334bff8d3b310a298366ca52511c1e22d1c6ebe.zip
Notes
Diffstat (limited to 'security/drweb-sendmail/files')
-rw-r--r--security/drweb-sendmail/files/patch-ab13
1 files changed, 11 insertions, 2 deletions
diff --git a/security/drweb-sendmail/files/patch-ab b/security/drweb-sendmail/files/patch-ab
index 219193c9bd1a..1e7cf1fd9f43 100644
--- a/security/drweb-sendmail/files/patch-ab
+++ b/security/drweb-sendmail/files/patch-ab
@@ -1,5 +1,14 @@
---- dw_filter.c.bak Mon Jul 30 05:12:02 2001
-+++ dw_filter.c Sat Aug 25 15:27:15 2001
+--- 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 );