rewrite(4) rewrite(4)
NAME
rewrite, rewrite.samp - 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). /etc/mail/rewrite.samp contains sample
functions written in the mailR language.
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 /rewrite.sample for examples of lines that may be
included in the /etc/mail/rewrite file for header rewriting.
REFERENCES
mail(1), mailR(5), mailsurr(4), mailx(1)
Copyright 1994 Novell, Inc. Page 1