OSSP CVS Repository

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

Check-in Number: 229
Date: 2000-Dec-14 17:03:15 (local)
2000-Dec-14 16:03:15 (UTC)
User:simons
Branch:
Comment: Removed the global configuration options "DetachImmediately" and "ShowStatistics". Consequently removed all code that deals with these options, too.
Tickets:
Inspections:
Files:
ossp-pkg/petidomo/config.c      1.3 -> 1.4     1 inserted, 6 deleted
ossp-pkg/petidomo/config/petidomo.conf      1.1 -> 1.2     1 inserted, 43 deleted

ossp-pkg/petidomo/config.c 1.3 -> 1.4

--- config.c     2000/12/15 15:48:00     1.3
+++ config.c     2000/12/15 16:03:15     1.4
@@ -1,6 +1,6 @@
 /*
    $Source: /v/ossp/cvs/ossp-pkg/petidomo/Attic/config.c,v $
-   $Revision: 1.3 $
+   $Revision: 1.4 $
 
    Copyright (C) 2000 by CyberSolutions GmbH, Germany.
 
@@ -37,7 +37,6 @@
 static char *             mta = "/usr/sbin/sendmail";
 static char *             mta_options = "-i -f%s";
 static bool               detach = FALSE;
-static bool               show_stats = TRUE;
 
 int
 InitPetidomo(void)
@@ -53,8 +52,6 @@
         { "AdminPassword", CF_STRING, &master_password },
         { "MTA", CF_STRING, &mta },
         { "MTA_Options", CF_STRING, &mta_options },
-        { "DetachImmediately", CF_YES_NO, &detach },
-        { "ShowStatistics", CF_YES_NO, &show_stats },
         { NULL, 0, NULL}
     };
 
@@ -120,8 +117,6 @@
     MasterConfig->master_password = master_password;
     MasterConfig->mta = mta;
     MasterConfig->mta_options = mta_options;
-    MasterConfig->detach = detach;
-    MasterConfig->show_stats = show_stats;
 
     return 0;
 }


ossp-pkg/petidomo/config/petidomo.conf 1.1 -> 1.2

--- petidomo.conf        2000/12/13 13:19:05     1.1
+++ petidomo.conf        2000/12/15 16:03:15     1.2
@@ -1,7 +1,7 @@
 #
 # ~petidomo/etc/petidomo.conf
 #
-# $Header: /v/ossp/cvs/ossp-pkg/petidomo/config/petidomo.conf,v 1.1 2000/12/13 13:19:05 simons Exp $
+# $Header: /v/ossp/cvs/ossp-pkg/petidomo/config/petidomo.conf,v 1.2 2000/12/15 16:03:15 simons Exp $
 #
 
 #  TAG: Hostname <string>
@@ -61,45 +61,3 @@
 #
 #       The default, if the option is unset, is the string '-f%s'.
 #MTA_Options    "-odq -f%s"
-
-#  TAG: DetachImmediately <yes|no>
-#       This option decides whether Petidomo will run in syncronous or
-#       asyncronous mode. When a part of the package is called, it expects
-#       an incoming email message on standard input, which has usually been
-#       received by the SMTP daemon before. So the daemon will pipe the mail
-#       into the binary.
-#
-#       In syncronous mode, Petidomo will process the mail completely,
-#       before it terminates. Hence, the SMTP daemon has to wait until the
-#       whole mail is processed, before it can terminate itself. This may
-#       cause memory problems at high-load servers, where several dozen, or
-#       even hundreds of emails can arrive at the same time.
-#
-#       In asyncronous mode, Petidomo will read the mail and then detach
-#       itself. The advantage is that the SMTP daemon can terminate
-#       immediately and doesn't have to wait until Petidomo is finished
-#       processing the mail. The disadvantage is that in case of an error,
-#       the SMTP daemon will not receive the return code from Petidomo. For
-#       smaller servers, syncronous mode is recommended -- larger servers
-#       should use asyncronous mode.
-#
-#       Please specify "no" to run in syncronous mode and "yes" for
-#       asyncronous mode.
-#
-#       The default, if the option is unset, is to operate syncronously.
-#DetachImmediately      no
-
-#  TAG: ShowStatistics <yes|no>
-#       Petidomo appends some run-time statistics at the end of every
-#       reply to a command it processed, such as SUBSCRIBE or INDEX.
-#       While this is often interesting or useful, some administrators
-#       prefer Petidomo not to reveal any details of their
-#       installation.
-#
-#       In this case, setting this switch to "no" will tell Petidomo
-#       to be quiet. Please note that this switch is ignored in the
-#       non-commercial trial version.
-#
-#       The default, if the option is unset, is to append the run-time
-#       statistics.
-#ShowStatistics         no

CVSTrac 2.0.1