From 705850b8b569dbd51fbb35dbf1e0f1800dd46b5a Mon Sep 17 00:00:00 2001 From: Sergey Poznyakoff Date: Thu, 3 Sep 2009 15:54:33 +0300 Subject: Define the `database' configuration statement. Document new configuration. * doc/pragma-option.texi: New file. * doc/pragma-database.texi: New file. * doc/Makefile.am (mailfromd_TEXINFOS): Add new files. * doc/mailfromd.texi: Document configuration file. * doc/upgrade.texi (5x0-600): New section. * mfd/gram.y (pragma_database): Add calls to write_db_config. * mfd/main.c (write_db_config): New function. (close_change_conf): Handle 'G' records. (cb_relay_file): Remove duplicate function. (cb_db_expire_interval, cb_db_positive_expire_interval) (cb_db_negative_expire_interval): New functions. (database_section_param): New configuration file statement: "database". (database_cfg_init): New function. (main): Call database_cfg_init. * mfd/mailfromd.h (write_db_config): New prototype. --- doc/Makefile.am | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/Makefile.am b/doc/Makefile.am index d1f1bd5..97bff3f 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -1,5 +1,5 @@ # This file is part of Mailfromd. -# Copyright (C) 2005, 2006, 2007, 2008 Sergey Poznyakoff +# Copyright (C) 2005, 2006, 2007, 2008, 2009 Sergey Poznyakoff # # Mailfromd is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -22,6 +22,8 @@ mailfromd_TEXINFOS=\ mtasim.texi\ pies.texi\ pmult.texi\ + pragma-database.texi\ + pragma-option.texi\ rendition.texi\ smap.texi\ strftime.texi\ -- cgit v1.2.1