path: root/NEWS
authorSergey Poznyakoff <>2007-04-27 20:45:53 (GMT)
committer Sergey Poznyakoff <>2007-04-27 20:45:53 (GMT)
commitf1133249d78b4de8a1897f256dba5fabb09646f3 (patch) (side-by-side diff)
tree0765ea6be492498188be4af0432b0fa8fa54f0b2 /NEWS
parent4d3f1f3b87ccb7b42c98b804d86d26504b2fc383 (diff)
Implement begin/end statements. Allow to disable/enable caching
git-svn-id: file:///svnroot/mailfromd/trunk@1387 7a8a7f39-df28-0410-adc6-e0d955640f24
Diffstat (limited to 'NEWS') (more/less context) (ignore whitespace changes)
1 files changed, 27 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index ee23f49..0bd3c44 100644
--- a/NEWS
+++ b/NEWS
@@ -1,4 +1,4 @@
-Mailfromd NEWS -- history of user-visible changes. 2007-04-25
+Mailfromd NEWS -- history of user-visible changes. 2007-04-27
Copyright (C) 2005, 2006, 2007 Sergey Poznyakoff
See the end of file for copying conditions.
@@ -17,6 +17,32 @@ useful in automated test cases.
See the documentation, chapter `mtasim'.
+* `begin'/`end' handlers
+ The `begin' and `end' special handlers may be used to
+supply startup and cleanup code for the filter program.
+ The `begin' special handler is executed once for each
+SMTP session, after the connection has been established but
+before the first milter handler has been called. Similarly, an
+`end' handler is executed exactly once, after the connection has
+been closed. Neither of handlers takes any arguments.
+ See the documentation, section `begin/end'.
+* Cache control
+ Use function `db_set_active' to enable or disable given cache
+database. E.g.
+ # Disable DNS cache:
+ db_set_active("dns", 0)
+ # Enable it back again:
+ db_set_active("dns", 0)
+Similarly, the function `db_get_active' returns a number indicating
+whether the given cache database is used or not.
Version 3.1.91, 2007-04-23

Return to:

Send suggestions and report system problems to the System administrator.