Browse code

documentation update for LogInfected

git-svn: trunk@5042

aCaB authored on 2009/04/16 23:20:29
Showing 3 changed files
... ...
@@ -1,3 +1,9 @@
1
+Thu Apr 16 16:17:23 CEST 2009 (acab)
2
+------------------------------------
3
+ * shared/optparser.c, etc/clamav-milter.conf: document how to make
4
+   macroes available in oem for LogInfected to work properly
5
+   Many thanks to Dick St.Peters <stpeters*netheaven.com>
6
+
1 7
 Tue Apr 15 18:47:22 CEST 2009 (acab)
2 8
 ------------------------------------
3 9
  * clamav-milter: add support for action QuarantineReject (bb#1549)
... ...
@@ -224,6 +224,13 @@ Example
224 224
 # This option allows to tune what is logged when a message is infected.
225 225
 # Possible values are Off (the default - nothing is logged),
226 226
 # Basic (minimal info logged), Full (verbose info logged)
227
+# Note:
228
+# For this to work properly in sendmail, make sure the msg_id, mail_addr,
229
+# rcpt_addr and i macroes are available in eom. In other words add a line like:
230
+# Milter.macros.eom={msg_id}, {mail_addr}, {rcpt_addr}, i
231
+# to your .cf file. Alternatively use the macro:
232
+# define(`confMILTER_MACROS_EOM', `{msg_id}, {mail_addr}, {rcpt_addr}, i')
233
+# Postfix should be working fine with the default settings.
227 234
 #
228 235
 # Default: disabled
229 236
 #LogInfected Basic
... ...
@@ -389,7 +389,7 @@ const struct clam_option clam_options[] = {
389 389
 
390 390
     { "SkipAuthenticated", NULL, 0, TYPE_STRING, NULL, -1, NULL, 0, OPT_MILTER, "Messages from authenticated SMTP users matching this extended POSIX\nregular expression (egrep-like) will not be scanned.\nNote: this is the AUTH login name!", "SkipAuthenticated ^(tom|dick|henry)$" },
391 391
 
392
-    { "LogInfected", NULL, 0, TYPE_STRING, NULL, -1, NULL, 0, OPT_MILTER, "This option allows to tune what is logged when a message is infected.\nPossible values are Off (the default - nothing is logged),\nBasic (minimal info logged), Full (verbose info logged)", "Basic" },
392
+    { "LogInfected", NULL, 0, TYPE_STRING, NULL, -1, NULL, 0, OPT_MILTER, "This option allows to tune what is logged when a message is infected.\nPossible values are Off (the default - nothing is logged),\nBasic (minimal info logged), Full (verbose info logged)\nNote:\nFor this to work properly in sendmail, make sure the msg_id, mail_addr,\nrcpt_addr and i macroes are available in eom. In other words add a line like:\nMilter.macros.eom={msg_id}, {mail_addr}, {rcpt_addr}, i\nto your .cf file. Alternatively use the macro:\ndefine(`confMILTER_MACROS_EOM', `{msg_id}, {mail_addr}, {rcpt_addr}, i')\nPostfix should be working fine with the default settings.", "Basic" },
393 393
 
394 394
     /* Deprecated milter options */
395 395