OSSP CVS Repository

ossp - Check-in [3108]
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Patchset]  [Tagging/Branching

Check-in Number: 3108
Date: 2003-Jan-30 14:41:50 (local)
2003-Jan-30 13:41:50 (UTC)
User:thl
Branch:
Comment: update documentation
Tickets:
Inspections:
Files:
ossp-pkg/lmtp2nntp/lmtp2nntp.pod      1.37 -> 1.38     13 inserted, 9 deleted

ossp-pkg/lmtp2nntp/lmtp2nntp.pod 1.37 -> 1.38

--- lmtp2nntp.pod        2002/04/18 13:31:27     1.37
+++ lmtp2nntp.pod        2003/01/30 13:41:50     1.38
@@ -202,26 +202,26 @@
 
 Functional diagram:
 
-    for each rule
+    foreach rule
         if rule has regex
-            for each header
+            foreach header
                 if regex matches
                     create new header
-                    expanding regex references into header name
+                    expand regex references into headername
                     if headername is empty
                         delete header
                     if headervalue is empty
                         delete header
-                    expanding regex references into header value
-                    expanding variables into header value
+                    expand regex references into headervalue
+                    expand variables into headervalue
                     if headervalue is empty
                         delete header
-                    replace existing header //FIXME text above
-        else
+                    replace existing header
+        else (= rule has no regex)
             create new header
             if headervalue is empty
                 delete header
-            expanding variables into header value
+            expand variables into headervalue
             replace existing or append new header
 
 Further reading:
@@ -236,7 +236,11 @@
 this yields the first element. Other elements can be accessed through
 '${option.I<optionname>[I<index>]}'. All headers can be accessed through
 '${msg.header.I<headername>}' and again, indexes are supported for
-multivalued headers.  FIXME functions
+multivalued headers.
+
+Inside variables, functions can be access through '%functionname'.
+Currently, only %createmessageid is available which creates a value
+properly suitable for a Message-ID: header.
 
 =item B<--include|-i> I<configfile>
 

CVSTrac 2.0.1