Last active
December 14, 2015 11:49
-
-
Save iammart/5081784 to your computer and use it in GitHub Desktop.
OSX Server Admin
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
| ``` | |
| sudo serveradmin command | |
| mail:command = setAutoForward | |
| mail:userID = (the_users_shortname) | |
| mail:fwdAddress = (the_emailaddress_to_forward_to_) | |
| ``` | |
| To Remove | |
| ``` | |
| sudo serveradmin command | |
| mail:command = setAutoForward | |
| mail:userID = mailuser1 | |
| mail:fwdAddress = "" | |
| ``` | |
| http://support.apple.com/fr-fr/HT5032 |
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
| $ sudo serveradmin settings mail:postfix:message_size_limit_enabled = no | |
| # check all available settings | |
| $ sudo serveradmin settings mail |
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
| # edit postfix conf | |
| $ sudo /etc/postfix/main.cf | |
| # locate following line | |
| /smtpd_recipient_restrictions | |
| # update to | |
| $ smtpd_recipient_restrictions = permit_sasl_authenticated permit_mynetworks reject_unauth_destination permit | |
| # refresh postfix | |
| $ sudo postfix reload | |
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
| https://help.apple.com/advancedserveradmin/mac/10.7/#apd5178A1BB-15A5-46B5-ACFD-2C0550626FB2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment