aboutsummaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS13
1 files changed, 12 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 8367bb9a..a56f6abb 100644
--- a/NEWS
+++ b/NEWS
@@ -1,4 +1,4 @@
-Mailfromd NEWS -- history of user-visible changes. 2007-03-19
+Mailfromd NEWS -- history of user-visible changes. 2007-03-21
Copyright (C) 2005, 2006, 2007 Sergey Poznyakoff
See the end of file for copying conditions.
@@ -27,6 +27,17 @@ Return full file name of the database file corresponding to format
Return the expiration period for db format `fmt'
+- string getmx(string domain [, number resolve])
+
+Returns a whitespace-separated list of MX names (if `resolve' is not
+given or is 0) or MX IP addresses (if `resolve'==1) for `domain'. If
+`domain' has no MX records, empty string is returned. If the DNS
+query fails, `getmx' raises an appropriate exception.
+
+This interface differs from that of version 3.1.4 in that the calls to
+getmx(domain) and getmx(domain,1) can return different number of
+entries (see the docs for an example).
+
* #pragma regex stack
The `#pragma regex' statement can keep a stack of regex flags. The

Return to:

Send suggestions and report system problems to the System administrator.