sendmailの作りかた 1. get sendmail.8.8.8.tar.gz 1. get sendmail.8.8.8+2.7Wbeta7.patch.gz 2. get CF-3.6W.tar.gz 3.解凍 4.sendmail編 1. cd $SENDMAILDIR/src 2. zcat ../../sendmail.8.8.8+2.7Wbeta7.patch.gz | patch 3. sh Patch-makefiles 4. sh makesendmail 5. mv /usr/sbin/sendmail /usr/sbin/sendmail.8.8.5 6. mv /usr/bin/newaliases /usr/bin/newaliases.8.8.5 7. mv /usr/bin/mailq /usr/bin/mailq.8.8.5 8. sh makesendmail install (本当はここに,/usr/bin/hoststat,/usr/bin/purgestatもあるのでこれも 退避しないといけなかった) 5.CF編 1. cd $CFDIR 2. make cleantools 3. make tools 4. make samples 5. cp titan:/usr/machine/etc/sendmail.cf/titan-v7+CF-3.6Wpre2.def sendmail.def 7. make sendmail.cf defファイルの中のMY_DOMAIN,MY_NAMEを省略してもうまくいかない. (とおもう.sendmail.cfの中に自動的にはうめこまれなかった) 8.mv /usr/machine/etc/sendmail.cf /usr/machine/etc/sendmail.cf.old 9. mkdir /usr/machine/etc/sendmail.cf 10. mv /usr/machine/etc/sendmail.cf.old /usr/machine/etc/sendmail.cf 11. rm /etc/sendmail.cf 12. ln -s /usr/machine/etc/sendmail.cf/sendmail.cf 13. cp titan:/etc/sendmail.{localdomain,localip,relaydomain} lime:/usr/machine/etc/ 14. ln -s /usr/machine/etc/sendmail.{localdomail,localip.relaydomain} /etc/ 15. cp /home/manabu/ar*/sendmail.def /usr/machine/etc/sendmail.cf/lime-v7+CF-3.6Wpre3.def 16. co /home/manabu.ar*/senamail.cf /usr/machine/etc/sendmail.cf/lime-v7+CF-3.6Wpre3.cf