File: INSTALL

package info (click to toggle)
procmail-lib 1:2009.1202-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, jessie, jessie-kfreebsd, sid, stretch
  • size: 2,376 kB
  • ctags: 542
  • sloc: perl: 294; makefile: 177; sh: 4
file content (70 lines) | stat: -rw-r--r-- 2,464 bytes parent folder | download | duplicates (2)
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
File id

        Copyright (C) 1997-2009 Jari Aalto

        License: This material may be distributed only subject to the
        terms and conditions set forth in GNU General Public License
        v2 or later (GNU GPL); or, at your option, distributed under
        the terms of GNU Free Documentation License version 1.2 or
        later (GNU FDL).

        Procmail is a tool to manipulate mail messages and this
        library includes many plug-in modules to be used from
        `~/.procmailrc'.

How to install

        Installation requires GNU make. The default location is
        /usr/local/share/procmail-lib for modules and
        /usr/local/share/doc/procmail-lib for documentation. Supply
        `prefix' and/or `exec_prefix' to make(1) call as needed. Note
        that the DESTDIR *must* be absolute path, because makefiles
	are run in their own directories.

            make prefix=/usr install

        To install for local account, use:

            make DESTDIR=$HOME prefix=/. install

How to sart using modules

       Put following near start of `~/.procmailrc':

            #  PM = Procmail, SRC = source files.
            PMSRC = /absolute/path/to/procmail-lib

        Any input parameters should be set before calling a module.
        Consult included documentation or read the comments at the
        beginning od each module file. Here is an example of using
        Unsolicited Bulk Email, aka spam, module:

            INCLUDERC = $PMSRC/pm-javar.rc  # Initalize variables
            INCLUDERC = $RC_UBE

            #  The "\/" records match to log file (if log has been activated)
            :0:
            * ERROR ?? ^()\/.+
            spam.mbox

Examples

        There are some examples of procmail setup files included under
        the documentation directory `examples/'.

Requirements

        Procmail Mail Delivery Agent (MDA) is needed before files in
        this library are useful. The Mail Transport Agent (MTA) must
        have been configured to support Procmail.

        Activating procmail for individual accounts may need setting
        up a `~/.forward' file. For more information, refer to manual
        pages procmail(1) and procmailrc(5) or contact local system
        administrator how to activate procmail support.

        Visit Procmail site <http://www.procmail.org> for wealth of
        documentation and the Prcocmail Documentation Project at
        <http://pm-doc.sf.net>.

End