Postfixは高速で管理の容易な sendmail に代わる MTA です。 /etc/postfix/master.cf と /etc/postfix/main.cf の設定方法は、 ここでは触れません。
$ su # groupadd -g 21 postfix # useradd -u 21 -g postfix postfix # groupadd -g 22 postdrop
$ tar zxf postfix-2.1.5.tar.gz $ cd postfix-2.1.5 $ make && date Thu Jan 27 23:20:10 JST 2005 23:20 ... ... Thu Jan 27 23:32:31 JST 2005 $ su # make install
queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
mail_owner = postfix
debug_peer_level = 2
debugger_command =
PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
xxgdb $daemon_directory/$process_name $process_id & sleep 5
sendmail_path = /usr/sbin/sendmail
newaliases_path = /usr/bin/newaliases
mailq_path = /usr/bin/mailq
setgid_group = postdrop
html_directory = no
manpage_directory = /usr/local/man
sample_directory = /etc/postfix
readme_directory = no
#!/bin/sh # if [ -x /usr/sbin/postfix ]; then echo "Starting Postfix..." /usr/sbin/postfix start fi
su cd /etc/rc.d/rc2.d ln -s ../init.d/postfix S20postfix ls -lt lrwxrwxrwx 1 root root 17 Dec 14 18:01 S20postfix -> ../init.d/postfix