File: INSTALL

package info (click to toggle)
renattach 1.1.1-3
  • links: PTS
  • area: main
  • in suites: woody
  • size: 144 kB
  • ctags: 45
  • sloc: ansic: 694; sh: 209; makefile: 62
file content (42 lines) | stat: -rw-r--r-- 1,365 bytes parent folder | download
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
Installation is relatively simple. There are just three steps:

./configure
make
make install

[Optional] If you don't want every renamed filename logged to syslog, edit 
defs.h after ./configure and remove the line with USE_SYSLOG

[Optional] Encoded filenames are replaced by a generic replacement for
maximum safety. You can remove this feature from defs.h (CATCH_CODED)

The configure script accepts a few switches. Use './configure --help' to
see them all. For example, to install everything under your home directory
you could use:

./configure --prefix=$HOME

If you later want to uninstall it, simply:

make uninstall
(You will have to remove any empty subdirectories on your own)

----------
FINISHING THE INSTALL

The binary is by default installed in /usr/sbin. However, if you're 
running sendmail with the restricted shell (smrsh) you should do 
'./configure --bindir=/etc/smrsh' or something similar before 'make'.

After 'make install' you're ready to go. Just create a ".forward" file in 
your home directory with the following one line (WITH QUOTES):

"|/usr/sbin/renattach -good"

This pipes all incoming mail to renattach, which will filter it using the 
goodlist filter and send it out to procmail. See manpage for more 
information. Use 'renattach -v' to verify the filter lists used.

==========
Jem Berkes
E-mail: jberkes at pc-tools dot net