Mail Service:: Using SSL on 10.4 Server for IMAP (Cyrus)
You must manually add these four lines to /etc/imapd.conf to activate and use SSL for IMAP on Mac OS X10.4 Server. The ServerAdmin GUI cannot write to imapd.conf for some reason.
Vending Machine-less Lounge:: 10.5 Default Share Points
When you first start AFP on a brand spanking new Leopard machine, the "Public" folders for each user is displayed under the "Shared Folders" list. But if you delete these (on purpose or by mistake) and would like to re-create the links, you will notice something. If you want to share two folders with the same names, they will show up like, "Public" and "Public-1". This is no good.
The solution lies in the now defunct NetInfo. NetInfo was eaten by Leopard and was thought to be dead, but it still lives as a basic XML structure in /var/db/dslocal for mundane tasks, like storing aliases for shared folders.
In 10.5.3, the alias for the sharepoints can be changed by editing the XML file in /var/db/dslocal/nodes/Default/config/Sharepoints.plist.
Vending Machine-less Lounge:: AFP File Sharing: Client Does Not Start
If you have one 10.5 mac that has problems accessing any AFP share point, see Apple's support document,
"Mac OS X 10.5: "The text entered does not appear to be a recognized URL format" alert when connecting to server".
Technically, you only need to archive and delete the URLMount folder, but in essence, you could delete anything that have been migrated from an old 10.4 account from the /Systems/Library/Filesystems directory.
osCommerce:: Notify Admin When Customer Change Of Address
We keep two different customer databases online. A MASTER database that includes all customers from the online shop, retail locations, and direct mailing lists. The other is the very dynamic database on the back-end of the online store. The problem is, when customers change their address through the online store, they assume that everything they signed up for at the retail store or telephone orders are updated too. Unfortunately, we end up sending new product catalogs to their old address in the MASTER database.
So, what I did was, I've added a $tep_mail() function entry to account_edit_process.php, so that when the customer clicks "Next" after being done with updating their address, the online store sends the admin an e-mail saying there's been a change; therefore prompting the admin to update the MASTER database.
I made it this way instead of making it totally automatic so there is a human control to keep things in check.
Vending Machine-less Lounge:: Mac OS X VPN Ports to Open
To open the IP-GRE protocol through the ServerAdmin GUI, you'll need to set the firewall to let through incoming traffic on ANY port through protocol 47.
In Mac OS X Server 10.4 this is done easily by going to ServerAdmin > Firewall > Settings > Services. In the list of pre-set rules, all the way at the top is the GRE (and ESP) settings.
In Mac OS X Server 10.3 you'll have to make your own rule:
Protocol: Other… 47