# # http://www.sendmail.org # http://www.sendmail.org/tips/ # # # 07-May-02 amo Download and install sendmail-8.12.3 ( prior version: 8.9.3/8.9.3 ) # # # # Installing Sendmail # ------------------- # http://cork.linux.ie/projects/install-sendmail - (untested) sendmail installer # # http://www.redhat.com/support/resources/howto/RH-sendmail-HOWTO/book1.html # http://mail-abuse.org/rbl/usage.html # # http://www.cerritoslug.org/tutorials/sendmail-8.11.html # http://www.cyberflunk.com/~nikm/unix/sendmail.html - ( libdb ) # http://www.linuxfocus.org/English/March1998/article32.html # http://archive.linuxfromscratch.org/lfs-museum/2.3.1/LFS-BOOK-2.3.1-HTML/c1797.html#AEN1814 # http://www.linuxsavvy.com/resources/linux/sendmail-8.9.x-mini-howto # http://linux-sxs.org/sendm2.html # http://www.tldp.org/LDP/nag2/x14607.html # http://www.users.dircon.co.uk/~trix/Raven/EyeView/SSR03/SSR03-18.htm # # # Save all incoming/outgoing emails # --------------------------------- # http://www.usenix.org/publications/login/1999-10/features/archiving.html # # # misc sendmail tutorial # http://www.aplawrence.com/Unixart/sendmail.html # http://www.networkcomputing.com/unixworld/tutorial/008/008.txt.html # # # AntiSpam # -------- # http://hexadecimal.uoregon.edu/antirelay/ # # # Secure SMTP # ----------- # http://www.sendmail.net/usingsmtpauth_install.shtml # http://www.ofb.net/~jheiss/sendmail/tlsandrelay.shtml # http://www.upenn.edu/computing/group/aaa/2001/server/smtp.html # http://www.linuxjournal.com/article.php?sid=5753 # # # # Check these later # http://www.sendmail.org/other-sendmail-links.html # # # # Backup first # ------------- # tar -zcvf /tmp/sendmail_backup.tgz /etc/sendmail* /usr/sbin/*mail* /usr/bin/*mail* /etc/mail* # # # Install Sendmail # cd /usr/local/src # tar zxvfp sendmail.8.12.3.tar.gz # # cd sendmail.8.12.3 sh Build # # cd sendmail.8.12.3/cf/cf cp generic-linux.mc config.mc vi config.mc (add the appropriate FEATUREs in) sh Build config.cf # # ps axuw | grep send kill -HUP "pid" # mv /etc/sendmail.cf /etc/sendmail.till_may08.cf cp cf/cf/config.cf /etc/sendmail.cf # /usr/sbin/sendmail -bd -q15m # # # groupadd -g 25 smmsp useradd -u 25 -g 25 -s /bin/false smmsp # # # not a typo cd sendmail.8.12.3/sendmail sh Build install # # # not a typo cd sendmail.8.12.3 sh Build install # # # cd /etc/mail ln -s ../sendmail.cf . ln -s ../sendmail.c2 . ln -s ../aliases . ln -s ../aliases.db . make clean make # # # # cd /etc/smrsh ln -s /usr/sbin/smrsh . # # # Check permissions # chown smmsp:smmsp /var/spool/clientmqueue chmod 770 /var/spool/clientmqueue # chmod 700 /var/spool/mqueue # # # mkdir /usr/adm/sm.bin # ln -s /usr/sbin/smrsh /usr/adm/sm.bin # vi smrsh/smrsh.c # - /etc/smrsh make install # # # # end of file