summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2001-11-12 13:11:58 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2001-11-12 13:11:58 +0000
commit27f7da99fe6550adce91ab97685f142deea1c153 (patch)
treec26c4451f5ea4b13ad992d8cf9dbbe92e0e97247
parent814b830cdb12753fb7983a2a2a470c33fbb6bd2c (diff)
downloadmailutils-27f7da99fe6550adce91ab97685f142deea1c153.tar.gz
mailutils-27f7da99fe6550adce91ab97685f142deea1c153.tar.bz2
New keyword: allow-biffrc.
-rw-r--r--comsat/cfg.c11
-rw-r--r--comsat/comsat.c2
2 files changed, 12 insertions, 1 deletions
diff --git a/comsat/cfg.c b/comsat/cfg.c
index 758ee9a1d..a1fcdeeaa 100644
--- a/comsat/cfg.c
+++ b/comsat/cfg.c
@@ -169,7 +169,16 @@ read_config (char *config_file)
continue;
}
- if (strcmp (argv[0], "max-requests") == 0)
+ if (strcmp (argv[0], "allow-biffrc") == 0)
+ {
+ if (strcmp (argv[1], "yes") == 0)
+ allow_biffrc = 1;
+ else if (strcmp (argv[1], "no") == 0)
+ allow_biffrc = 0;
+ else
+ syslog (LOG_ERR, "%s:%d: yes or no expected", config_file, line);
+ }
+ else if (strcmp (argv[0], "max-requests") == 0)
maxrequests = strtoul (argv[1], NULL, 0);
else if (strcmp (argv[0], "request-control-interval") == 0)
request_control_interval = strtoul (argv[1], NULL, 0);
diff --git a/comsat/comsat.c b/comsat/comsat.c
index cdb092ce2..285cc4358 100644
--- a/comsat/comsat.c
+++ b/comsat/comsat.c
@@ -207,12 +207,14 @@ comsat_daemon_init (void)
}
}
+int allow_biffrc = 1; /* Allow per-user biffrc files */
unsigned maxrequests = 16; /* Maximum number of request allowed per
control interval */
time_t request_control_interval = 10; /* Request control interval */
time_t overflow_control_interval = 10; /* Overflow control interval */
time_t overflow_delay_time = 5;
+
void
comsat_daemon (int port)
{

Return to:

Send suggestions and report system problems to the System administrator.