Browse code

Added config.h

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

Nigel Horne authored on 2004/02/07 21:18:48
Showing 3 changed files
... ...
@@ -1,3 +1,8 @@
1
+Sat Feb  7 12:19:37 GMT 2004 (njh)
2
+----------------------------------
3
+  * clamav-milter:	URL updated
4
+	Fixed compilation error created by new clamav-config.h mechanism
5
+
1 6
 Sat Feb  7 13:00:20 CET 2004 (tk)
2 7
 ---------------------------------
3 8
   * libclamav: fixed compilation error (reported by Nigel)
... ...
@@ -218,6 +218,8 @@ Changes
218 218
 		will help the administrator when sifting through the
219 219
 		mail logs. Based on an idea by Jim Allen,
220 220
 		<Jim.Allen@Heartsine.co.uk>
221
+0.66l	7/2/04	Updated URL reference
222
+ 		Added new config.h mechanism
221 223
 
222 224
 BUG REPORTS
223 225
 
... ...
@@ -221,9 +221,14 @@
221 221
  *			will help the administrator when sifting through the
222 222
  *			mail logs. Based on an idea by Jim Allen,
223 223
  *			<Jim.Allen@Heartsine.co.uk>
224
+ *	0.66l	7/2/04	Updated URL reference
225
+ *			Added new config.h mechanism
224 226
  *
225 227
  * Change History:
226 228
  * $Log: clamav-milter.c,v $
229
+ * Revision 1.43  2004/02/07 12:16:20  nigelhorne
230
+ * Added config.h
231
+ *
227 232
  * Revision 1.42  2004/02/02 13:44:31  nigelhorne
228 233
  * Include the ID of the message when warnings are sent to the postmaster-only
229 234
  *
... ...
@@ -335,12 +340,16 @@
335 335
  * Revision 1.6  2003/09/28 16:37:23  nigelhorne
336 336
  * Added -f flag use MaxThreads if --max-children not set
337 337
  */
338
-static	char	const	rcsid[] = "$Id: clamav-milter.c,v 1.42 2004/02/02 13:44:31 nigelhorne Exp $";
338
+static	char	const	rcsid[] = "$Id: clamav-milter.c,v 1.43 2004/02/07 12:16:20 nigelhorne Exp $";
339 339
 
340
-#define	CM_VERSION	"0.66k"
340
+#define	CM_VERSION	"0.66l"
341 341
 
342 342
 /*#define	CONFDIR	"/usr/local/etc"*/
343 343
 
344
+#if HAVE_CONFIG_H
345
+#include "clamav-config.h"
346
+#endif
347
+
344 348
 #include "defaults.h"
345 349
 #include "cfgfile.h"
346 350
 #include "../target.h"
... ...
@@ -400,6 +409,10 @@ static	char	const	rcsid[] = "$Id: clamav-milter.c,v 1.42 2004/02/02 13:44:31 nig
400 400
  * TODO: bounce message should optionally be read from a file
401 401
  * TODO: Support ThreadTimeout, LogTime and Logfile from the conf
402 402
  *	 file
403
+ * TODO: Warn if TCPAddr doesn't allow connection from us
404
+ * TODO: Decide action (bounce, discard, reject etc.) based on the virus
405
+ *	found. Those with faked addresses, such as SCO.A want discarding,
406
+ *	others could be bounced properly.
403 407
  */
404 408
 
405 409
 /*
... ...
@@ -1936,7 +1949,7 @@ clamfi_eom(SMFICTX *ctx)
1936 1936
 		else
1937 1937
 			rc = SMFIS_DISCARD;
1938 1938
 
1939
-		smfi_setreply(ctx, "550", "5.7.1", "Virus detected by ClamAV - http://clamav.elektrapro.com");
1939
+		smfi_setreply(ctx, "550", "5.7.1", "Virus detected by ClamAV - http://www.clamav.net");
1940 1940
 	}
1941 1941
 	clamfi_cleanup(ctx);
1942 1942