Browse code

Various updates to clamav-milter

git-svn-id: file:///var/lib/svn/clamav-devel/trunk/clamav-devel@530 77e5149b-7576-45b1-b177-96237e5ba77b

Nigel Horne authored on 2004/04/28 23:31:50
Showing 1 changed files
... ...
@@ -1,3 +1,16 @@
1
+Wed Apr 28 15:29:29 BST 2004 (njh)
2
+----------------------------------
3
+  * clamav-milter:	Better quarantine message error report when failing
4
+				to create the temporary file
5
+			Send 554 after DATA received, not 550
6
+			Don't send rejection notices to rejection notices, we
7
+				just end up playing ping-pong (patch by "Andrey
8
+				J.Melnikoff (TEMHOTA)" <temnota@kmv.ru>
9
+			If CL_DEBUG is defined, don't redirect stdout/stderr
10
+			Don't attempt to return an old signature if no
11
+				filename has been given. There has never been
12
+				one to return
13
+
1 14
 Wed Apr 28 01:33:10 CEST 2004 (tk)
2 15
 ----------------------------------
3 16
   * libclamav: detect more mail file types
... ...
@@ -25,7 +38,7 @@ Sun Apr 25 13:58:35 BST 2004 (njh)
25 25
 Fri Apr 23 11:48:07 BST 2004 (njh)
26 26
 ----------------------------------
27 27
  * libclamav/mbox.c:	If an inline text portion has been given a filename,
28
- 	treat the disposition type as attachment not inline. Some
28
+	treat the disposition type as attachment not inline. Some
29 29
 	Worm.BadTrans.B1 need this.
30 30
 
31 31
 Fri Apr 23 10:14:00 BST 2004 (njh)
... ...
@@ -51,7 +64,7 @@ Thu Apr 22 17:48:49 BST 2004 (njh)
51 51
 Wed Apr 21 16:28:49 BST 2004 (njh)
52 52
 ----------------------------------
53 53
  * clamav-milter: If /dev/console fails to open, open /dev/null instead on fds 1
54
- 			and 2
54
+			and 2
55 55
 		TCP_WRAPPERS code now uses inet_ntop()
56 56
 		Simplify virus string
57 57
 		Sort out tabs in the hard coded e-mail message
... ...
@@ -73,7 +86,7 @@ Wed Apr 21 00:27:18 CEST 2004 (tk)
73 73
 Tue Apr 20 15:18:58 BST 2004 (njh)
74 74
 ----------------------------------
75 75
   * clamav-milter:	Handle hostaddr == NULL
76
-  	Added X-Virus-Scanned
76
+	Added X-Virus-Scanned
77 77
 	Consistent handling of X-Virus-Status
78 78
 
79 79
 Tue Apr 20 09:13:46 BST 2004 (njh)
... ...
@@ -85,7 +98,7 @@ Tue Apr 20 09:13:46 BST 2004 (njh)
85 85
 Mon Apr 19 23:11:48 BST 2004 (njh)
86 86
 ----------------------------------
87 87
   * clamav-milter: Added --from
88
-  	Return SMFIS_TEMPFAIL on some out of memory errors (some still to do),
88
+	Return SMFIS_TEMPFAIL on some out of memory errors (some still to do),
89 89
 		based on an idea by Joe Maimon <jmaimon*ttec.com>
90 90
 	Quarantine messages now sorted by date, based on an idea by Christian
91 91
 		Pelissier <Christian.Pelissier*onera.fr>.
... ...
@@ -96,7 +109,7 @@ Mon Apr 19 23:11:48 BST 2004 (njh)
96 96
 Mon Apr 19 14:33:35 BST 2004 (njh)
97 97
 ----------------------------------
98 98
   * clamav-milter:	Started work on handling user defined templates
99
-  	for the e-mail sent. For now very little is handled, though %v
99
+	for the e-mail sent. For now very little is handled, though %v
100 100
 	is replaced with the message from clamd
101 101
 
102 102
 Mon Apr 19 13:39:23 BST 2004 (trog)
... ...
@@ -107,12 +120,12 @@ Mon Apr 19 13:39:23 BST 2004 (trog)
107 107
 Sat Apr 17 21:40:19 BST 2004 (njh)
108 108
 ----------------------------------
109 109
   * clamav-milter:	Include the virus name in the 550 rejection if
110
-  	appropriate
110
+	appropriate
111 111
 
112 112
 Sat Apr 17 15:19:41 BST 2004 (njh)
113 113
 ----------------------------------
114 114
   * libclamav/blob.c:	Filenames with high byte characters were not
115
-  	being scanned on MACOS/X
115
+	being scanned on MACOS/X
116 116
 
117 117
 Sat Apr 17 00:19:08 CEST 2004 (tk)
118 118
 ----------------------------------
... ...
@@ -233,7 +246,7 @@ Mon Apr  5 13:19:02 BST 2004 (njh)
233 233
 Mon Apr  5 10:47:43 BST 2004 (njh)
234 234
 ----------------------------------
235 235
   * libclamav/mbox.c:	Added SAVE_TO_DISC #define which, when activated,
236
-  	scans embedded RFC822 messages from disc rather than in memory. It
236
+	scans embedded RFC822 messages from disc rather than in memory. It
237 237
 	is recommended that this option is always enabled unless ClamAV is
238 238
 	to be installed on a system where many nested levels of RFC822 messages
239 239
 	cannot occur
... ...
@@ -259,7 +272,7 @@ Thu Apr  1 16:46:22 BST 2004 (njh)
259 259
 ----------------------------------
260 260
   * libclamav:	Stop gracefully if messageAddLine() fails
261 261
   * clamav-milter:	ThreadTimeout has been replaced by ReadTimeout -
262
-  	clamav-milter now supports this
262
+	clamav-milter now supports this
263 263
 
264 264
 Thu Apr  1 11:37:25 BST 2004 (trog)
265 265
 -----------------------------------
... ...
@@ -378,7 +391,7 @@ Thu Mar 25 12:20:05 CET 2004 (tk)
378 378
 Wed Mar 24 09:19:12 GMT 2004 (njh)
379 379
 ----------------------------------
380 380
   * libclamav/blob.c:	Reduce the number of calls to cli_realloc, since realloc
381
-  	seems to be very slow on FreeBSD
381
+	seems to be very slow on FreeBSD
382 382
 
383 383
 Tue Mar 23 15:39:09 GMT 2004 (trog)
384 384
 -----------------------------------
... ...
@@ -392,7 +405,7 @@ Tue Mar 23 11:09:30 GMT 2004 (njh)
392 392
 Tue Mar 23 09:26:18 GMT 2004 (njh)
393 393
 ----------------------------------
394 394
   * docs/man/clamav-milter.8:	Document the default value for --server, and
395
-  	clamav-milter's load balancing/fault tolerance capabilities
395
+	clamav-milter's load balancing/fault tolerance capabilities
396 396
 
397 397
 Mon Mar 22 21:30:24 CET 2004 (tk)
398 398
 ---------------------------------
... ...
@@ -410,7 +423,7 @@ Sun Mar 21 17:30:22 GMT 2004 (njh)
410 410
 Sun Mar 21 09:51:45 GMT 2004 (njh)
411 411
 ----------------------------------
412 412
   * libclamav:	Faster scanning for non MIME messages, only scan the message
413
-  	once for binhex, uuencode, bounces etc.
413
+	once for binhex, uuencode, bounces etc.
414 414
 
415 415
 Sat Mar 20 19:37:11 GMT 2004 (njh)
416 416
 ----------------------------------
... ...
@@ -419,7 +432,7 @@ Sat Mar 20 19:37:11 GMT 2004 (njh)
419 419
 Sat Mar 20 17:49:43 GMT 2004 (njh)
420 420
 ----------------------------------
421 421
   * libclamav:	More flexable approach to scanning bounce messages within
422
-  	emails means more bounces are caught but at the expense of some
422
+	emails means more bounces are caught but at the expense of some
423 423
 	duplication of code for now
424 424
 
425 425
 Sat Mar 20 15:53:10 CET 2004 (tk)
... ...
@@ -450,7 +463,7 @@ Fri Mar 19 21:42:51 CET 2004 (tk)
450 450
 Fri Mar 19 17:48:31 GMT 2004 (njh)
451 451
 ----------------------------------
452 452
   * libclamav/message.c:	Handle "binary encoding" (whatever that is :-)
453
-  	the same as no encoding
453
+	the same as no encoding
454 454
 
455 455
 Fri Mar 19 15:50:47 GMT 2004 (njh)
456 456
 ----------------------------------
... ...
@@ -464,9 +477,9 @@ Fri Mar 19 16:00:51 CET 2004 (tk)
464 464
 Fri Mar 19 08:18:24 GMT 2004 (njh)
465 465
 ----------------------------------
466 466
   * libclamav/mbox.c:	If an RFC822 message is found as part of a multipart
467
-  	message and that message has no encoding, don't save for scanning
467
+	message and that message has no encoding, don't save for scanning
468 468
   * libclamav/message.c:	Handle content encoding of '8 bit' as well
469
-  	as the more correct '8bit'
469
+	as the more correct '8bit'
470 470
 
471 471
 Thu Mar 18 22:01:39 GMT 2004 (njh)
472 472
 ----------------------------------
... ...
@@ -494,7 +507,7 @@ Wed Mar 17 19:48:56 GMT 2004 (njh)
494 494
   * clamav-milter: upissued history to 0.70
495 495
   * libclamav/message.c: Handle spaces before the disposition type
496 496
   * libclamav/mbox.c:	Added some speed ups and reduced memory usage when
497
-  		scanning embedded RFC822 messages
497
+		scanning embedded RFC822 messages
498 498
 
499 499
 Wed Mar 17 15:06:44 GMT 2004 (trog)
500 500
 -----------------------------------
... ...
@@ -561,7 +574,7 @@ Thu Mar 11 00:16:11 CET 2004 (tk)
561 561
 Wed Mar 10 22:14:45 GMT 2004 (njh)
562 562
 ----------------------------------
563 563
   * libclamav/mbox.c:	Fixed segfault which happens when a UNIX mailbox
564
-  	with more than one message quits because a message before the last
564
+	with more than one message quits because a message before the last
565 565
 	one can't be parsed
566 566
 
567 567
 Wed Mar 10 20:51:54 CET 2004 (tk)
... ...
@@ -584,14 +597,14 @@ Wed Mar 10 12:58:55 GMT 2004 (trog)
584 584
 Wed Mar 10 11:40:14 GMT 2004 (njh)
585 585
 ----------------------------------
586 586
   * clamav-milter:	Use new HAVE_STRERROR_R rather than TARGET_OS_SOLARIS
587
- 			to determine if strerror_r exists
587
+			to determine if strerror_r exists
588 588
 			Thanks to Phil Oleson <oz*nixil.net>.
589 589
   * docs/man:		Corrected documentation of --postmaster-only flag.
590 590
 
591 591
 Wed Mar 10 05:43:34 GMT 2004 (njh)
592 592
 ----------------------------------
593 593
   * libclamav/message.c:	Implemented a couple of small speed ups:
594
-  	1) Only save arguments that we're going to retrieve
594
+	1) Only save arguments that we're going to retrieve
595 595
 	2) No need to store \n in messageToText fast copy mode, which allows
