+Note /etc/aliases.
[PerlMail.git] / README
1 $Id$
2
3
4 Installation
5 ------------
6
7 Edit: PerlMail/Config.pm
8 Run: ./perlmail-submit --initdb
9
10
11
12 workstation: /etc/inetd.conf
13 substitute: USERNAME, PATH/TO
14 ---------------------------------- cut here ----------------------------------
15 852 stream tcp nowait USERNAME /home/USERNAME/PATH/TO/PerlMail/perlmail-accept perlmail-accept --inetd
16 ---------------------------------- cut here ----------------------------------
17
18
19 (optional) workstation: /etc/services
20 ---------------------------------- cut here ----------------------------------
21 perlmail 852/tcp
22 ---------------------------------- cut here ----------------------------------
23
24
25 workstation: /etc/aliases
26 run after: newaliases
27 substitute: USERNAME
28 ---------------------------------- cut here ----------------------------------
29 sentout: /home/USERNAME/Mail/sentout
30 ---------------------------------- cut here ----------------------------------
31
32
33 server: crontab -e
34 substitute: PATH/TO
35 ---------------------------------- cut here ----------------------------------
36 */10 * * * * exec $HOME/PATH/TO/PerlMail/perlmail-submit &>/dev/null --submit --clean 4d
37 ---------------------------------- cut here ----------------------------------
38
39
40 server: $HOME/.procmailrc
41 substitute: PATH/TO
42 ---------------------------------- cut here ----------------------------------
43 #:0 c:
44 #Mail/backup
45
46 # PerlMail forward
47 :0 W
48 |./PATH/TO/PerlMail/perlmail-submit --store --forkoff --submit >/dev/null 2>>.perlmail-submit.log
49
50 # PerlMail fallback
51 :0:
52 Mail/perlmail-submit-failed
53 ---------------------------------- cut here ----------------------------------