ターミナルを立ち上げて、rootになります。
su -
設定ファイルをデフォルトからコピー
cp -p /etc/postfix/master.cf.defaultserver /etc/postfix/master.cf chmod 0644 /etc/postfix/master.cf.defaultserver /etc/postfix/master.cf
vi で「org.postfix.master.plist」を編集します
vi /System/Library/LaunchDaemons/org.postfix.master.plist
設定ファイルの中身をこのようにします。
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>Label</key> <string>org.postfix.master</string> <key>Program</key> <string>/usr/libexec/postfix/master</string> <key>ProgramArguments</key> <array> <string>master</string> </array> <key>QueueDirectories</key> <array> <string>/var/spool/postfix/maildrop</string> </array> <key>OnDemand</key> <false/> </dict> </plist>
postfixを起動します
postfix start
ちなみにpostfixの再起動は
postfix reload
です。
参考:http://blog.livedoor.jp/dankogai/archives/20511234.html
http://www.kozupon.com/mail/submission.html