diff options
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 19 |
1 files changed, 18 insertions, 1 deletions
@@ -1,3 +1,3 @@ -Mailfromd NEWS -- history of user-visible changes. 2009-05-10 +Mailfromd NEWS -- history of user-visible changes. 2009-05-11 Copyright (C) 2005, 2006, 2007, 2008, 2009 Sergey Poznyakoff See the end of file for copying conditions. @@ -25,4 +25,21 @@ specifics of MeTA1, the number of symbols that may be exported for each stage is limited (Mailfromd manual, section 11.1.2). +* Reject and tempfail actions: Functional notation + +The reply actions `reject' and `tempfail' allow functional notation, +i.e. their arguments can be supplied as to a function: + + reject(550, 5.7.7, "IP address does not resolve") + +An important feature of this notation is that all three arguments are +MFL expressions, which means that you can now compute the reply codes +at run time: + + reject(550 + %n, "5.7." %x, "Transaction rejected") + +An argument can be omitted, in which case the default value is used, e.g.: + + reject(550 + %n, , "Transaction rejected") + * New functions |