Homer Wilson Smith <homer(_at_)lightlink(_dot_)com> writes:
When procmail docs use the term 'filter' or 'mailfilter' what exactly
are they talking about?
In the procmail docs, 'filter', when used as a noun, is used to refer to
actions on recipes with the 'f' flag. When invoked, these actions cause
procmail to replace part or all of the message that it is processing
with the output of the action. (The 'h' and 'b' flags control what is
fed into the filter and replaced by the output.)
The word 'mailfilter' is used to refer to the mode of procmail when
invoked with the -m option.
Isn't any rc file a filter of sorts or is there a special
meaning that procmail gives to the term 'filter'.
That depends on what you think the word 'filter' means. In the context
of what appears inside an rcfile, the procmail docs use the word 'filter'
in the precise way described above. As a personal choice, I would tend
to only call an rcfile a 'filter' if it contained no delivering actions,
so that it only modified the message.
procmail mailing list