From: short <> Date: Sat, 18 Oct 2003 19:28:15 +0000 (+0000) Subject: +Installation notes X-Git-Tag: bp_lace~42 X-Git-Url: http://git.jankratochvil.net/?p=PerlMail.git;a=commitdiff_plain;h=5d346256a5c3b4b4266b00d1adda8a56320c6171 +Installation notes --- 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 ----------------------------------