Added config entry "AcknowledgementFile" to the mailing list's config file.
This commit is contained in:
parent
48563f8faa
commit
8625cea8e4
4
config.c
4
config.c
@ -142,6 +142,7 @@ static char* desc_file;
|
||||
static char* header_file;
|
||||
static char* list_acl_file;
|
||||
static char* address_file;
|
||||
static char* ack_file;
|
||||
|
||||
const struct List_Config* getListConfig(const char * listname)
|
||||
{
|
||||
@ -173,6 +174,7 @@ const struct List_Config* getListConfig(const char * listname)
|
||||
{ "HeaderFile", CF_STRING, &header_file },
|
||||
{ "ListACLFile", CF_STRING, &list_acl_file },
|
||||
{ "AddressFile", CF_STRING, &address_file },
|
||||
{ "AcknowledgementFile", CF_STRING, &ack_file },
|
||||
{ NULL, 0, NULL}
|
||||
};
|
||||
|
||||
@ -194,6 +196,7 @@ const struct List_Config* getListConfig(const char * listname)
|
||||
header_file = "header";
|
||||
list_acl_file = "acl";
|
||||
address_file = "list";
|
||||
ack_file = "acks";
|
||||
|
||||
/* Get the master configuration. */
|
||||
|
||||
@ -280,6 +283,7 @@ const struct List_Config* getListConfig(const char * listname)
|
||||
EXPAND(header_file, header_file);
|
||||
EXPAND(acl_file, list_acl_file);
|
||||
EXPAND(address_file, address_file);
|
||||
EXPAND(ack_file, ack_file);
|
||||
|
||||
AppendNode(ListConfigs, xstrdup(listname), ListConfig);
|
||||
|
||||
|
||||
@ -181,11 +181,23 @@ AllowMembersCommand no
|
||||
|
||||
# TAG: AddressFile <string>
|
||||
# This entry sets the path to the address database file, which
|
||||
# uses to store the addresses of the list's subscribers. If the
|
||||
# path is not absolute -- not beginning with a '/' character,
|
||||
# that is --, it will be interpreted relative to the directory
|
||||
# where this config file has been found.
|
||||
# Petidomo uses to store the addresses of the list's
|
||||
# subscribers. If the path is not absolute -- not beginning with
|
||||
# a '/' character, that is --, it will be interpreted relative
|
||||
# to the directory where this config file has been found.
|
||||
#
|
||||
# If this option has not been set, the default value is
|
||||
# "list".
|
||||
#AddressFile list
|
||||
|
||||
# TAG: AcknowledgementFile <string>
|
||||
# This entry sets the path to the acknowledgement database file,
|
||||
# which Petidomo uses to store the addresses of posters who have
|
||||
# verified their address by acknowledgement already. If the path
|
||||
# is not absolute -- not beginning with a '/' character, that is
|
||||
# --, it will be interpreted relative to the directory where
|
||||
# this config file has been found.
|
||||
#
|
||||
# If this option has not been set, the default value is
|
||||
# "list".
|
||||
#AcknowledgementFile ack
|
||||
|
||||
@ -88,6 +88,7 @@ struct List_Config
|
||||
char * acl_file;
|
||||
char * list_dir;
|
||||
char * address_file;
|
||||
char * ack_file;
|
||||
};
|
||||
|
||||
int InitPetidomo(const char* masterconfig_path);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user