X-Git-Url: http://git.jankratochvil.net/?p=PerlMail.git;a=blobdiff_plain;f=README;h=ddc11158d7213b191e6ebec998ecb1778dfd9a29;hp=8a4797cca50da74a3cf1dff59bc3af578bd7f77d;hb=ef91625985981ac6f2c9e607eba4f4b0a9deb425;hpb=1c41109ca89c6e17f7d0615f141cff7e7d3b1d7d diff --git a/README b/README index 8a4797c..ddc1115 100644 --- a/README +++ b/README @@ -5,24 +5,30 @@ 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 ---------------------------------- -workstation: /etc/aliases +(optional if using sendmail wrapper) workstation: /etc/aliases run after: newaliases substitute: USERNAME ---------------------------------- cut here ---------------------------------- @@ -30,6 +36,14 @@ 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 ----------------------------------