https://github.com/alexzhangs/macos-postfix-autostart
Auto start postfix on Mac OS X start.
https://github.com/alexzhangs/macos-postfix-autostart
Last synced: 3 months ago
JSON representation
Auto start postfix on Mac OS X start.
- Host: GitHub
- URL: https://github.com/alexzhangs/macos-postfix-autostart
- Owner: alexzhangs
- Created: 2016-08-19T12:49:41.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-12-10T20:46:28.000Z (over 7 years ago)
- Last Synced: 2025-01-08T13:52:51.242Z (5 months ago)
- Language: Shell
- Size: 3.91 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# macos-postfix-autostart
This repo is no longer maintained. You can still use it with EI
Capitan, but with High Sierra you don't need it any more, here's why:1. There's no need to set postfix auto-start for macOS High
Sierra. postfix service will be started on demand while calling
sendmail. That's what I see.2. The SIP(metioned below) goes further to prevent system service to
be unloaded by launchctl. That makes you can't load the copied
service with the same name. Or even giving a new name and load it
successfully, while calling it, system log is saying there's
conflict service detected and the original one(from /System) will
be used.
What happens with Sierra? I don't know, it's untested.Here is what this repo was about:
Auto start postfix when user logged into Mac OS X.
There's no simple way to set postfix auto-start since Mac OS X EI
Capitan (10.11). It's why this repo exists.EI Capitan intruduced a new feature, SIP (System Integrity
Protection). It marks all files under /System as `restricted`, and no
way to change them by user even with `sudo`.Tested on Mac OS X EI Capitan (10.11).
## Installation
```
git clone https://github.com/alexzhangs/macos-postfix-autostart
sudo sh macos-postfix-autostart/install.shmacos-postfix-autostart-setup.sh
```