rewrite(4) DG/UX R4.11 rewrite(4)
NAME
rewrite - file used for mail message header rewriting
DESCRIPTION
/etc/mail/rewrite controls the rewriting of a mail message. This
file is written in the mailR language, which is somewhat similar to
awk(1).
The rewrite file consists of a series of function definitions,
including one named main and one named local. The main function is
executed after a mail message is read in by mail. The local function
is executed before a mail message is delivered locally. Further
functions may be executed later because of references within the
/etc/mail/mailsurr file.
See the file /etc/mail/rewrite.sample for examples of lines that may
be included in the /etc/mail/rewrite file for header rewriting.
SEE ALSO
mail(1), mailR(5), mailsurr(4), mailx(1), mime(5)
Licensed material--property of copyright holder(s)