Technical professionals. Trusted advisors. Certified expertise.

HCS Blog

Problem-solving by Apple Certified Professionals
Oct
27

Changing the OS X mail server maximum email attachment size

OS X Server includes a very robust mail server, that while not widely used by the IT community, uses tried-and-true open source software (dovecot and postfix) for POP, IMAP, and SMTP services. However, the Server app interface does leave many configurable options out of the user interface, and one important one is the maximum e-mail attachment size for your message. So, if you need to change it, you need to know the size in bytes. There are many megabyte to byte calculators on the internet.

First, find out the current maximum attachment size.

postconf | grep message_size_limit

This should return 10 MB in bytes, which is

message_size_limit = 10240000

Use postconf to change this. In this case, I am changing it to 50 MB

postconf -e message_size_limit=52428800

And finally, reload postfix

sudo postfix reload

You're done!

Oct
24

How to Configure a Brocade Fibre Switch From a Mac

For people who are not comfortable configuring their Brocade switches from the Terminal, it is possible to configure it using the GUI interface and Java on your Mac.

You need Java 7 for this to work.  I used Java 7 update 79 on OS X Yosemite and was able to configure a Brocade 6500 switch with no issues.  Java 8 will NOT work.


Step 1.  Go to System Preferences and click on the “Java” pane.  

Step 2.  Go to the “Security” tab and add an entry for your brocade switch to the exceptions list.

Step 3.  Quit System Preferences when done.

Step 4.  Launch “Terminal” and enter the command below.  

NOTE:  Change the IP address to the IP address of your Brocade Switch.

javaws http://192.168.5.10/switchExplorer_installed.html

This will launch the Java runtime environment and you will be able configure the switch from your Mac.

Oct
22

Caching Server - Disable iCloud Caching

An interesting new feature of Caching Server 5 is the ability to cache personal iCloud data.  There could be a variety of reasons why this may not be desirable in some environments, one of which could be concerns over storage capacity on the caching server.  Here is how to disable that feature using the serveradmin command in Terminal:

sudo serveradmin settings caching:AllowPersonalCaching = no

Change that boolean field to yes to re-enable this feature.

Oct
19

Prevent the Photos app in OS X from launching when plugging in an iOS device.

Prevent the Photos app in OS X from launching when plugging in an iOS device.

This sets an OS X flag so not activate ImageCapture,Photos or iPhoto when an iOS device is detected.

1. Launch Terminal from the /Applications/Utilities.

2. Enter the following command:

defaults -currentHost write com.apple.ImageCapture disableHotPlug -bool YES

Oct
16

El Capitan - Setup Assistant Screen Capture

New in El Capitan is the ability to take screen captures of the setup assistant windows.  This is going to be very helpful when writing tutorials that involve the first boot setup assistant screens.

For each screen that you want to capture, press command > shift >3.  Upon login, all of the screenshots will be on the desktop.  

As a bonus, you can take a screen capture of the login window and it works the same way.  The next user that logs in will have the screen capture on their desktop.

Oct
01

Create an OS X 10.11 El Capitan installer.

There is a very simple way to create an OS X 10.11 El Capitan installer.
You need the full installer of OS X 10.11 El Capitan and a USB Drive (or something similar)
 
 
OS X 10.11 El Capitan has an executable file createinstallmedia to make a bootable usb.


Command to make an external OS X 10.11 El Capitan installer
This is assumes you have a an external partition named "YOURVOLUMENAMEHERE” (You should probably change your volume name)
Make changed where appropriate

sudo /Applications/Install\ OS\ X\ El\ Capitan.app/Contents/Resources/createinstallmedia --volume /Volumes/YOURVOLUMENAMEHERE/ --applicationpath /Applications/Install\ OS\ X\ El\ Capitan.app/ --nointeraction

2. Type in your password (Assuming you are an admin)
3. You will see the following:

Erasing Disk: 0%... 10%... 20%...100%...
Copying installer files to disk...
Copy complete.
Making disk bootable...
Copying boot files...
Copy complete.
Done.

Locations


New York

Connecticut
Florida
Louisiana
Chicago

Corporate Headquarters
New York

80 Orville Drive Suite 100
Bohemia, NY 11716
Tel: (866) 518-9672
This email address is being protected from spambots. You need JavaScript enabled to view it.

Connecticut

65 High Ridge Road #510
Stamford, CT 06905
Tel: (866) 518-9672
This email address is being protected from spambots. You need JavaScript enabled to view it.

Florida

3321 SW 194th Terrace
Miramar, FL 33029
Tel: (866) 518-9672
This email address is being protected from spambots. You need JavaScript enabled to view it.

Louisiana

218 Barksdale Drive
Broussard LA 70518
This email address is being protected from spambots. You need JavaScript enabled to view it.

Chicago

4 Knollwood Place
Joliet, IL 60433
This email address is being protected from spambots. You need JavaScript enabled to view it.

London

10 Grosvenor Court
Rayners Road
London SW15 2AX UK

Stay Connected

© Copyright 2023, HCS Technology Group. All Rights Reserved.