OS X Server Admin: Difference between revisions

From Notes
Jump to navigation Jump to search
Line 5: Line 5:


https://discussions.apple.com/thread/6487946<br>
https://discussions.apple.com/thread/6487946<br>
http://krypted.com/mac-security/manage-the-adaptive-firewall-in-mavericks-server/
http://krypted.com/mac-security/manage-the-adaptive-firewall-in-mavericks-server/<br>
http://support.apple.com/kb/HT200259


== Mail Server ==
== Mail Server ==

Revision as of 11:44, 22 September 2014

Adaptive Firewall

/Applications/Server.app/Contents/ServerRoot/System/Library/CoreServices/AdaptiveFirewall.bundle/Contents/MacOS/hb_summary
afctl

https://discussions.apple.com/thread/6487946
http://krypted.com/mac-security/manage-the-adaptive-firewall-in-mavericks-server/
http://support.apple.com/kb/HT200259

Mail Server

View:
sudo serveradmin settings mail

View:
sudo serveradmin settings mail:postfix:message_size_limit
Set:
sudo serveradmin settings mail:postfix:message_size_limit = 18874368

View Mail Queue:
postqueue -p

Cleanup / Reindex Dovecot indexes
ls -al /Volumes/Promise\ RAID/Library/Server/Mail/Data/mail/E549D2BF-180C-4D7B-BF13-2E94B0220F90/.*/dovecot*
ls -al /Volumes/Promise\ RAID/Library/Server/Mail/Data/mail/E549D2BF-180C-4D7B-BF13-2E94B0220F90/dovecot*

Stop Mail Server
rm /Volumes/Promise\ RAID/Library/Server/Mail/Data/mail/E549D2BF-180C-4D7B-BF13-2E94B0220F90/dovecot*
rm /Volumes/Promise\ RAID/Library/Server/Mail/Data/mail/E549D2BF-180C-4D7B-BF13-2E94B0220F90/.*/dovecot*
Start Mail Server

http://help.directadmin.com/item.php?id=473

Calendar/iCal Server

Tweak / Modify Access settings to view Location Calendars
sudo calendarserver_manage_principals --list-principals locations
sudo calendarserver_manage_principals --list-principal locations

sudo calendarserver_manage_principals --add-read-proxy groups:workgroup locations:289CCAAC-88E3-48E3-89FD-4567A466AA91

Directory Service command line

https://discussions.apple.com/thread/4029413?start=0&tstart=0

dscl /LDAPv3/127.0.0.1 -list /Users GeneratedUID
dscl /LDAPv3/127.0.0.1 -readall /Users
dscl /LDAPv3/127.0.0.1 -readall /Computers RecordName macAddress