596 596
 		an sprintf to be removed (Dirk Mueller <dmuell*gmx.net>)
597 597
 
... ...
@@ -758,7 +771,7 @@ Fri Feb 27 09:30:20 GMT 2004 (njh)
758 758
 Thu Feb 26 22:22:43 CET 2004 (tl)
759 759
 ---------------------------------
760 760
   * freshclam:	cleaner and descriptive error messages for
761
-  		daemon notification failures
761
+		daemon notification failures
762 762
 
763 763
 Thu Feb 26 16:22:59 CET 2004 (tk)
764 764
 ---------------------------------
... ...
@@ -820,12 +833,12 @@ Mon Feb 23 00:43:44 CET 2004 (tk)
820 820
 Sun Feb 22 22:59:39 GMT 2004 (njh)
821 821
 ----------------------------------
822 822
   * clamav-milter: Change the log level TCPwrapper denying
823
- 			Handle ERROR message from clamd
824
- 			Moved smfi_setconn to avoid race condictions when
825
- 			an e-mail is received just as the milter is starting
826
- 			but isn't ready to handle it causing the milter to
827
- 			go to an error state
828
- 			Hardend umask
823
+			Handle ERROR message from clamd
824
+			Moved smfi_setconn to avoid race condictions when
825
+			an e-mail is received just as the milter is starting
826
+			but isn't ready to handle it causing the milter to
827
+			go to an error state
828
+			Hardend umask
829 829
 
