: [# /usr/local/src/sendmail-8.12.2]# sh Build
: [# /usr/local/src/sendmail-8.12.2/obj.Linux.2.4.7-10.i686/makemap]# make install
: [# /usr/local/src/sendmail-8.12.2/obj.Linux.2.4.7-10.i686/sendmail]# cp sendmail /usr/sbin/sendmail
: [# /usr/local/src/sendmail-8.12.2/obj.Linux.2.4.7-10.i686/sendmail]# ln -s /usr/sbin/sendmail /usr/lib/sendmail
: [# /usr/local/src/sendmail-8.12.2/obj.Linux.2.4.7-10.i686/sendmail]# chown root.bin /usr/sbin/sendmail
: [# /usr/local/src/sendmail-8.12.2/obj.Linux.2.4.7-10.i686/sendmail]# chmod 4555 /usr/sbin/sendmail
: [# /usr/local/src/sendmail-8.12.2/cf/cf]# m4 ../m4/cf.m4 generic-linux.mc > sendmail.cf
: [# /usr/local/src/sendmail-8.12.2/cf/cf]# cp sendmail.cf /etc/sendmail.cf
:
:
: [# /etc/mail]# ln -s /etc/sendmail.cf /etc/mail/sendmail.cf
: [# /etc/mail]# touch /etc/mail/local-host-names
: [# /etc/mail]# install -d -m 700 /var/spool/mqueue
: [# /etc/mail]# /etc/rc.d/init.d/sendmail restart
:
:
: 이렇게 하구..
: [# /etc/mail]# ps -ef | grep sendmail 하면요..
: root 7682 1 0 01:20 ? 00:00:00 sendmail: Queue runner@00:30:00
: 이런 메시지가 나옵니다.
: 원래 정상적으로 나올려면
: root 16357 1 0 00:46 ? 00:00:00 sendmail: accepting connections
:
: 나와야 하는걸로 알고 있는데..
:
: 그리고
: [root@ns /usr/local/src/ddd]# telnet localhost 25 하면
: Trying 127.0.0.1...
: telnet: connect to address 127.0.0.1: Connection refused
: 나옵니다.. 알려주세요
:
: netstat -nat 해도 25 번 포트가 안열려 있습니다.
8.11.xx버전인가 부터 /usr/sbin/sendmail의 퍼미션이 변경되었습니다.
자세한 내용은 제 홈피 공부방에서 찾아보실 수 있을 겁니다.
그럼 수고하세요..--산은 지리산....^^