aboutsummaryrefslogtreecommitdiff
path: root/doc/mailfromd.texi
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2008-11-02 09:20:59 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2008-11-02 09:20:59 +0000
commit40dae974804e364d747254ba942597e3c00612c0 (patch)
treecc2489bb950a95358b888dd78ec6f942d4e93fba /doc/mailfromd.texi
parentb44a8aaa2d15535fad13f3f45c205a662f32967c (diff)
downloadmailfromd-40dae974804e364d747254ba942597e3c00612c0.tar.gz
mailfromd-40dae974804e364d747254ba942597e3c00612c0.tar.bz2
Get rid of ml_header. Gacopyz takes care about the header formatting.
* gacopyz/gacopyz.h (gacopyz_safe_header_value): New proto. * gacopyz/gacopyz.c (gacopyz_safe_header_value): New function. (gacopyz_header_command): Use gacopyz_safe_header_value to format header value. * mfd/bi_sa.m4 (sa): Remove unused variable. * mfd/bi_string.m4: Remove ml_header. * doc/mailfromd.texi: Remove ml_header. git-svn-id: file:///svnroot/mailfromd/trunk@1718 7a8a7f39-df28-0410-adc6-e0d955640f24
Diffstat (limited to 'doc/mailfromd.texi')
-rw-r--r--doc/mailfromd.texi22
1 files changed, 1 insertions, 21 deletions
diff --git a/doc/mailfromd.texi b/doc/mailfromd.texi
index bd3a483b..07a14f15 100644
--- a/doc/mailfromd.texi
+++ b/doc/mailfromd.texi
@@ -5681,25 +5681,6 @@ localpart "gray@@gnu.org.ua" @result{} "gray"
@end smallexample
@end deftypefn
-@deftypefn {Built-in Function} string ml_header (string @var{text})
- If @var{text} is a multi-line string, the function reformats it, by
-inserting a horizontal tabulation character (@acronym{ASCII} 09)
-before each newline (@acronym{ASCII} 10). Use this function to format
-multi-line strings for use in message headers. For example:
-
-@smallexample
- string text <<EOT
- A multi-line
- text
- EOT
-
- add "X-String" ml_header(%text)
-@end smallexample
-
-@xref{Actions, Header manipulation actions}, and
-@xref{Header modification functions}.
-@end deftypefn
-
@deftypefn {Built-in Function} string replstr (string @var{s}, number @var{n})
Replicate a string, i.e. return a string, consisting of @var{s}
repeated @var{n} times:
@@ -7470,8 +7451,7 @@ do
fi
add "X-Spamd-Score" sa_format_score(%sa_score, %prec)
add "X-Spamd-Threshold" sa_format_score(%sa_threshold, %prec)
- add "X-Spamd-Keywords"
- ml_header(sa_format_report_header(%sa_keywords))
+ add "X-Spamd-Keywords" sa_format_report_header(%sa_keywords)
done
@end smallexample

Return to:

Send suggestions and report system problems to the System administrator.