aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2017-10-25 17:34:02 +0300
committerSergey Poznyakoff <gray@gnu.org.ua>2017-10-25 17:34:02 +0300
commit64ea91a529e07f5444e23f05b7dccdcfec3f3db4 (patch)
tree6b093227257fcec79cda089ae897730a8356e021
parent9255eb1b0f19bd27eeff2ef090a52e9293f05b28 (diff)
downloadmailfromd-64ea91a529e07f5444e23f05b7dccdcfec3f3db4.tar.gz
mailfromd-64ea91a529e07f5444e23f05b7dccdcfec3f3db4.tar.bz2
Update docs. Version 8.2.91
-rw-r--r--NEWS10
-rw-r--r--README29
-rw-r--r--configure.ac2
-rw-r--r--doc/functions.texi10
-rw-r--r--doc/mailfromd.texi23
-rw-r--r--tests/atlocal.in8
6 files changed, 59 insertions, 23 deletions
diff --git a/NEWS b/NEWS
index 30fe1503..8b4c9945 100644
--- a/NEWS
+++ b/NEWS
@@ -1,11 +1,11 @@
-Mailfromd NEWS -- history of user-visible changes. 2017-10-20
+Mailfromd NEWS -- history of user-visible changes. 2017-10-25
Copyright (C) 2005-2017 Sergey Poznyakoff
See the end of file for copying conditions.
Please send Mailfromd bug reports to <bug-mailfromd@gnu.org.ua>
-Version 8.2.90
+Version 8.2.91
* GNU adns required
@@ -38,6 +38,12 @@ The following MFL global variable have been removed:
** spf_negative_ttl
+* New MFL functions
+
+string ptr_validate (string IP)
+Tests whether the DNS reverse-mapping for IP exists and
+correctly points to a domain name within a particular domain.
+
Version 8.2, 2017-10-18
diff --git a/README b/README
index f79fb09f..84a0b198 100644
--- a/README
+++ b/README
@@ -58,16 +58,31 @@ interface.
* Building
-Please, refer to the node "Building" in the accompanying
-documentation. If you have GNU texinfo installed on your system, run
+You will need the following packages in order to build mailfromd:
+
++---------------+--------------+----------------------------------------+
+| Package | Min. Version | Available From |
++---------------+--------------+----------------------------------------+
+| GNU mailutils | 3.3 | http://mailutils.org |
+| GNU adns | 1.5.1 | http://www.gnu.org/software/adns |
++---------------+--------------+----------------------------------------+
+
+In general, the usual build sequence applies:
+
+ ./configure
+ make
+ make install
+
+For detailed instructions, please refer to the node "Building" in the
+accompanying documentation. If you have GNU texinfo installed on your
+system, run
info --node Building -f doc/mailfromd
-from the package root directory.
+from the package root directory, or visit the following URL:
+
+http://puszcza.gnu.org.ua/software/mailfromd/manual/html_section/Building.html
-The documentation in various formats is also available online, see
-http://puszcza.gnu.org.ua/software/mailfromd/manual.
-
* Configuring and Running
Please, see mailfromd documentation.
@@ -79,7 +94,7 @@ Send bug reports to <bug-mailfromd@gnu.org.ua>.
* Copyright information:
-Copyright (C) 2005-2008, 2010-2011, 2015-2016 Sergey Poznyakoff
+Copyright (C) 2005-2008, 2010-2011, 2015-2017 Sergey Poznyakoff
Permission is granted to anyone to make or distribute verbatim copies
of this document as received, in any medium, provided that the
diff --git a/configure.ac b/configure.ac
index eeb25e5f..5ac9a00b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -17,7 +17,7 @@
AC_PREREQ(2.63)
m4_define([MF_VERSION_MAJOR], 8)
m4_define([MF_VERSION_MINOR], 2)
-m4_define([MF_VERSION_PATCH], 90)
+m4_define([MF_VERSION_PATCH], 91)
AC_INIT([mailfromd],
MF_VERSION_MAJOR.MF_VERSION_MINOR[]m4_ifdef([MF_VERSION_PATCH],.MF_VERSION_PATCH),
[bug-mailfromd@gnu.org.ua],
diff --git a/doc/functions.texi b/doc/functions.texi
index c8a418d1..af695f4e 100644
--- a/doc/functions.texi
+++ b/doc/functions.texi
@@ -2112,6 +2112,16 @@ occurs, the function returns @samp{"0"}.
(see above), except that it never raises exceptions.
@end deftypefn
+@deftypefn {Built-in Function} string ptr_validate (string @var{ip})
+Tests whether the DNS reverse-mapping for @var{ip} exists and
+correctly points to a domain name within a particular domain.
+
+First, it obtains all PTR records for @var{ip}. Then, for each record
+returned, a look up for A records is performed and IP addresses of each
+record are compared against @var{ip}. The function returns true if a
+matching A record is found.
+@end deftypefn
+
@node Geolocation functions
@section Geolocation functions
@cindex geolocation
diff --git a/doc/mailfromd.texi b/doc/mailfromd.texi
index d28915f9..dfc58712 100644
--- a/doc/mailfromd.texi
+++ b/doc/mailfromd.texi
@@ -912,18 +912,28 @@ undertake in order to configure and build the package.
packages on your machine:
@enumerate A
-@item GNU mailutils version 2.0 or newer.
+@item GNU mailutils version 3.3 or newer.
+@cindex mailutils
-It is available from @uref{http://www.gnu.org/software/mailutils}.
+GNU mailutils is a general-purpose library for handling electronic mail.
+It is available from @uref{http://mailutils.org}.
+
+@item GNU adns library, version 1.5.1 or newer.
+@cindex adns
+
+GNU adns is an advanced DNS client library. The recent version can be
+downloaded from @uref{http://www.chiark.greenend.org.uk/~ian/adns/adns.tar.gz}.
+Visit @uref{http://www.gnu.org/software/adns}, for more information.
@item A @acronym{DBM} library.
@anchor{DBM}
@cindex @acronym{DBM}
@cindex Berkeley DB
@cindex @acronym{GDBM}
-@command{Mailfromd} is able to link with two flavors of @acronym{DBM}
-libraries: Berkeley DB or @command{gdbm}. It will refuse to build
-without @acronym{DBM}. By default, @command{configure} will try to
+@command{Mailfromd} is able to link with any flavor of
+@acronym{DBM} supported by GNU mailutils. As of version
+@value{VERSION} it will refuse to build without @acronym{DBM}.
+By default, @command{configure} will try to
find the best implementation installed on your machine (preference is
given to Berkeley DB) and will use it. You can, however, explicitly
specify which implementation you want to use.
@@ -1204,8 +1214,7 @@ and mode.
@item Examine filter script file
(@file{@var{sysconfdir}/mailfromd.mf}) and edit it, if necessary.
-@item Upgrading
-If you are upgrading from an earlier release of Mailfromd, refer to
+@item If you are upgrading from an earlier release of Mailfromd, refer to
@ref{Upgrading}, for detailed instructions.
@end enumerate
diff --git a/tests/atlocal.in b/tests/atlocal.in
index d015213e..b08c06ff 100644
--- a/tests/atlocal.in
+++ b/tests/atlocal.in
@@ -53,22 +53,18 @@ cleardb() {
checkstatedir
}
-puszcza_addr() {
- host puszcza.gnu.org.ua |\
- sed -n '1s/puszcza.gnu.org.ua has address \(.*\)/\1/p'
-}
-
: ${MF_TOPDOMAIN:=mf.gnu.org.ua}
: ${MF_NAMESERVER:=$(resolv -qq soa -ip $MF_TOPDOMAIN)}
export MF_TOPDOMAIN MF_NAMESERVER
at_resolv_conf() {
- if [ -n "$MF_NAMESERVER" ]; then
+ if [ -n "$MF_NAMESERVER" ] && resolv -h$MF_NAMESERVER -qqq soa -ip 2.0.192.in-addr.arpa; then
cat > resolv.conf <<EOF
nameserver $MF_NAMESERVER
EOF
MFOPTS="$MFOPTS --resolv-conf=resolv.conf"
fi
+ test -f resolv.conf
}
export RES_CONF_TEXT

Return to:

Send suggestions and report system problems to the System administrator.