7 Edit: PerlMail/Config.pm
8 MySQL database password store to: /home/USERNAME/priv/mysql.USERNAME.pwd
9 (optional if using APOP/POP3/Cyrus) Cyrus password store to: /home/USERNAME/priv/lmtp.cyrus.pwd
10 Run: ./perlmail-submit --initdb
13 (if you are using xinetd(8) instead of inetd(8)) workstation: /etc/xinetd.d/perlmail
14 Copy "xinetd.perlmail" as "/etc/xinetd.d/perlmail".
15 substitute: USERNAME, PATH/TO
16 Use ntsysv(8) to enable the service "perlmail".
18 (if you are using inetd(8) instead of xinetd(8)) workstation: /etc/inetd.conf
19 substitute: USERNAME, PATH/TO
20 ---------------------------------- cut here ----------------------------------
21 852 stream tcp nowait USERNAME /home/USERNAME/PATH/TO/PerlMail/perlmail-accept perlmail-accept --inetd
22 ---------------------------------- cut here ----------------------------------
25 (optional, recommended) workstation: /etc/services
26 ---------------------------------- cut here ----------------------------------
28 ---------------------------------- cut here ----------------------------------
31 (optional if using sendmail wrapper) workstation: /etc/aliases
34 ---------------------------------- cut here ----------------------------------
35 sentout: /home/USERNAME/Mail/sentout
36 ---------------------------------- cut here ----------------------------------
39 (optional if using sendmail wrapper) workstation: Run
40 substitute: USERNAME, PATH/TO
41 ---------------------------------- cut here ----------------------------------
42 mv /usr/sbin/sendmail /usr/sbin/sendmail-orig
43 ln -s /home/USERNAME/PATH/TO/PerlMail/perlmail-sendmail /usr/sbin/sendmail
44 ---------------------------------- cut here ----------------------------------
49 ---------------------------------- cut here ----------------------------------
50 */10 * * * * exec $HOME/PATH/TO/PerlMail/perlmail-submit &>/dev/null --submit --clean 4d
51 ---------------------------------- cut here ----------------------------------
54 server: $HOME/.procmailrc
56 ---------------------------------- cut here ----------------------------------
62 |./PATH/TO/PerlMail/perlmail-submit --store --forkoff --submit >/dev/null 2>>.perlmail-submit.log
66 Mail/perlmail-submit-failed
67 ---------------------------------- cut here ----------------------------------