Last active
December 16, 2015 18:59
-
-
Save lfalanga/5481923 to your computer and use it in GitHub Desktop.
Most useful postfix commands.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Start - Stop - Restart postfix server. | |
/etc/init.d/postfix start|stop|restart | |
# Postfix restart in Mac OS X 10.8 Mountain Lion | |
sudo launchctl unload /System/Library/LaunchDaemons/org.postfix.master.plist | |
sudo launchctl load /System/Library/LaunchDaemons/org.postfix.master.plist | |
# Delete mail queue in MacOSX | |
sudo postsuper -d ALL | |
# Test postfix configuration | |
date | mail -s testing [email protected] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment