diff options
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 23 |
1 files changed, 21 insertions, 2 deletions
@@ -1,23 +1,42 @@ -Mailfromd NEWS -- history of user-visible changes. 2018-11-12 +Mailfromd NEWS -- history of user-visible changes. 2019-01-03 See the end of file for copying conditions. Please send Mailfromd bug reports to <bug-mailfromd@gnu.org.ua> -Version 8.6.90 (Git) +Version 8.7, 2019-01-03 * The --callout-socket option New option --callout-socket=URL instructs mailfromd to use URL to pass callout requests to the callout server listening on URL. It is equivalent to the callout-url configuration statement, which it overrides. This option is used by mtasim to avoid clobbering the existing callout sockets when starting new mailfromd instance. +* NS lookup NFL functions + +This release implements the following new MFL functions: + +number primitive_hasns (string DOM) + Returns 1 if the domain DOM has at least one NS record and 0 + otherwise. Throws an error if DNS lookup fails. + +require 'dns' +number hasns (string DOM) + Same as above, but returns 0 on DNS lookup failures. + +string getns (string DOM ; number RESOLVE, number SORT) + + Returns a whitespace-separated list of all the NS records for + the domain DOM. If optional parameter RESOLVE is 1, the returned list + contains IP addresses. Optional SORT controls whether the entries are + sorted. + * Bugfixes ** Callout functions return true on checking the null return address (<>) ** Arguments in transaction between mailfromd and calloutd are quoted ** Avoid false failures in testsuite due to libadns warnings ** configure --with-dbm=T accepts any T supported by mailutils ** The 'dbdel' built-in silently ignores non-existing keys |