<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Musings of an Apple Systems Administrator &#187; servers</title>
	<atom:link href="http://www.jonsblog.org/tag/servers/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jonsblog.org</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Wed, 11 Jan 2012 19:33:26 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>10.6.4 Group Calendars in iCal officially supported</title>
		<link>http://www.jonsblog.org/2010/07/24/10-6-4-group-calendars-in-ical-officially-supported/</link>
		<comments>http://www.jonsblog.org/2010/07/24/10-6-4-group-calendars-in-ical-officially-supported/#comments</comments>
		<pubDate>Sat, 24 Jul 2010 22:07:44 +0000</pubDate>
		<dc:creator>Jon Brown</dc:creator>
				<category><![CDATA[Wiki Server]]></category>
		<category><![CDATA[group calendars]]></category>
		<category><![CDATA[iCal]]></category>
		<category><![CDATA[musings]]></category>
		<category><![CDATA[servers]]></category>
		<category><![CDATA[solution]]></category>

		<guid isPermaLink="false">http://www.jonsblog.org/?p=182</guid>
		<description><![CDATA[Group calendars in Apples Wiki Server has been an uncomfortable conversation piece among 10.4, 10.5 and 10.6 Apple Systems Administrators. Ever since Apple has given us the ability to use web based group calendars its been a cat and mouse game to get some level of support in iCal. In 10.4 when these calendars first [...]]]></description>
			<content:encoded><![CDATA[<p>Group calendars in Apples Wiki Server has been an uncomfortable conversation piece among 10.4, 10.5 and 10.6 Apple Systems Administrators. Ever since Apple has given us the ability to use web based group calendars its been a cat and mouse game to get some level of support in iCal. In 10.4 when these calendars first came out it was a very cool idea give users their own calendars and give them a web interface to use it. Allow them to subscribe to their calendars in iCal which allowed the user read only access to their calendar.</p>
<p>When 10.5 server came out not only were there personal calendars but group calendars. The difference was that the personal calendars allowed the user to fully manage their calendar both on the web and in iCal however Apple still maintained that group calendars would be only subscribe-able in iCal. The difference here was that many users found workarounds that allowed the fully managed solution of group calendars in iCal by using the following methods.</p>
<p>Method A: Creating a user account and changing the server path with the &#8220;groups&#8221; variable. (<a href="http://www.macosxhints.com/article.php?story=20080410162942908">Solution</a>)</p>
<p>Method B: Creating a user account and changing the server path with the &#8220;wikis&#8221; variable. (<a href="http://discussions.apple.com/message.jspa?messageID=10132577#10132577">Solution</a>)</p>
<p>This worked but much needed security updates broke both of these solutions causing unnecessary stress on the Apple user and the Apple systems administrator. The most <a href="http://lists.apple.com/archives/rockies-edu/2010/Jun/msg00039.html">recant update</a> to 10.6.4 caused the group calendars in iCal to stop working entirely and cause an almost never-ending string </p>
<p>of login failed errors on the users computer. This made it very frustrating for Administrators who are trying to sell the idea of a wiki server as being a great web based and iCal based interface for users. In Apples defense they never officially claimed to support group calendaring in iCal.<br />
<span id="more-182"></span><br />
One of the reasons for this was probably because of the volatile nature of the group account. In 10.5 server group calendars were maintained and created using workgroup manager in 10.6 server they were separated entirely and now the administration of group wikis is all done through their web interface. Due to the separation groups that once had a unique UID, username and password were demoted to the basic functionality of a web folder and directory for the purpose of internet data organization.</p>
<p>With this in mind I was very pleased when Apple released its <a href="http://support.apple.com/kb/DL1062">10.6.4 Wiki Server update</a>. The thing that really made me happy was the fact that now they have officially come out and are supporting group calendars in iCal. This is awesome finally what we have been waiting for. The best thing is that in true Apple fashion their update offers an elegant and much faster solution.</p>
<p>So how do you setup group calendars in 10.6.4? The answer is not really surprising as it takes some of the steps used in previous solutions.</p>
<div id="_mcePaste">In order to view the group calendars, open iCal, open its Preferences, and click on the Accounts tab.</div>
<div id="_mcePaste">
<ol>
<li>There you will create an account by hitting the &#8220;+&#8221; sign.</li>
<li>Choose automatic enter the full account name and or email address that has access to the group calendar in question. Enter the users password.</li>
</ol>
</div>
<div>iCal will contact the server and if the user is found an account will be setup. Once it is setup follow these steps.</div>
<div id="_mcePaste">
<ol>
<li>Click on the server settings tab. The server path URL here is what needs to be modified.</li>
<li>By default the path will look like this /principals/__uids__/USERID/ change the path to this /principals/__uids__/wiki-nameofgroupcalendarhere/</li>
<li>Go back to the account information tab and re-enter the users password.</li>
<li>Change the calendar description.</li>
<li>Close the preferences window, once done the calendar will refresh itself it may take some time. You can speed up the process by quitting iCal and re-launching.</li>
</ol>
</div>
<p>Oddly enough this solution was and should be credited to a <a href="http://discussions.apple.com/thread.jspa?threadID=2140008&amp;tstart=0">user on this post </a>who had originally tried to get group calendars in iCal working in 2009! Looks like Apple took some much needed advice in this arena and I am very happy that they have officially started supporting this much needed feature.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jonsblog.org/2010/07/24/10-6-4-group-calendars-in-ical-officially-supported/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>10.6.2 Mail Server draws a blank, subject?</title>
		<link>http://www.jonsblog.org/2010/01/26/10-6-2-mail-server-draws-a-blank-subject/</link>
		<comments>http://www.jonsblog.org/2010/01/26/10-6-2-mail-server-draws-a-blank-subject/#comments</comments>
		<pubDate>Tue, 26 Jan 2010 00:14:43 +0000</pubDate>
		<dc:creator>Jon Brown</dc:creator>
				<category><![CDATA[Mail Server]]></category>
		<category><![CDATA[OSX Server Configuration]]></category>
		<category><![CDATA[blank]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[mail]]></category>
		<category><![CDATA[servers]]></category>
		<category><![CDATA[subject]]></category>

		<guid isPermaLink="false">http://www.jonsblog.org/?p=71</guid>
		<description><![CDATA[So we upgraded from 10.5.8 Mail server to 10.6.2 and everything went very smoothly. Mailstores were migrated and the transition from Cyrus to Dovecot was great. However once all the email was moved over and all the settings were double, and triple checked. People started complaining that every once in a while their email was [...]]]></description>
			<content:encoded><![CDATA[<p>So we upgraded from 10.5.8 Mail server to 10.6.2 and everything went very smoothly. Mailstores were migrated and the transition from Cyrus to Dovecot was great. However once all the email was moved over and all the settings were double, and triple checked. People started complaining that every once in a while their email was not getting through the server, it was getting bounced back to the sender. At first I thought that it was an internal issue with the users on our network, then I got a complaint from someone from outside the organization trying to send an email to one of our users.</p>
<p>Great, another strange Apple bug I thought until someone was able to forward me the bounced email to my personal email account. Further insight in the error showed that the message was getting bounced back due to a blank subject line.  As you can see from the example below its due to a blank or empty subject heading. Yes, apparently Apple has added this as an actual &#8220;Feature&#8221;. You can turn this off however by commenting out the only line of code in the file /etc/postfix/custom_header_checks.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;">=====================================
This is the mail system at host mail.xxxxxxx.org.
&nbsp;
I<span style="color: #ff0000;">'m sorry to have to inform you that your message could not
be delivered to one or more recipients. It'</span>s attached below.
&nbsp;
For further assistance, please send mail to postmaster.
&nbsp;
If you <span style="color: #000000; font-weight: bold;">do</span> so, please include this problem report. You can
delete your own text from the attached returned message.
&nbsp;
The mail system
&nbsp;
<span style="color: #000000; font-weight: bold;">&lt;</span>user<span style="color: #000000; font-weight: bold;">@</span>domain.org<span style="color: #000000; font-weight: bold;">&gt;</span>: host
mail.domain.org http:<span style="color: #000000; font-weight: bold;">//</span>xx.xxx.xxx.xxx said: <span style="color: #000000;">550</span> 5.7.1 empty subject
=====================================</pre></td></tr></table></div>

<p><span id="more-71"></span><br />
Turn off the mail service before you do this. Once the mail service is off edit the file using sudo pico.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">/</span>^subject: <span style="color: #000000; font-weight: bold;">*</span>$<span style="color: #000000; font-weight: bold;">/</span> REJECT empty subject header <span style="color: #000000; font-weight: bold;">in</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>
&nbsp;
into:
&nbsp;
<span style="color: #666666; font-style: italic;">#/^subject: *$/ REJECT empty subject header in /etc/</span></pre></td></tr></table></div>

<p>Start mail back up again and you will notice that the blank subject line blues are gone away.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jonsblog.org/2010/01/26/10-6-2-mail-server-draws-a-blank-subject/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>10.5.8 Server Upgrade : Mail</title>
		<link>http://www.jonsblog.org/2010/01/17/leopard-server-upgrade-mail-10-6-2/</link>
		<comments>http://www.jonsblog.org/2010/01/17/leopard-server-upgrade-mail-10-6-2/#comments</comments>
		<pubDate>Sun, 17 Jan 2010 05:11:24 +0000</pubDate>
		<dc:creator>Jon Brown</dc:creator>
				<category><![CDATA[Mail Server]]></category>
		<category><![CDATA[OSX Server Configuration]]></category>
		<category><![CDATA[OSX System Administration]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[mail]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[servers]]></category>
		<category><![CDATA[upgrade]]></category>
		<category><![CDATA[webmail]]></category>

		<guid isPermaLink="false">http://www.jonsblog.org/?p=5</guid>
		<description><![CDATA[Recently I have undergone a massive change, we have decided at our organization to go with Snow Leopard server in place of our Leopard Servers. Knowing that this could be problematic to use Apples built in GUI for migrating data I decided to start with a 100% clean configured Snow Leopard server and slowly start [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I have undergone a massive change, we have decided at our organization to go with Snow Leopard server in place of our Leopard Servers. Knowing that this could be problematic to use Apples built in GUI for migrating data I decided to start with a 100% clean configured Snow Leopard server and slowly start to migrate items over to the new server. Our current Leopard Server was running an DNS, Open Directory Master, Mail, and Wiki Server services. I have decided to share my experience in migrating our mail from one server to another.</p>
<p>setup the 10.6.2 Snow Leopard server clean before I did anything I setup DNS on the server and manually retyped and rechecked all of the DNS records from the 10.5 server to the 10.6.2 server. Once I verified that the DNS records were set. I checked the server&#8217;s DNS by running sudo changeip -checkhostname and it came back clean. Great good to go, or so I thought.</p>
<p>I had setup split horizon DNS on the server, the Open Directory Master, has already been setup on a single use Mac Mini Server. The Mac Mini Server is running the ODM and DNS. The DNS on the Mini is self referencing and my router has the public ip mapped to the private. The new Mail server (10.6.2) also running DNS had a record pointing to the public ip of the ODM. Great, next step bind the mail server to the ODM so that I can start to migrate mail accounts.</p>
<p>I was working on this project around 10:00pm in the evening not knowing how long that it would take to migrate the accounts from Cyrus to Dovecot, but I had studied the Apple upgrade instructions for weeks prior so I felt like I had it totally under control. I followed the instructions and used the code from page 42 of the manual.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>libexec<span style="color: #000000; font-weight: bold;">/</span>dovecot<span style="color: #000000; font-weight: bold;">/</span>migrate_mail_data.pl <span style="color: #660033;">--moveMail</span> <span style="color: #000000;">0</span> <span style="color: #660033;">--cyrusBin</span> <span style="color: #ff0000;">&quot;/Volumes/10.5 Server Volume Name/usr/bin/cyrus/bin&quot;</span> <span style="color: #660033;">--database</span> <span style="color: #ff0000;">&quot;/Volumes/10.5 Server Volume Name/var/imap&quot;</span> <span style="color: #660033;">--sourceSpool</span> <span style="color: #ff0000;">&quot;/Volumes/10.5 Server Volume Name/var/spool/imap&quot;</span> <span style="color: #660033;">--targetSpool</span> <span style="color: #ff0000;">&quot;/var/spool/imap/dovecot/mail&quot;</span></pre></div></div>

<p><span id="more-5"></span><br />
The script will tell you if your doing something wrong, which is helpful. My biggest question was how long would it take to migrate 30GB of mail to the new mail server. The answer, exactly two hours. I had decided that instead of using a firewire cable to connect the two servers together that I would simply pop the HD out of the old mail server and put it into the new server. This made a huge difference in the time of migration.</p>
<p>Once it finished I turned on mail, and everything started working fine. Great! I cleaned up my tools and logged out of the server and went home around 2am. The next few days were pure hell. As mentioned above I decided to use split horizon DNS. It was my first attempt at doing this and what I had noticed in the logs were a myriad of disconnect warnings every 5 min the mail server was getting disconnected from the ODM and then reconnecting causing some major issues.</p>
<p>The log files were filling up so fast that they were causing kernel panics, I had to reboot the server many times once every couple of hours, I decided to call Apple. The Apple representative captured my logs, and promptly told me that I would have to reformat the hard drive and completely start over. I told him that this was a clean install and that no way would I be starting over. He offered no other solution or advice other than telling me that it was not normal for a new server to have kernel panics this early in the game.</p>
<p>I decided to check my DNS turns out that the route statement in the router, was not properly entered. It was getting to the server but it was unable to retain a connection. I re-entered the route statement correctly and then rebooted the router. Almost immediately the issues stopped. Apple has come a long way in their migration capabilities if your ever having issues with your 10.6.2 mail service DNS is almost always the culprit!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jonsblog.org/2010/01/17/leopard-server-upgrade-mail-10-6-2/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>

