aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2017-10-19 22:06:20 +0300
committerSergey Poznyakoff <gray@gnu.org.ua>2017-10-19 22:06:20 +0300
commit0d8954ca25771bc6c6f5d9cf9bfa38a2b1bbba6e (patch)
treecba9192cbf520ef5527e3b1c7efccf69df24a334 /src/main.c
parentb5a739de9d8ada25c4ce7cf5f365ecde89f470e5 (diff)
downloadmailfromd-0d8954ca25771bc6c6f5d9cf9bfa38a2b1bbba6e.tar.gz
mailfromd-0d8954ca25771bc6c6f5d9cf9bfa38a2b1bbba6e.tar.bz2
Improve DNS resolver API
Remove arbitrary size limits. * NEWS: Version 8.2.90 * configure.ac: Likewise. Require Mailutils 3.3 * doc/calloutd.texi: Update. * doc/functions.texi: Update. * doc/mailfromd.texi: Update. * doc/upgrade.texi: Update. * lib/dns.c: Rewrite. * lib/dns.h (MAXMXCOUNT, MXF_MAX): Remove. (mxbuf_init,dns_resolve_ipstr) (a_lookup,ptr_lookup,txt_lookup) (spf_lookup): Change protos. (dns_reply): New struct. (dns_reply_free,dns_reply_ip): New functions. * lib/libmf.h (getmxip): Change proto. * src/builtin/dns.bi: Remove runtime configuration statements: max-dns-reply-a, max-dns-reply-ptr, and max-dns-reply-mx. Rewrite using the new DNS API. * src/callout.c: Update. * src/mailfromd.h: Update. * src/main.c: Remove the max-match-mx configuration statement. * src/prog.c: Update. * src/spf.c: Update. * src/spf.h: Update. * src/srvcfg.c: Remove the max-callout-mx configuration statement.
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/main.c b/src/main.c
index 66a97808..9873ed0f 100644
--- a/src/main.c
+++ b/src/main.c
@@ -70,14 +70,12 @@ int ext_pp_options_given;
int do_trace; /* Enable tracing configuration */
unsigned optimization_level = 1; /* Optimization level */
int stack_trace_option; /* Print stack traces on runtime errors */
-size_t max_match_mx = MAXMXCOUNT;
-
char *main_function_name = "main";
char *callout_server_url;
mu_stream_t mf_strecho; /* Output stream for 'echo' statements */
#define ARG_UNSET (-1)
@@ -850,15 +848,12 @@ struct mu_cfg_param mf_cfg_param[] = {
N_("Retry acquiring DBM file lock this number of times.") },
{ "lock-retry-timeout", mu_cfg_callback, NULL, 0,
config_cb_lock_retry_timeout,
N_("Set the time span between the two DBM locking attempts."),
N_("time: interval") },
- { "max-match-mx", mu_c_size, &max_match_mx, 0, NULL,
- N_("Maximum number of MXs used by MFL \"mx match\" operation.") },
-
{ "runtime", mu_cfg_section, NULL },
{ NULL }
};

Return to:

Send suggestions and report system problems to the System administrator.