$Id$ Installation ------------ Edit: PerlMail/Config.pm MySQL database password store to: /home/USERNAME/priv/mysql.USERNAME.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". (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, 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 ---------------------------------- */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 ----------------------------------