OSSP CVS Repository

ossp - Difference in ossp-pkg/lmtp2nntp/example.conf versions 1.4 and 1.5
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/lmtp2nntp/example.conf 1.4 -> 1.5

--- example.conf 2002/01/14 12:23:21     1.4
+++ example.conf 2002/01/23 14:12:52     1.5
@@ -3,61 +3,48 @@
 # LMTP2NNTP example.conf
 # 
 
-#   include         "sampleconfig.two"              #    -i aka --include
-
-<daemon>
-    childsmax       10                              #see -C aka --childsmax
-    daemonize       yes                             #see -D aka --daemonize
-                                                    #    -K aka --kill is not available in the configfile
-    pidfile         /tmp/pid                        #see -P aka --pidfile
-    acl             10/8                            #see -a aka --acl
-    acl             172.16/12
-    acl             192.168/16
-    acl             127.0.0.1/32     
-    bind            127.0.0.1:12345                 #see -b aka --bind, use IPv4:port
-    #bind           /tmp/uds:600                    #    UNIX domain socket path:permissions 
-</daemon>
-
-<server> #LMTP
-    timeoutaccept   0                               #see -t aka --timeout
-    timeoutread     10 
-    timeoutwrite    10 
-    size            555000                          #see -s aka --size
-    mailfrom        any.*@example\.org              #see -m aka --mailfrom
-    nodename        gateway.example.com             #see -n aka --nodename
-</server>
-
-<client> #NNTP, multiple sections allowed
-    client          127.0.0.2                       #see -c aka --client
-    destination     news.example.com                #see -d aka --destination
-    operationmode   post                            #see -o aka --operationmode
-    timeoutconnect  360 
-    timeoutread     60 
-    timeoutwrite    60 
-</client>
-
-<gateway> #main and globals
-    groupmode       envelope                        #see -g aka --groupmode
-
-                                                    #    -l is obsolete since v1.2, see l2spec
-                                                    #    -V is obsolete since v1.2; remove the "buffer" channel from l2spec
-    l2spec          'prefix(prefix="%%b %%d %%H:%%M:%%S <%%L> lmtp2nntp[%%P]: ",timezone=local) \
-                       -> buffer(size=65536) \
-                       -> file(path=%s,append=1,perm=%d)' \
-                                                    #    -l aka --l2spec
-
-    uid             gate                            #see -u aka --uid
-                                                    #    -v aka --version is not available in the configfile
-    newsgroup       test
-    newsgroup       alt.test                        #see man page for information about newsgroup
-</gateway>
-
-<message>
-    headervalue     X-gateway "lmtp2nntp gateway"   #see -h aka --headervalue
-    restrictheader  "Cc: j\.doe@example\.org"       #see -r aka --restrictheader
-</message>
-
-<server>
-    client          1.2.3.4 #must produce an error
-</server>
+        ### DAEMON ###
 
+childsmax       10                              #see -C aka --childsmax
+daemonize       yes                             #see -D aka --daemonize
+kill            4711                            #see -K aka --kill
+pidfile         "/tmp/pid"                      #see -P aka --pidfile
+veryverbose                                     #see -V aka --veryverbose
+                                                #           obsolete since v1.2
+                                                #           remove the "buffer" channel from l2spec
+acl             10/8                            #see -a aka --acl
+acl             172.16/12
+acl             192.168/16
+acl             127.0.0.1/32     
+bind            127.0.0.1:12345                 #see -b aka --bind, use IPv4:port
+#bind           "/tmp/uds:600"                  #    UNIX domain socket path:permissions 
+
+        ### GATEWAY ###
+
+client          127.0.0.2                       #see -c aka --client
+destination     news.example.com                #see -d aka --destination
+groupmode       envelope                        #see -g aka --groupmode
+headervalue     X-gateway "lmtp2nntp gateway"   #see -h aka --headervalue
+include         "sampleconfig.two"              #    -i aka --include
+                                                #    -l is obsolete since v1.2, see l2spec
+
+l2spec          prefix(prefix="%%b %%d %%H:%%M:%%S <%%L> lmtp2nntp[%%P]: ",timezone=local) \
+                   -> buffer(size=65536) \
+                   -> file(path=%s,append=1,perm=%d) \
+                                                #    -l aka --l2spec
+
+mailfrom        "any.*@example\.org"            #see -m aka --mailfrom
+nodename        "gateway.example.com"           #see -n aka --nodename
+operationmode   post                            #see -o aka --operationmode
+restrictheader  "Cc: j\.doe@example\.org"       #see -r aka --restrictheader
+size            555000                          #see -s aka --size
+timeoutlmtpaccept  0                            #see        --timeoutlmtpaccept
+timeoutlmtpread    10                           #see        --timeoutlmtpread
+timeoutlmtpwrite   10                           #see        --timeoutlmtpwrite
+timeoutnntpconnect 360                          #see        --timeoutnntpconnect
+timeoutnntpread    60                           #see        --timeoutnntpread
+timeoutnntpwrite   60                           #see        --timeoutnntpwrite
+uid             gate                            #see -u aka --uid
+                                                #    -v aka --version is not available in the configfile
+newsgroup       "test"
+newsgroup       "alt.test"                      #see man page for information about newsgroup

CVSTrac 2.0.1