X-Git-Url: http://git.jankratochvil.net/?p=PerlMail.git;a=blobdiff_plain;f=README;h=ddc11158d7213b191e6ebec998ecb1778dfd9a29;hp=0662e35ff2d6e8a16ce075ab7ceb56dcb9546d3e;hb=96a0bff5705d2496a76b4f3f0a61970e55135492;hpb=5d346256a5c3b4b4266b00d1adda8a56320c6171 diff --git a/README b/README index 0662e35..ddc1115 100644 --- a/README +++ b/README @@ -5,23 +5,45 @@ Installation ------------ Edit: PerlMail/Config.pm +MySQL database password store to: /home/USERNAME/priv/mysql.USERNAME.pwd +(optional if using APOP/POP3/Cyrus) Cyrus password store to: /home/USERNAME/priv/lmtp.cyrus.pwd Run: ./perlmail-submit --initdb +(if you are using xinetd(8) instead of inetd(8)) workstation: /etc/xinetd.d/perlmail +Copy "xinetd.perlmail" as "/etc/xinetd.d/perlmail". +substitute: USERNAME, PATH/TO +Use ntsysv(8) to enable the service "perlmail". -workstation: /etc/inetd.conf +(if you are using inetd(8) instead of xinetd(8)) 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 +(optional, recommended) workstation: /etc/services ---------------------------------- cut here ---------------------------------- perlmail 852/tcp ---------------------------------- cut here ---------------------------------- +(optional if using sendmail wrapper) workstation: /etc/aliases +run after: newaliases +substitute: USERNAME +---------------------------------- cut here ---------------------------------- +sentout: /home/USERNAME/Mail/sentout +---------------------------------- cut here ---------------------------------- + + +(optional if using sendmail wrapper) workstation: Run +substitute: USERNAME, PATH/TO +---------------------------------- cut here ---------------------------------- + mv /usr/sbin/sendmail /usr/sbin/sendmail-orig + ln -s /home/USERNAME/PATH/TO/PerlMail/perlmail-sendmail /usr/sbin/sendmail +---------------------------------- cut here ---------------------------------- + + server: crontab -e substitute: PATH/TO ---------------------------------- cut here ----------------------------------