aboutsummaryrefslogtreecommitdiff
path: root/doc/mailfromd.texi
diff options
context:
space:
mode:
Diffstat (limited to 'doc/mailfromd.texi')
-rw-r--r--doc/mailfromd.texi37
1 files changed, 22 insertions, 15 deletions
diff --git a/doc/mailfromd.texi b/doc/mailfromd.texi
index 46a3a88a..86f4d845 100644
--- a/doc/mailfromd.texi
+++ b/doc/mailfromd.texi
@@ -3486,7 +3486,7 @@ done
@noindent
It is syntactically correct, but it overlooks the fact that @code{mx
-matches} generates @code{temp_failure} exception, if the underlying
+matches} generates @code{e_temp_failure} exception, if the underlying
@acronym{DNS} query has timed out (@pxref{Special comparisons}). If
this happens, @command{mailfromd} has no instructions on what to do
next and reports an error. This can easily be fixed using a @code{catch}
@@ -3496,7 +3496,7 @@ statement, e.g.:
prog envfrom
do
# @r{Catch @acronym{DNS} errors}
- catch temp_failure, failure
+ catch e_temp_failure or e_failure
do
tempfail 451 4.1.1 "MX verification failed"
done
@@ -3524,7 +3524,7 @@ use the following catch statement:
@smallexample
@group
-catch macroundef
+catch e_macroundef
do
@dots{}
done
@@ -7526,17 +7526,24 @@ rw-r----
For example, consider the following pragmas:
@smallexample
-#pragma dbprop /etc/mail/*.db null 600
#pragma dbprop /etc/mail/whitelist.db 640
-#pragma dbprop /etc/mail/blacklist.db 640
@end smallexample
-The first of them tells that each database in @file{/etc/mail}
-directory must have the mode @samp{600} and include the null
-terminator in the key length. The remaining two pragmas define
-two exceptions: the databases @file{whitelist.db} and
-@file{blacklist.db} have privileges @samp{640} and do not include
-null in the key length.
+It tells that the database file @file{whitelist.db} has
+privileges @samp{640} and do not include null in the key length.
+
+Similarly, the following pragma:
+
+@smallexample
+#pragma dbprop `/etc/mail/*.db' null 600
+@end smallexample
+
+@noindent
+declares that all database files in directory @file{/etc/mail} have
+privileges @samp{640} and include null terminator in the key
+length. @emph{Notice}, the use of @command{m4} quoting characters in
+the example below. Without them, the sequence @samp{/*} would have
+been taken as the beginning of a comment.
Additionally, for compatibility with previous versions (up to 5.0),
the terminating null property can be requested via an optional
@@ -10910,7 +10917,7 @@ controlled by some conditional expression. It has the following form:
@smallexample
@group
loop [@var{label}]
- [for @var{stmt1},] [while @var{expr1},] [@var{stmt2}]
+ [for @var{stmt1}] [,while @var{expr1}] [,@var{stmt2}]
do
@var{stmt3}
done [while @var{expr2}]
@@ -11461,7 +11468,7 @@ done
prog envfrom
do
- catch failure or temp_failure
+ catch e_failure or e_temp_failure
do
switch $1
do
@@ -11488,7 +11495,7 @@ it instead. The following example illustrates this approach:
@smallexample
func poll_wrapper(string email) returns number
do
- catch failure or temp_failure
+ catch e_failure or e_temp_failure
do
return %email
done
@@ -11804,7 +11811,7 @@ do
compilation, using @option{-E} command line option:
@smallexample
-$ @kbd{mailfromf -E file.mf}
+$ @kbd{mailfromd -E file.mf}
@end smallexample
The output is in the form of preprocessed source code, which is sent

Return to:

Send suggestions and report system problems to the System administrator.