diff options
authorSergey Poznyakoff <gray@gnu.org>2018-11-07 13:04:07 +0200
committerSergey Poznyakoff <gray@gnu.org>2018-11-07 13:09:56 +0200
commitaf64e30e538bd8d227432119ab3f54ac8deb03a2 (patch)
parent29583de41d70ec5ef37e87fa1ddddc0f7a15539f (diff)
Fix the functionality of the mailfromd --mtasim option
This option must discard the effect of the server.listen statement This also fixes mtasim -Xauto * src/main.c (mailfromd_options): Process the --mtasim option immediately.
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 4367ac89..15113a6e 100644
--- a/src/main.c
+++ b/src/main.c
@@ -544,25 +544,25 @@ static struct mu_option mailfromd_options[] = {
{ "load-dir", 'L', N_("DIR"), MU_OPTION_HIDDEN,
N_("add DIR to the load path"),
mu_c_void },
MU_OPTION_GROUP(N_("General options")),
{ "include", 'I', N_("DIR"), MU_OPTION_DEFAULT,
N_("add the directory DIR to the list of directories to be "
"searched for header files"),
mu_c_string, NULL, opt_include_dir },
{ "port", 'p', N_("STRING"), MU_OPTION_DEFAULT,
N_("set communication socket"),
mu_c_string, NULL, opt_port },
- { "mtasim", 0, NULL, MU_OPTION_DEFAULT,
+ { "mtasim", 0, NULL, MU_OPTION_IMMEDIATE,
N_("run in mtasim compatibility mode"),
mu_c_string, NULL, opt_mtasim },
{ "optimize", 'O', N_("LEVEL"), MU_OPTION_ARG_OPTIONAL,
N_("set code optimization level"),
mu_c_string, NULL, opt_optimize },
{ "variable", 'v', N_("VAR=VALUE"), MU_OPTION_DEFAULT,
N_("assign VALUE to VAR"),
mu_c_string, NULL, opt_variable },
{ "relayed-domain-file", 0, N_("FILE"), MU_OPTION_DEFAULT,
N_("read relayed domains from FILE"),
mu_c_string, NULL, opt_relayed_domain_file },
{ "resolv-conf-file", 0, N_("FILE"), MU_OPTION_DEFAULT,

Return to:

Send suggestions and report system problems to the System administrator.