summaryrefslogtreecommitdiffabout
path: root/src/main.c
authorSergey Poznyakoff <gray@gnu.org.ua>2017-10-19 19:06:20 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2017-10-19 19:06:20 (GMT)
commit0d8954ca25771bc6c6f5d9cf9bfa38a2b1bbba6e (patch) (side-by-side diff)
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') (more/less context) (ignore whitespace changes)
-rw-r--r--src/main.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/main.c b/src/main.c
index 66a9780..9873ed0 100644
--- a/src/main.c
+++ b/src/main.c
@@ -73,8 +73,6 @@ 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;
@@ -853,9 +851,6 @@ struct mu_cfg_param mf_cfg_param[] = {
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.