830 830
 Sun Feb 22 17:34:08 GMT 2004 (njh)
831 831
 ----------------------------------
... ...
@@ -857,7 +870,7 @@ Fri Feb 20 23:21:42 CET 2004 (tk)
857 857
 Fri Feb 20 17:13:10 GMT 2004 (njh)
858 858
 ----------------------------------
859 859
   * clamav-milter:	If clamd is on the local machine and PidFile is defined
860
-  		check if clamd is dead when send() fails
860
+		check if clamd is dead when send() fails
861 861
   * libclamav:		Added a new bounce delimeter
862 862
 
863 863
 Fri Feb 20 16:49:05 CET 2004 (tk)
... ...
@@ -906,7 +919,7 @@ Wed Feb 18 10:12:54 GMT 2004 (njh)
906 906
   * libclamav:	Found some occurances of Yaha
907 907
 	Added debug of number of lines in (encoded) attachment
908 908
   * clamav-milter:	clamav-milter now builds on freeBSD 5.2 (wrong logic
909
-  		in including malloc.h)
909
+		in including malloc.h)
910 910
 	clamav-milter no longer allows --force to override TCPwrappers
911 911
 
912 912
 Wed Feb 18 04:09:56 CET 2004 (tk)
... ...
@@ -924,7 +937,7 @@ Tue Feb 17 20:49:23 GMT 2004 (njh)
924 924
 ----------------------------------
