diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2008-01-09 13:58:23 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2008-01-09 13:58:23 +0000 |
commit | de9b9f2d7613cd0537f6568d87d569a0252564ef (patch) | |
tree | d52f623e18ccdb8ea4370e27232147eebea1a6b6 | |
parent | da048787a7adcccdca8dc35b51585c035bdf9e0f (diff) | |
download | mailfromd-de9b9f2d7613cd0537f6568d87d569a0252564ef.tar.gz mailfromd-de9b9f2d7613cd0537f6568d87d569a0252564ef.tar.bz2 |
Minor changes
git-svn-id: file:///svnroot/mailfromd/branches/gmach@1547 7a8a7f39-df28-0410-adc6-e0d955640f24
-rw-r--r-- | etc/mailfromd.rc | 4 | ||||
-rw-r--r-- | src/main.c | 15 |
2 files changed, 10 insertions, 9 deletions
diff --git a/etc/mailfromd.rc b/etc/mailfromd.rc index 44be739c..ff53740f 100644 --- a/etc/mailfromd.rc +++ b/etc/mailfromd.rc @@ -1,6 +1,6 @@ -/* This is a sample start-up script for mailfromd. -*- mfl -*- +/* This is a sample filter for mailfromd. -*- mfl -*- Site administrators are urged to write nicer versions. - Copyright (C) 2005, 2006, 2007 Sergey Poznyakoff + Copyright (C) 2005, 2006, 2007, 2008 Sergey Poznyakoff This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -966,7 +966,7 @@ static struct argp_option options[] = { N_("Switch to this user privileges after startup"), GRP+1 }, { "group", 'g', N_("NAME"), 0, N_("Retain the supplementary group NAME when switching to user " - "privileges"), + "privileges."), GRP+1 }, { "source", 'S', N_("ADDRESS"), 0, N_("Set source address for TCP connections"), GRP+1 }, @@ -1559,7 +1559,7 @@ struct mu_cfg_param mf_cfg_param[] = { N_("Set Mailfromd debug verbosity level. Argument is a comma-" "separated list of debug specifications, each of which has the " "following form:\n" - " <module: string>[=<level: number>\n" + " <module: string>[=<level: number>]\n" "where <module> is the name of a Mailfromd module, and <level> " "is the desired verbosity level for that module."), N_("spec: list") }, @@ -1611,12 +1611,10 @@ struct mu_cfg_param mf_cfg_param[] = { N_("Read relayed domains from <file>."), N_("file") }, { "setvar", mu_cfg_callback, NULL, 0, cb_set_variable, - N_("Initialize a mailfromd variable. Argument must be:\n" - " <var: string> <value: string-or-number>\n" - "where <var> is mailfromd variable name and <value> is a value " - "to be assigned to it.") }, + N_("Initialize a mailfromd variable <var> to <value>."), + N_("var: string> <value: string-or-number") }, { "script-file", mu_cfg_string, &script_file, 0, NULL, - N_("Read filter stript from <file>."), + N_("Read filter script from <file>."), N_("file") }, /* FIXME: Could have used mu_cfg_ipv4 here, but... */ { "source-ip", mu_cfg_callback, NULL, 0, cb_source_ip, @@ -1625,6 +1623,9 @@ struct mu_cfg_param mf_cfg_param[] = { { "state-directory", mu_cfg_callback, NULL, 0, cb_state_directory, N_("Set program state directory."), N_("dir") }, + { "listen", mu_cfg_string, &portspec, 0, NULL, + N_("Listen for milter requests on the given URL."), + N_("url") }, { NULL } }; |