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
@@ -73,8 +73,6 @@ unsigned optimization_level = 1; /* Optimization level */
73 73
74int stack_trace_option; /* Print stack traces on runtime errors */ 74int stack_trace_option; /* Print stack traces on runtime errors */
75 75
76size_t max_match_mx = MAXMXCOUNT;
77
78char *main_function_name = "main"; 76char *main_function_name = "main";
79char *callout_server_url; 77char *callout_server_url;
80 78
@@ -853,9 +851,6 @@ struct mu_cfg_param mf_cfg_param[] = {
853 N_("Set the time span between the two DBM locking attempts."), 851 N_("Set the time span between the two DBM locking attempts."),
854 N_("time: interval") }, 852 N_("time: interval") },
855 853
856 { "max-match-mx", mu_c_size, &max_match_mx, 0, NULL,
857 N_("Maximum number of MXs used by MFL \"mx match\" operation.") },
858
859 { "runtime", mu_cfg_section, NULL }, 854 { "runtime", mu_cfg_section, NULL },
860 855
861 { NULL } 856 { NULL }

Return to:

Send suggestions and report system problems to the System administrator.