qmailと違ってバイナリがあるので楽
/etc/postfix/main.cfの以下の部分を編集して再起動する。
myhostname=きちんと逆引きできるドメイン
mydestination = $myhostname localhost.$mydomain
vi /etc/postfix/main.cf
queue_directory = /var/spool/postfix command_directory = /usr/sbin daemon_directory = /usr/lib/postfix mail_owner = postfix default_privs = nobody #myhostname = rutake.ddo.jp myorigin = $myhostname mydestination = $myhostname, localhost.$mydomain mynetworks = 192.168.1.0/24, 127.0.0.0/8 alias_maps = hash:/etc/postfix/aliases mail_spool_directory = /var/spool/mail debug_peer_level = 2 debugger_command = PATH=/usr/bin:/usr/X11R6/bin xxgdb $daemon_directory/$process_name $process_id & sleep 5 allow_percent_hack = no
relayhost = [SMTPサーバ]