aboutsummaryrefslogtreecommitdiffstats
path: root/src/cfg_file.y
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2009-03-03 18:56:10 +0300
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2009-03-03 18:56:10 +0300
commit89569341997df14df1f3fdfe2bbbb5bb6fa0e7a9 (patch)
tree9914bd27e698e1b0884070500013a0dc9b88c449 /src/cfg_file.y
parent5424cc32d47c5e98b9edfb2b342d9d98d97a1175 (diff)
downloadrspamd-89569341997df14df1f3fdfe2bbbb5bb6fa0e7a9.tar.gz
rspamd-89569341997df14df1f3fdfe2bbbb5bb6fa0e7a9.zip
* Add ability to fork multiply lmtp workers
* Add ability to drop privilleges of rspamd processes * Add ability to install redirector with rspamd * Add FreeBSD start scripts for rspamd and redirector * Remove command line parsing from util.c as it has specific usage only in main process
Diffstat (limited to 'src/cfg_file.y')
-rw-r--r--src/cfg_file.y6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/cfg_file.y b/src/cfg_file.y
index 7eee8516c..dd48520f2 100644
--- a/src/cfg_file.y
+++ b/src/cfg_file.y
@@ -676,6 +676,7 @@ lmtpcmd:
lmtpenabled
| lmtpsock
| lmtpmetric
+ | lmtpworkers
;
lmtpenabled:
@@ -698,6 +699,11 @@ lmtpmetric:
cfg->lmtp_metric = memory_pool_strdup (cfg->cfg_pool, $3);
}
;
+lmtpworkers:
+ WORKERS EQSIGN NUMBER {
+ cfg->lmtp_workers_number = $3;
+ }
+ ;
delivery:
DELIVERY OBRACE deliverybody EBRACE