Business Machine

Technology, business
and innovation.

And, not least, about
the Mac.

Weblog Archive Cutedge

by: Bernard Teo

Creative Commons License

Copyright © 2003-2012
Bernard Teo
Some Rights Reserved.

Fri 07 Mar 2003

AppleScript Studio and the Unix Shell

Category : Technology/applescriptstudio.txt

The first time I set up OS X's mail server, it took me a whole evening. I've done it about four times in all, so far, and each time I'm getting faster. Now I think it's possible to write an installer that will do it in two minutes. But I'm trying to avoid having the user edit SendMail's config files by hand. If anything can go wrong, it will go wrong here.

I'm experimenting with using AppleScript Studio to create an interface to collect the necessary configuration parameters from the user, e.g., the domain name and the name of the user who will be the postmaster. The hard part was the writing of the Unix shell script to do all the installation and that is mostly done. Now I just have to link the two together. Then I'll have a totally Mac-like SendMail installer. Mail services in under two minutes.

AppleScript Studio is proving to be really fun. I can see a lot of use for this, e.g., installing an accounting system written in Cocoa that needs to link to a MySQL backend. You can drive things at the Unix level invisibly while keeping the why/are/we/back/in/dos people happy.

Posted at 12:32PM UTC | permalink

Mail Server

Category : Technology/mailsetback.txt

I pulled back the notes I released yesterday about installing OS X's built-in Mail Server. I found two problems. I had a folder containing SendMail config files and a pre-compiled POP server binary. I found that it is possible for Stuffit to mess up file permissions. On OS X, one should create Stuffit X archives to make sure the permissions are not screwed. Second, just learnt something more about SendMail. I wanted to make the installation so Mac-like - like double-click and the mail server is all set up in one minute.

Will have to work harder.

Posted at 5:29AM UTC | permalink

Put your Mac to Work Now how would you do something like that?

Weblogs. Download and start a weblog of your own.

A Mac Business Toolbox
A survey of the possibilities

A Business Scenario
How we could use Macs in businesses

VPN Enabler for Mavericks

MailServe for Mavericks

DNS Enabler for Mavericks

DNS Agent for Mavericks

WebMon for Mavericks

Luca for Mavericks

Liya for Mountain Lion & Mavericks

Postfix Enabler for Tiger and Panther

Sendmail Enabler for Jaguar

Services running on this server, a Mac Mini running Mac OS X 10.9.2 Mavericks:

  • Apache 2 Web Server
  • Postfix Mail Server
  • Dovecot IMAP Server
  • Fetchmail
  • SpamBayes Spam Filter
  • Procmail
  • BIND DNS Server
  • DNS Agent
  • WebDAV Server
  • VPN Server
  • PHP-based weblog
  • MySQL database
  • PostgreSQL database

all set up using MailServe, WebMon, DNS Enabler, DNS Agent, VPN Enabler, Liya and our SQL installers, all on Mavericks.