All posts › apple
-
Setting up WordPress local docker environment for Apple Silicon
A step-by-step checklist for standing up the official wordpress-develop Docker environment on Apple Silicon, covering Homebrew, git, Docker, nvm, npm, docker-compose overrides, and shortcut commands for initializing, cleaning up, running PHPUnit tests, and applying Trac patches.
-
Transferring IMAP Messages
The final phase of migrating to Dreamhost involved using imapsync with a caching and sync command to transfer all IMAP mail, completing successfully for all users after a minor hiccup with moving mail accounts between domains.
-
Not Running a Server
After more than five years of self-hosting, the decision was made to move to Dreamhost and let professionals handle server administration, with transferring existing IMAP email being the biggest concern.
-
Happy Birthday!
A brief photo post celebrating becoming a teenager and the excitement of receiving an iPhone 5C as a birthday gift.
-
chroot'd SFTP on Mac OS X server
A detailed walkthrough for setting up a chroot jail for SFTP on Mac OS X Server, covering sshd_config changes, directory ownership rules, using bindfs via Homebrew to mount folders into the jail, and an extra step required after upgrading to Mountain Lion Server.
-
Setting up WebDAV Share in Mac OS X Server
How to set up a personal WebDAV share on Mac OS X Server as self-controlled online storage, covering creation of a Web Realm in Server Admin, setting folder permissions, and creating a symlink so the share can be mounted via Connect to Server from macOS or iOS.
-
Fail2ban Problems and Solutions
A fix for a Fail2ban issue on OS X where multiple bans sharing the same ipfw rule number get cleared prematurely, solved by generating a random rule number via a shell variable, with custom jails and filters available as a downloadable bundle.
-
Fail2ban and OS X Server, Part Deux
An overview of custom Fail2ban modifications for Snow Leopard Server adding jails for SMTP, POP, IMAP, VNC, and invalid web requests, distributed as a downloadable tarball with an installation script and LaunchDaemon plists to keep Fail2ban running reliably.
-
Setting up Snow Leopard iCal Server
Quick notes on configuring Snow Leopard iCal Server with the correct Wiki Server settings to get group calendars working, including the exact CalDAV URL formats for both macOS iCal and iOS clients.
-
Dovecot Permissions
After migrating to OS X Snow Leopard Server, Dovecot mail folder permission errors caused webmail failures, and terminal scripts using chown are provided to bulk-fix ownership across all mail user directories or reset permissions for a single account by GUID.
-
Snow Leopard Sieve Rules
A guide to manually editing Sieve email filter rules on Mac OS X Snow Leopard Server using terminal commands to locate and modify user-specific sieve script files, including a workaround requiring HTTPS for wiki settings changes to take effect.
-
WordPress Automatic Updates
How to get WordPress automatic plugin and theme updates working on OS X Server by fixing Apache file ownership with chown and adding a direct filesystem method constant to wp-config.php, with a note that the fix works for plugins and themes but not core WordPress updates.
-
Server-Side Email Filtering With Sieve
A step-by-step guide to enabling server-side email filtering with Sieve on Mac OS X Server, covering the Sieve service setup, installation of the avelsieve SquirrelMail plugin, and a fix for an authentication bug in its PHP library.
-
False Positive
A command-line workflow for reviewing and releasing SpamAssassin-quarantined email on OS X Server using TextExpander snippets to automate copying, unzipping, previewing, and releasing messages, making the entire process manageable from an iPhone or iPad.
-
Don't Send iCal Replies
A tip for suppressing automatic email replies when accepting or declining iCal invites on Mac OS X, with a downloadable script bundle containing install and uninstall shell scripts and a pointer to the iCal Reply Checker app for those who prefer a GUI.
-
iPad Arrives
First impressions of the original iPad after handling one at the hospital, noting its light weight, bright display, and usable keyboard, while looking forward to the upcoming iPhone 4.0 announcement.
-
Fail2ban on Leopard Server
Getting fail2ban running on Mac OS X Leopard Server required several workarounds — a launchd plist to create a missing run directory, tweaks to the ipfw action module, and a custom filter for bots hammering nonexistent URLs — all of which are documented and shared.
-
VoodooPad Pro Blogging
A complete workflow is documented for using VoodooPad as a static-site CMS, combining Lua script plugins, a web export plugin, and shell scripts to handle file organization, sitemap generation, Atom feed creation, and URL correction, with a sample project package included.
-
Amavisd settings
Spam with malformed MIME boundaries was bypassing SpamAssassin on an OS X Server mail setup and reaching recipients unscored, and changing the Amavisd final_bad_header_destiny setting from D_PASS to D_REJECT is proposed as the fix.
-
iCal – Exchange Time Zone Fix – Chapter 3
The iCal-Invite-Fix AppleScript was updated to support multiple Exchange servers in a single script by using two paired list properties that map Exchange TZID fragments to the correct iCal time zone identifiers.
-
Importing Mail Message Attachments Into Aperture
An AppleScript called SaveAttachments2Aperture was created to import email attachments directly into Apple Aperture, filling the gap left by the missing Quick Look shortcut that iPhoto users already enjoyed, with later versions adding file-type filtering and support for common camera raw formats.
-
iCal - Exchange Time Zone Fix - Chapter 2
A substantially rewritten iCal-Invite-Fix AppleScript handles the three main Exchange/Outlook invite types (REQUEST, PUBLISH, and CANCEL) and multiple encoding formats, with detailed setup instructions for configuring script properties and wiring the script to a Mail rule.
-
iCal - Exchange Time Zone Fix - Part 2
An interim update to the MailExchange2iCal-TZ-fix script fixes a parsing failure for .ics invites delivered only as attachments or in base64 encoding, and corrects the script so it runs reliably from a Mail rule.
-
iCal - Exchange Time Zone Fix
A single AppleScript solution is presented to fix the broken time zone information that Microsoft Exchange injects into iCal meeting invites, preventing Mac users from missing meetings by correcting the TZID before the event is imported.
-
Securing Email
A brief account of getting SSL working for IMAP, POP, and SMTP on a Leopard Server Mac mini after two frustrating days, resolved by following Panther-era instructions from Joel Rennich with only a minor workaround for the serial file.
-
Running SpamAssassin locally
A walkthrough of using DisSpam with SpamAssassin in a cron job to filter POP3 spam before it reaches an iPhone, including a custom patch that checks headers against a hash file first to dramatically speed up processing of large mailboxes.