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
|