aboutsummaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS28
1 files changed, 27 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index ee23f495..0bd3c443 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.