Introduction to Procmail
The Procmail package contains an
autonomous mail processor. This is useful for filtering and sorting
This package is known to build and work properly using an LFS-7.7
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/procmail
Installation of Procmail
This package does not come with a test suite.
Install Procmail by running the
following commands as the
sed -i 's/getline/get_line/' src/*.[ch] &&
make LOCKINGTEST=/tmp MANDIR=/usr/share/man install &&
sed -i 's/getline/get_line/'
src/*.[ch]: This renames procmail's getline
function to avoid conflict with the getline function from
install: This prevents make from asking you where to
test file-locking patterns.
Modifies permissions of the installed files.
Recipes have to be written and placed in
~/.procmailrc for execution. The procmailex man
page is the starting place to learn how to write recipes. For
additional information, see also http://pm-doc.sourceforge.net/.
formail, lockfile, mailstat and
is a filter that can be used to format mail into mailbox
is a utility that can lock a file for single use
interactively or in a script.
prints a summary report of mail that has been filtered by
since the last time mailstat was ran.
is an autonomous mail processor. It performs all the
functions of an MDA (Mail Delivery Agent).
Last updated on 2015-08-01 04:26:22 +0000