925 925
   * libclamav: Added a new bounce delimeter
926 926
   * test:	Updated mbox/debugm.c compilation instructions
927
-  		removed SIGINT signal handler
927
+		removed SIGINT signal handler
928 928
 
929 929
 Tue Feb 17 17:09:24 GMT 2004 (trog)
930 930
 -----------------------------------
... ...
@@ -947,13 +960,13 @@ Mon Feb 16 14:19:42 CET 2004 (tk)
947 947
 Mon Feb 16 12:00:06 GMT 2004 (njh)
948 948
 ----------------------------------
949 949
   * clamav-milter:	Added clamfi_free, this helps to ease the task
950
-  		of writing cleanups for unexpected errors
950
+		of writing cleanups for unexpected errors
951 951
 
952 952
 Mon Feb 16 09:44:34 GMT 2004 (njh)
953 953
 ----------------------------------
954 954
   * clamav-milter:	Upissued to 0.67
955 955
   * docs:		Documented support for TCPWrappers in clamav-milter
956
-  		This is experimental - feedback welcomed
956
+		This is experimental - feedback welcomed
957 957
 
958 958
 Sun Feb 15 14:10:19 CET 2004 (tk)
959 959
 ---------------------------------
... ...
@@ -1046,7 +1059,7 @@ Tue Feb 10 17:05:31 GMT 2004 (njh)
1046 1046
 Tue Feb 10 14:38:35 GMT 2004 (njh)
1047 1047
 ----------------------------------
1048 1048
   * contrib:	Removed mfc30d.dll. It can now be downloaded (if needed)
1049
-  	from http://www.clamav.net/w32/mfc30d.zip
1049
+	from http://www.clamav.net/w32/mfc30d.zip
1050 1050
 
1051 1051
 Tue Feb 10 14:35:07 CET 2004 (tk)
1052 1052
 ---------------------------------
... ...
@@ -1059,7 +1072,7 @@ Tue Feb 10 10:38:08 GMT 2004 (trog)
1059 1059
 Tue Feb 10 10:21:02 GMT 2004 (njh)
