1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72
|
<HTML>
<HEAD>
<!-- This HTML file has been created by texi2html 1.52
from filter on 25 November 2000 -->
<TITLE>Exim Filter Specification - The save command</TITLE>
</HEAD>
<body bgcolor="#FFFFFF" text="#00005A" link="#FF6600" alink="#FF9933" vlink="#990000">
Go to the <A HREF="filter_1.html">first</A>, <A HREF="filter_13.html">previous</A>, <A HREF="filter_15.html">next</A>, <A HREF="filter_34.html">last</A> section, <A HREF="filter_toc.html">table of contents</A>.
<P><HR><P>
<H2><A NAME="SEC14" HREF="filter_toc.html#TOC14">The save command</A></H2>
<PRE>
save <<EM>file name</EM>>
e.g. save $home/mail/bookfolder
</PRE>
<P>
This causes a copy of the message to be appended to the given file (that is,
the file is used as a mail folder).
More than one <EM>save</EM> command may appear; each one causes a copy of the message
to be written to its argument file, provided they are different (duplicate
<EM>save</EM> commands are ignored).
</P>
<P>
If the file name does not start with a / character, then the contents of the
$<EM>home</EM> variable are prepended. The user must of course have permission to
write to the file, and the writing of the file takes place in a process that is
running as the user, under the user's primary group. Any secondary groups to
which the user may belong are not normally taken into account, though the system
administrator can configure Exim to set them up. In addition, the ability to
use this command at all is controlled by the system administrator -- it may be
forbidden on some systems. An optional mode value may be given after the file
name, for example,
<PRE>
save /some/folder 0640
</PRE>
<P>
The value for the mode is interpreted as an octal number, even if it does not
begin with a zero. This makes it possible for users to override the system-wide
mode setting for file deliveries, which is normally 600. If an existing file
does not have the correct mode, it is changed.
</P>
<P>
An alternative form of delivery may be enabled on your system, in which each
message is delivered into a new file in a given directory. If this is the case,
this functionality can be requested by giving the directory name terminated by
a slash after the <EM>save</EM> command, for example
<PRE>
save separated/messages/
</PRE>
<P>
There are several different formats for such deliveries; check with your system
administrator or local documentation to find out which (if any) are available
on your system. If this functionality is not enabled, the use of a path name
ending in a slash causes an error.
</P>
<P><HR><P>
Go to the <A HREF="filter_1.html">first</A>, <A HREF="filter_13.html">previous</A>, <A HREF="filter_15.html">next</A>, <A HREF="filter_34.html">last</A> section, <A HREF="filter_toc.html">table of contents</A>.
</BODY>
</HTML>
|