Fixed 'Server has gone away'.
[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 server: crontab -e
26 substitute: PATH/TO
27 ---------------------------------- cut here ----------------------------------
28 */10 * * * * exec $HOME/PATH/TO/PerlMail/perlmail-submit &>/dev/null --submit --clean 4d
29 ---------------------------------- cut here ----------------------------------
30
31
32 server: $HOME/.procmailrc
33 substitute: PATH/TO
34 ---------------------------------- cut here ----------------------------------
35 #:0 c:
36 #Mail/backup
37
38 # PerlMail forward
39 :0 W
40 |./PATH/TO/PerlMail/perlmail-submit --store --forkoff --submit >/dev/null 2>>.perlmail-submit.log
41
42 # PerlMail fallback
43 :0:
44 Mail/perlmail-submit-failed
45 ---------------------------------- cut here ----------------------------------