From 5d346256a5c3b4b4266b00d1adda8a56320c6171 Mon Sep 17 00:00:00 2001 From: short <> Date: Sat, 18 Oct 2003 19:28:15 +0000 Subject: [PATCH] +Installation notes --- README | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 README diff --git a/README b/README new file mode 100644 index 0000000..0662e35 --- /dev/null +++ b/README @@ -0,0 +1,45 @@ +$Id$ + + +Installation +------------ + +Edit: PerlMail/Config.pm +Run: ./perlmail-submit --initdb + + + +workstation: /etc/inetd.conf +substitute: USERNAME, PATH/TO +---------------------------------- cut here ---------------------------------- +852 stream tcp nowait USERNAME /home/USERNAME/PATH/TO/PerlMail/perlmail-accept perlmail-accept --inetd +---------------------------------- cut here ---------------------------------- + + +(optional) workstation: /etc/services +---------------------------------- cut here ---------------------------------- +perlmail 852/tcp +---------------------------------- cut here ---------------------------------- + + +server: crontab -e +substitute: PATH/TO +---------------------------------- cut here ---------------------------------- +*/10 * * * * exec $HOME/PATH/TO/PerlMail/perlmail-submit &>/dev/null --submit --clean 4d +---------------------------------- cut here ---------------------------------- + + +server: $HOME/.procmailrc +substitute: PATH/TO +---------------------------------- cut here ---------------------------------- +#:0 c: +#Mail/backup + +# PerlMail forward +:0 W +|./PATH/TO/PerlMail/perlmail-submit --store --forkoff --submit >/dev/null 2>>.perlmail-submit.log + +# PerlMail fallback +:0: +Mail/perlmail-submit-failed +---------------------------------- cut here ---------------------------------- -- 1.8.3.1