Wrap long line in virus detection mail message

This commit is contained in:
Andrey A. Chernov 2001-10-03 19:11:53 +00:00
parent 8c29de197a
commit 721417c37e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=48412
2 changed files with 23 additions and 3 deletions

View File

@ -7,7 +7,7 @@
PORTNAME= drweb_sendmail
PORTVERSION= 4.26
PORTREVISION= 4
PORTREVISION= 5
CATEGORIES= security mail
MASTER_SITES= http://www.drweb.ru/ftp/web_pub/
DISTNAME= drwebd-${PORTVERSION}-freebsd4

View File

@ -1,5 +1,5 @@
--- dw_filter.c.orig Thu Sep 27 01:00:46 2001
+++ dw_filter.c Wed Oct 3 11:56:41 2001
+++ dw_filter.c Wed Oct 3 23:05:43 2001
@@ -606,7 +606,7 @@
}
else
@ -18,7 +18,27 @@
priv->fname_tmp = strdup( ShareTemplate );
if( !priv->fname_tmp )
{
@@ -983,7 +983,7 @@
@@ -906,7 +906,8 @@
if( plog )
{
len = snprintf( NotifyMsg, sizeof(NotifyMsg),
- "Message sent from %s infected by virus and has not been delivered.\r\n"
+ "Message sent from %s\r\n"
+ "infected by virus and has not been delivered.\r\n"
"Diagnostic:\r\n%s\r\n"
"Original message was stored in the archive.\r\n"
"Archive record: %s\r\n"
@@ -917,7 +918,8 @@
else
{
len = snprintf( NotifyMsg, sizeof(NotifyMsg),
- "Message sent from %s infected by virus and has not been delivered.\r\n"
+ "Message sent from %s\r\n"
+ "infected by virus and has not been delivered.\r\n"
"Original message was stored in the archive.\r\n"
"Archive record: %s\r\n"
"To receive original message please contact postmaster:\r\n%s\r\n\r\n"
@@ -983,7 +985,7 @@
}
else
{