+Config comments.
[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 (optional if using sendmail wrapper) workstation: Run
34 substitute: USERNAME, PATH/TO
35 ---------------------------------- cut here ----------------------------------
36         mv /usr/sbin/sendmail /usr/sbin/sendmail-orig
37         ln -s /home/USERNAME/PATH/TO/PerlMail/perlmail-sendmail /usr/sbin/sendmail
38 ---------------------------------- cut here ----------------------------------
39
40
41 server: crontab -e
42 substitute: PATH/TO
43 ---------------------------------- cut here ----------------------------------
44 */10 * * * * exec $HOME/PATH/TO/PerlMail/perlmail-submit &>/dev/null --submit --clean 4d
45 ---------------------------------- cut here ----------------------------------
46
47
48 server: $HOME/.procmailrc
49 substitute: PATH/TO
50 ---------------------------------- cut here ----------------------------------
51 #:0 c:
52 #Mail/backup
53
54 # PerlMail forward
55 :0 W
56 |./PATH/TO/PerlMail/perlmail-submit --store --forkoff --submit >/dev/null 2>>.perlmail-submit.log
57
58 # PerlMail fallback
59 :0:
60 Mail/perlmail-submit-failed
61 ---------------------------------- cut here ----------------------------------