Skip to content

Instantly share code, notes, and snippets.

@kazu69
Created March 14, 2013 15:50
Show Gist options
  • Save kazu69/5162509 to your computer and use it in GitHub Desktop.
Save kazu69/5162509 to your computer and use it in GitHub Desktop.
Mac10.7 Mountain Lionでpstfixでエラー( postfix: fatal: chdir(/Library/Server/Mail/Data/spool): No such file or directory )が出たときの対応。
$ sudo mkdir -p /Library/Server/Mail/Data/spool
$ sudo /usr/sbin/postfix set-permissions
chown: /usr/share/man/man1/postalias.1.gz: No such file or directory
$ sudo /usr/sbin/postfix start
postfix/postfix-script: warning: group or other writable: /Library/Server/Mail/Data/mta
postfix/postfix-script: starting the Postfix mail system
$ sudo postfix check
postfix/postfix-script: warning: group or other writable: /Library/Server/Mail/Data/mta
$ sudo chmod g-w /Library/Server/Mail/Data/mta
$ sudo postfix check
$ sudo postfix start
postfix/postfix-script: fatal: the Postfix mail system is already running
$ sudo postfix stop
postfix/postfix-script: stopping the Postfix mail system
$ sudo postfix start
postfix/postfix-script: starting the Postfix mail system
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment