diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2007-03-21 15:31:19 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2007-03-21 15:31:19 +0000 |
commit | c0f04f2bec5477c2f7d83fb64f167bc3c7478121 (patch) | |
tree | 836eacaab5f992f8acb5b126a9b0ec56a55b53f4 /NEWS | |
parent | c656c8a563a12c1c52a94a7673ca58661faf27b6 (diff) | |
download | mailfromd-c0f04f2bec5477c2f7d83fb64f167bc3c7478121.tar.gz mailfromd-c0f04f2bec5477c2f7d83fb64f167bc3c7478121.tar.bz2 |
New built-in getmx
git-svn-id: file:///svnroot/mailfromd/trunk@1305 7a8a7f39-df28-0410-adc6-e0d955640f24
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 13 |
1 files changed, 12 insertions, 1 deletions
@@ -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 |