1060 1060
 ----------------------------------
1061 1061
   * contrib:	The Windows client now recovers better from errors during
1062
-  	scanning
1062
+	scanning
1063 1063
 
1064 1064
 Mon Feb  9 17:46:29 GMT 2004 (njh)
1065 1065
 ----------------------------------
... ...
@@ -1099,7 +1112,7 @@ Sat Feb  7 23:18:51 GMT 2004 (njh)
1099 1099
   * libclamav: Handle empty content-type subtypes, e.g. headers such as
1100 1100
 		Content-Type: text/
1101 1101
 		Noted by Stefan Kaltenbrunner <mm-mailinglist*madness.at>
1102
-  		
1102
+ 
1103 1103
 Sat Feb  7 23:37:52 CET 2004 (tk)
1104 1104
 ---------------------------------
1105 1105
   * libclamav: scan "Return-path: " mail files (detection was broken due to
... ...
@@ -1135,7 +1148,7 @@ Thu Feb  5 13:49:24 GMT 2004 (njh)
1135 1135
 Thu Feb  5 11:25:56 GMT 2004 (njh)
1136 1136
 ----------------------------------
1137 1137
   * libclamav:	Bounce delimeters were found by a list of strcasecmps,
1138
-  			now handled in a table which means it's easier to
1138
+			now handled in a table which means it's easier to
1139 1139
 			add new examples as they are found
1140 1140
 
1141 1141
 Wed Feb  4 16:33:08 GMT 2004 (trog)
... ...
@@ -1156,7 +1169,7 @@ Tue Feb  3 22:58:10 GMT 2004 (njh)
1156 1156
 Tue Feb  3 14:38:04 GMT 2004 (njh)
1157 1157
 ----------------------------------
1158 1158
   * libclamav:	Speeded up binhex decoding using table look up
1159
-  		Fixed possible infinite loop when decoding compressed binhex
1159
+		Fixed possible infinite loop when decoding compressed binhex
1160 1160
 		Both fixes thanks to Thomas Lamy <Thomas.Lamy*in-online.net>
1161 1161
 
1162 1162
 Tue Feb  3 02:31:55 CET 2004 (tk)
... ...
@@ -1173,13 +1186,13 @@ Tue Feb  3 02:31:55 CET 2004 (tk)
1173 1173
 Mon Feb  2 17:12:25 GMT 2004 (njh)
1174 1174
 ----------------------------------
1175 1175
   * libclamav:	Scan a rare form of bounce message identified by
1176
-  	Denis De Messemacker <ddm*e-labs.org>
1176
+	Denis De Messemacker <ddm*e-labs.org>
1177 1177
 
1178 1178
 Mon Feb  2 13:46:51 GMT 2004 (njh)
1179 1179
 ----------------------------------
1180 1180
   * libclamav:	   Carefully crafted binhex messages could have caused a crash
1181 1181
   * clamav-milter: Include the ID of the message when warnings are sent to
1182
-  	postmaster-only
1182
+	postmaster-only
1183 1183
 
1184 1184
 Mon Feb  2 12:43:55 GMT 2004 (trog)
1185 1185
 -----------------------------------
... ...
@@ -1195,7 +1208,7 @@ Mon Feb  2 09:55:12 GMT 2004 (njh)
1195 1195
 Mon Feb  2 08:28:41 GMT 2004 (njh)
1196 1196
 ----------------------------------
1197 1197
   * contrib: added CLI to the Windows client to allow integration with
1198
-  	download managers, or scheduled scanning of an entire disc
1198
+	download managers, or scheduled scanning of an entire disc
1199 1199
 
1200 1200
 Sun Feb  1 17:50:30 CET 2004 (tk)
1201 1201
 ---------------------------------
... ...
@@ -1221,13 +1234,13 @@ Sun Feb  1 02:12:50 CET 2004 (tk)
1221 1221
 	     + -l (short option for --list-sigs)
1222 1222
   * freshclam: reply to -h before parsing a config file (patch by Dustin Mollo
1223 1223
 	       <dustin.mollo*sonoma.edu>)
1224
-  * configure: + check for __attribute__((packed)) (Trog) 
1224
+  * configure: + check for __attribute__((packed)) (Trog)
1225 1225
 	       + use --disable-cr on OpenBSD 3.3 automatically (thanks to Nigel)
1226 1226
 
1227 1227
 Fri Jan 30 12:45:10 GMT 2004 (njh)
1228 1228
 ----------------------------------
1229 1229
   * contrib:	   Recursive scan into folders by the Windows client is now
1230
-  		optional (File->Options). Default=TRUE
1230
+		optional (File->Options). Default=TRUE
1231 1231
 
1232 1232
 Thu Jan 29 12:54:08 GMT 2004 (njh)
1233 1233
 ----------------------------------
... ...
@@ -1242,13 +1255,13 @@ Thu Jan 29 10:29:02 GMT 2004 (trog)
1242 1242
 Wed Jan 28 15:57:44 GMT 2004 (njh)
1243 1243
 ----------------------------------
1244 1244
   * clamav-milter: Fixed compilation error with --enable-debug
1245
-  		Thanks to "Serhiy V. Matveyev" <matveyev*uatele.com> for
1245
+		Thanks to "Serhiy V. Matveyev" <matveyev*uatele.com> for
1246 1246
 		pointing this out to me
1247 1247
 
1248 1248
 Wed Jan 28 10:16:49 GMT 2004 (njh)
1249 1249
 ----------------------------------
1250 1250
   * libclamav:	Added support to scan some bounce messages
1251
-  		Thanks to Jay <sysop-clamav*coronastreet.net> for
1251
+		Thanks to Jay <sysop-clamav*coronastreet.net> for
1252 1252
 		letting me bounce ideas off him
1253 1253
 
1254 1254
 Tue Jan 27 22:36:31 CET 2004 (tk)
... ...
@@ -2384,7 +2397,7 @@ Wed Mar 12 02:56:57 CET 2003
2384 2384
 ----------------------------
2385 2385
   * libclamav: fixed buffer overflow in unrarlib (patch by Robbert Kouprie
2386 2386
 	       <robbert*exx.nl>)
2387
-  * clamav-milter: 
2387
+  * clamav-milter:
2388 2388
 	+ v 0.3 (Nigel)
2389 2389
 	+ --enable-milter must be enabled with ./configure
2390 2390
   * clamscan:
... ...
@@ -2428,7 +2441,7 @@ Mon Feb 17 03:20:27 CET 2003
2428 2428
 
2429 2429
 Thu Jan 23 23:51:58 CET 2003
2430 2430
 ----------------------------
2431
-  * clamd: 
2431
+  * clamd:
2432 2432
 	+ fixed segfault with extra space between option and argument
2433 2433
 	  in config file (Magnus Ekdahl <magnus*debian.org>)
2434 2434
 	+ additional protection - timeouts for infinite (wait) loops
... ...
@@ -2454,7 +2467,7 @@ Thu Jan  9 01:06:35 CET 2003
2454 2454
 Tue Dec 31 13:25:27 CET 2002
2455 2455
 ----------------------------
2456 2456
   * mboxscan update from Nigel
2457
-  * clamscan: archive limits (for libclamav) enabled by default: 
2457
+  * clamscan: archive limits (for libclamav) enabled by default:
2458 2458
 	      max-files = 500, max-size = 10M, max-recursion = 5. They
2459 2459
 	      might be disabled (with value of 0) or changed from a command
2460 2460
 	      line.
... ...
@@ -2755,7 +2768,7 @@ Sun Sep 15 17:22:01 CEST 2002
2755 2755
 
2756 2756
 Sun Sep 15 02:18:58 CEST 2002
2757 2757
 -----------------------------
2758
-  * clamscan: 
2758
+  * clamscan:
2759 2759
     * applied patch for including and excluding multiple
2760 2760
       patterns (by Alejandro Dubrovsky <s328940*student.uq.edu.au>);
2761 2761
     * applied patch for processing all files/directories from argument list