<?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>André Aulich &#187; Mac OS X Server</title>
	<atom:link href="http://www.andre-aulich.de/en/perm/category/mac-os-x-server/feed" rel="self" type="application/rss+xml" />
	<link>http://www.andre-aulich.de/en</link>
	<description>Digital Asset Management &#38; Workflow Automation</description>
	<lastBuildDate>Mon, 16 Jan 2012 12:42:22 +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>Apple&#8217;s Professional Markets Strategy (my two cents)</title>
		<link>http://www.andre-aulich.de/en/perm/apples-professional-markets-strategy-my-two-cents</link>
		<comments>http://www.andre-aulich.de/en/perm/apples-professional-markets-strategy-my-two-cents#comments</comments>
		<pubDate>Tue, 05 Jul 2011 12:19:52 +0000</pubDate>
		<dc:creator>André Aulich</dc:creator>
				<category><![CDATA[Final Cut Server]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Mac OS X Server]]></category>
		<category><![CDATA[Video]]></category>
		<category><![CDATA[Xsan/StorNext]]></category>

		<guid isPermaLink="false">http://www.andre-aulich.de/en/?p=592</guid>
		<description><![CDATA[Many of the professionals working with Apple kit wonder if Apple is still going to provide them with great tools for professionals, or if Apple is going to more and more focus on consumer or prosumer markets. In short, I &#8230; <a href="http://www.andre-aulich.de/en/perm/apples-professional-markets-strategy-my-two-cents">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Many of the professionals working with Apple kit wonder if Apple is still going to provide them with great tools for professionals, or if Apple is going to more and more focus on consumer or prosumer markets.</p>
<p>In short, I would say, that</p>
<ul>
<li>Apple opens up its pro software like FCP X and Mac OS X Server to the consumer, by making it easier to learn than ever before. A great strategy to sell more boxes and devices, which surely leads to greater turnover, and probably to more profit, too, as consumers buy easy tools and need support on a very low level only (if at all), which Apple can provide for cheap.</li>
<li>Apple dumps all network products, which&#8217;s sole purpose was to help sell more client boxes to professionals in the enterprise or workgroup, like Xserves, Xserve RAIDS, Final Cut Server, and probably -on the long run- other products like Xsan metadata controllers and Mac OS X Server. In fact, I don&#8217;t think there is a big need for any of these products anymore, since Apple clients integrate just fine with Active Directory environments, most file servers, and many storage devices.</li>
<li>I don&#8217;t think that this necessarily means Apple doesn&#8217;t care for the pros anymore. I think that FCP X is already quite powerful, and multicam support, FCP X APIs/XML interfaces, SDI connectivity and the like are going to be added to FCP sooner or later. Yet, I think Apple&#8217;s main market for FCP X is the single user or small workgroup. If you look at FCP X&#8217;s media import options, you&#8217;ll see the option &#8220;Create proxy media&#8221;: <a href="http://www.andre-aulich.de/en/wp-content/uploads/2011/07/FCPXImportOption.jpg"><img src="http://www.andre-aulich.de/en/wp-content/uploads/2011/07/FCPXImportOption-450x316.jpg" alt="" title="FCPXImportOption" width="450" height="316" class="aligncenter size-medium wp-image-593" /></a>If you also look at the Sharing options: <a href="http://www.andre-aulich.de/en/wp-content/uploads/2011/07/FCPXSharingOptions.jpg"><img src="http://www.andre-aulich.de/en/wp-content/uploads/2011/07/FCPXSharingOptions-450x263.jpg" alt="" title="FCPXSharingOptions" width="450" height="263" class="aligncenter size-medium wp-image-594" /></a> you&#8217;ll see that FCP X includes an option to export files and probably metadata to CNN iReport. I bet that FCP X&#8217;s powerful metadata management capabilities and the option to generate proxies during media import, are a very good basis to add iCloud support to FCP X. I guess that for many very small workgroups it would be great to simply send a proxy version of a project to the iCloud, so that another team member can edit a sequence and send it back to the original FCP X machine which has access to hires files to render the final output. This might be a very good Final Cut Server replacement for very small teams.</li>
</ul>
<p>Making tools like FCP simpler than before doesn&#8217;t necessarily mean, that it&#8217;s not suited for pros anymore. Okay, right now it is not, but I am sure, it will soon be.</p>
<p>Yes, Apple has dumped Final Cut Server, which is the base for many postpro environments, now. But FCSvr meant to most of its customers, that you needed Xsan in place (most resellers and consultants were simply not able to design these systems right), that Open or Active Directory needed to work fine and that your Mac and Windows clients needed to be integrated into this directory infrastructure (and again, most service providers could not do these things properly).</p>
<p>This means it was very difficult to get a Final Cut Server infrastructure working, especially as so few people know how to make storage, asset management, Open or Active Directory, filesystem permissions, portable home directories and video editing clients work together smoothly.</p>
<p>In my opinion for many small shops it would be a great step to cut out all this overhead and move FCSvr into the cloud by adding an option to FCP X.</p>
<p>On the other hand, FCSvr leaves a big gap in the market, which tools like CatDV might fill: many shops do not want to publish their data into the cloud.<br />
Especially in Europe people don&#8217;t like to store their business data on servers hosted either in the US or anywhere else by a US company, which might sooner or later grant access to these data to any kind of secret service.<br />
This leaves a need for a local DAM in enterprise environments.</p>
<p>Personally, I would like to have a much easier DAM tool than anything on the market, something that can be set up without needing a consultant, at least for small environments. For bigger environments, I would say that if you work with FCSvr, you will be able to keep your current infrastructure and just replace either the FCSvr server software or probably the whole FCSvr machine to get something else up and running.</p>
<p>As FCSvr is so open, it is totally easy to export media and metadata to any other system.</p>
<p>I had a look at the new FCP X project files and the way FCP X stores files on a central storage. Even without the Apple API I think that there is a way to extract data easily and build them into your own asset management.</p>
<p>Being a consultant, my approach to Apple&#8217;s latest announcements is this:</p>
<ul>
<li>I recommend people to use Windows servers for directory management.</li>
<li>Don&#8217;t know if Xsan will really be free in Lion. Still Xsan is a great tool, but I might recommend people to use StorNext metadata controllers at least if people need rack-mountable hardware.</li>
<li>Apple builds wonderful standalone machines, which can be integrated into enterprise environments. In fact, now that Apple focuses on its core business – building great machines which are easy to use – and doesn&#8217;t care much about the enterprise network stuff around it, there&#8217;s more money in the game for third party developers who build DAM systems. I bet we&#8217;ll see great third party solutions soon and overall Apple kit will better fit into enterprise environments than today.</li>
</ul>
<p>I feel that Apple&#8217;s approach on the pro market might leave us all with better tools in the end.<br />
Let&#8217;s see.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.andre-aulich.de/en/perm/apples-professional-markets-strategy-my-two-cents/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Replace Xsan MDC with StorNext MDC</title>
		<link>http://www.andre-aulich.de/en/perm/replace-xsan-mdc-with-stornext-mdc</link>
		<comments>http://www.andre-aulich.de/en/perm/replace-xsan-mdc-with-stornext-mdc#comments</comments>
		<pubDate>Wed, 09 Feb 2011 13:39:16 +0000</pubDate>
		<dc:creator>André Aulich</dc:creator>
				<category><![CDATA[Final Cut Server]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Mac OS X Server]]></category>
		<category><![CDATA[Video]]></category>
		<category><![CDATA[Xsan/StorNext]]></category>

		<guid isPermaLink="false">http://www.andre-aulich.de/en/?p=528</guid>
		<description><![CDATA[Attention: I don&#8217;t grant any liability for the text below. If you try any of the steps described here, on your own, I can&#8217;t guarantee that it works for you. So better do this in a test environment. If you &#8230; <a href="http://www.andre-aulich.de/en/perm/replace-xsan-mdc-with-stornext-mdc">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><strong>Attention: I don&#8217;t grant any liability for the text below. If you try any of the steps described here, on your own, I can&#8217;t guarantee that it works for you. So better do this in a test environment. If you do this in a production environment, make sure you got a recent backup of all your data and a time window big enough to recreate your setup incl. the restore of your data.</strong></p>
<p>Since Apple has discontinued the Apple Xserve in January 2011, there seems to be a growing need for rack mountable server hardware in the Apple world, which is more powerful than the Mac mini Server and takes less rack space and consumes less power than the Mac Pro.</p>
<p>If you want to run file services, directory services, software update services, and other services for Macs, Windows, and Linux clients, you&#8217;ll find both Linux and Windows based solutions to do just that. On the other hand, the Mac Pro and the Mac mini Server seem to be great systems to serve many of these things, too.</p>
<p>Yet, if you read the announcement of <a href="http://www.activestorage.com/activesan.php">ActiveSAN</a>, it seems as if there was a high demand for a 1U rack mountable metadata controller for Xsan environments.<br />
What the guys at ActiveStorage seem to do is build great server hardware incl. nice monitoring and setup tools, which make it easy to set up a Quantum StorNext metadata controller to handle your Mac-based Xsan clients.</p>
<p>If you are an Xsan or StorNext pro anyway and work in the command line most of the day, you can even replace your existing Apple Xserve MDC with a Linux-based StorNext MDC with a minimal downtime of your Xsan volume. This is what you need:</p>
<ul>
<li>Server hardware which is able to run a recent Linux version. Make sure you add enough RAM, redundant drives for the boot disk, a nice and OS supported FC card, dual Gigabit Ethernet. Note: You can also use a Windows OS instead, which is nice if you integrate with Active Directory, but whatever you do, make sure, the OS of choice supports the LUN size you use in your Xsan setup. The ActiveSAN hardware looks like a very nice solution to this.</li>
<li>I would go for CentOS as the MDC&#8217;s OS, as it&#8217;s officially supported by Quantum and doesn&#8217;t cost you money. If you need support, I would go for RedHat. See <a href="http://downloads.quantum.com/SNMS/4.1/StorNext%204.1%20Supported%20Platforms_V2.pdf">http://downloads.quantum.com/SNMS/4.1/StorNext%204.1%20Supported%20Platforms_V2.pdf</a> for a list of supported MDC platforms.</li>
<li>Make sure to integrate your MDC into your directory environment. Both Active Directory and Open Directory are supported. You will need this to use ACLs (the only way to properly deal with permissions in most Xsan environments).</li>
</ul>
<p>Before you start buying the hardware to build the new MDC, you need to make sure, that you don&#8217;t have named streams enabled in your existing Xsan environment.</p>
<p>To actually migrate the volume from the Xsan MDC to the SNFS MDC, roughly follow these steps:</p>
<ul>
<li>Make sure to use matching filesystem versions in the Xsan environment and on your StorNext controllers.</li>
<li>Run cvfsck -w on the Xsan volumes.</li>
<li>On the primary Xsan metadata controller, save the folder /Library/Filesystems/Xsan/config to a place we can access easily later on, like a USB stick, e.g.</li>
<li>Shut down the Xsan metadata controllers.</li>
<li>Set up the StorNext controllers. The easiest way is to use the same IP addresses as for the Xsan metadata controllers.</li>
<li>After installing the StorNext filesystem and -optionally- the Storage Manager, copy our Xsan volume’s config file into the StorNext controller’s config folder.</li>
<li>Open the config file and delete the lines with the options “NamedStreams”, “EnableSpotlight”, and “SpotlightSearchLevel”.</li>
<li>Optionally, make the volume managed by adding the appropriate option to its config file.</li>
<li>Make sure to run <code>chown www:adic</code> on the config file as well as <code>chmod 664</code></li>
<li>Run cvfsck on the volume.</li>
<li>Start the volume and mount it.</li>
<li>You are done.</li>
</ul>
<p>If you want to add Xsan clients to your StorNext controller, you find a nice article at <a href="http://krypted.com/xsan/adding-xsan-clients-to-stornext-environments/">http://krypted.com/xsan/adding-xsan-clients-to-stornext-environments/</a>.</p>
<p>While this migration is something that can be done very easily, you need to consider, that StorNext currently doesn&#8217;t support Spotlight searches, so you can&#8217;t easily use the Finder to search for content. If your users navigate through the filesystem or use a DAM like Final Cut Server, this is not an issue at all. (On the other hand, the StorNext MDC catches all filesystem events, so I guess it should be possible to write a client, which collects these events and tells a dedicated Mac machine to add new files to the filesystem&#8217;s central Spotlight DB).</p>
<p>Another caveat is that the automatic HSM process in Storage Manager, which moves data to tape and restores them to disk as needed, restores data whenever a file gets invoked by a client. You either need to turn off previews in Finder to prevent constant restores, or you better hide the filesystem from the Finder and let your users access the filesystem through FCSvr and its edit-in-place option only.</p>
<p>One of the best things that come with the migration from Xsan to StorNext is that you can add additional functions (part of SNFS and/or SNSM) like filesystem replication, Distributed Data Mover, HSM functionality, writing to tape, etc.</p>
<p>In addition, SNFS has documented optimization settings for image sequences, which is very interesting for film production.</p>
<p>On the other hand, if you already own an Xserve which runs your Xsan, I would say that this is a great hardware to do just that.</p>
<p>Although I have done the migration described here in the lab, and found it reasonably easy, I am curious to see ActiveSAN as soon as it&#8217;s there, because it looks like they made the process of building a new Xsan/StorNext environment so much easier.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.andre-aulich.de/en/perm/replace-xsan-mdc-with-stornext-mdc/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Use Apache as reverse proxy for multiple web services (on 10.6 server)</title>
		<link>http://www.andre-aulich.de/en/perm/use-apache-as-reverse-proxy-for-multiple-web-services-on-10-6-server</link>
		<comments>http://www.andre-aulich.de/en/perm/use-apache-as-reverse-proxy-for-multiple-web-services-on-10-6-server#comments</comments>
		<pubDate>Tue, 18 Jan 2011 17:05:54 +0000</pubDate>
		<dc:creator>André Aulich</dc:creator>
				<category><![CDATA[Downloads]]></category>
		<category><![CDATA[Mac OS X Server]]></category>
		<category><![CDATA[Miscellaneous]]></category>

		<guid isPermaLink="false">http://www.andre-aulich.de/en/?p=485</guid>
		<description><![CDATA[Imagine you use a Mac OS X Server machine to serve your website www.example.com, but you&#8217;d also like to use Rumpus for web-based file exchange with your clients, as well as a Kerio mail server. All on the same server. &#8230; <a href="http://www.andre-aulich.de/en/perm/use-apache-as-reverse-proxy-for-multiple-web-services-on-10-6-server">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Imagine you use a Mac OS X Server machine to serve your website www.example.com, but you&#8217;d also like to use Rumpus for web-based file exchange with your clients, as well as a Kerio mail server. All on the same server.</p>
<p>Both Rumpus and Kerio come with their own builtin webserver, so you can&#8217;t run all three services on the default port 80.</p>
<p>Your website should probably run on port 80 to make sure, everyone can access it without firewalls blocking access to it.</p>
<p>Rumpus and Kerio on the other hand, should better provide their web interfaces through an SSL secured connection, as people need to enter their passwords on these sites.</p>
<p>One thing you can do now, is to let Apache run on port 80 and serve your website only, while the Rumpus web interface runs on port 443 (the default SSL website), and the Kerio web interface on a non-default port.</p>
<p>Yet, if you want to make sure that both Rumpus and Kerio don&#8217;t get blocked by a firewall, you can use Apache as a reverse proxy, meaning, that Apache answers any port 80 and port 443 web requests, and then either answers requests itself (if someone asks for your website), or forwards requests to Rumpus or Kerio.</p>
<p>To do that, you can e.g. configure Kerio to serve its plain http web interface on port 81, while Rumpus serves its SSL web interface on port 8181.<br />
We are going to serve Rumpus using the URL https://rumpus.example.com, while Kerio will reply to https://kerio.example.com.<br />
We can&#8217;t use the same name for both services, as they use the same port, 443. Either the port or the site name need to be different.</p>
<p>Now create the SSL certificates for rumpus.example.com and kerio.example.com. Make sure, that your internal and external DNS resolve these names and point them to your server.</p>
<p>Write down the paths to the SSL keys. In my setup they look something like this:<br />
<code><br />
webserver:~ root# cd /etc/certificates/<br />
webserver:certificates root# ls -al<br />
-rw-r--r--    1 root  wheel      1196 Jan 18 11:32 rumpus.example.com.1BA4694BA149ABABE6991681AEA863B9980D6CCD.cert.pem<br />
-rw-r--r--    1 root  wheel      1196 Jan 18 11:32 rumpus.example.com.1BA4694BA149ABABE6991681AEA863B9980D6CCD.chain.pem<br />
-rw-r-----    1 root  certusers  2939 Jan 18 11:32 rumpus.example.com.1BA4694BA149ABABE6991681AEA863B9980D6CCD.concat.pem<br />
-rw-r-----    1 root  certusers  1743 Jan 18 11:32 rumpus.example.com.1BA4694BA149ABABE6991681AEA863B9980D6CCD.key.pem<br />
-rw-r--r--    1 root  wheel       977 Jan 17 22:37 kerio.example.com.A62BDDC503EC429F48F6AD7DA83BDE4584D9DF35.cert.pem<br />
-rw-r--r--    1 root  wheel       977 Jan 17 22:37 kerio.example.com.A62BDDC503EC429F48F6AD7DA83BDE4584D9DF35.chain.pem<br />
-rw-r-----    1 root  certusers  1940 Jan 17 22:37 kerio.example.com.A62BDDC503EC429F48F6AD7DA83BDE4584D9DF35.concat.pem<br />
-rw-r-----    1 root  certusers   963 Jan 17 22:37 kerio.example.com.A62BDDC503EC429F48F6AD7DA83BDE4584D9DF35.key.pem<br />
</code></p>
<p>Now create two empty websites in Server Admin => Web named kerio.example.com and rumpus.example.com. Make sure they use port 443 and the SSL certificates we just created.</p>
<p>On Mac OS X Server 10.6 change to /etc/apache2/sites and open the file 0002_any_443_rumpus.example.com.conf. Instead of 0002 you might find another number, but the rest of the file name should match.</p>
<p>Change the content to match <a href='http://www.andre-aulich.de/en/wp-content/uploads/2011/01/0002_any_443_rumpus.example.com_.txt'>0002_any_443_rumpus.example.com</a>.</p>
<p>Make sure you use the correct paths to your SSL certificate files. If you run Rumpus on any other port than 8181, make sure to reflect that in this config file.</p>
<p>Please notice, that this way Apache maintains an SSL connection to your web client, and it talks to Rumpus using SSL, too.</p>
<p>Now open the file 0003_any_443_kerio.example.com.conf. Again, instead of 0003 you might find another number. Change the content to match <a href='http://www.andre-aulich.de/en/wp-content/uploads/2011/01/0003_any_443_kerio.example.com_.txt'>0003_any_443_kerio.example.com</a>.</p>
<p>Now Apache accepts SSL secured connections from the outside world and forwards them to Kerio using plain http.</p>
<p>Now type<br />
<code><br />
sudo serveradmin stop web<br />
sudo serveradmin start web<br />
</code><br />
and try to connect.</p>
<p>If you got questions setting this up, please feel free to hire my services <img src='http://www.andre-aulich.de/en/wp-includes/images/smilies/icon_biggrin.gif' alt=':-D' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.andre-aulich.de/en/perm/use-apache-as-reverse-proxy-for-multiple-web-services-on-10-6-server/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iPad Printing – Send PDF as email to Mac OS X Server 10.6</title>
		<link>http://www.andre-aulich.de/en/perm/ipad-printing-%e2%80%93-send-pdf-as-email-to-mac-os-x-server-10-6</link>
		<comments>http://www.andre-aulich.de/en/perm/ipad-printing-%e2%80%93-send-pdf-as-email-to-mac-os-x-server-10-6#comments</comments>
		<pubDate>Wed, 12 May 2010 11:43:06 +0000</pubDate>
		<dc:creator>André Aulich</dc:creator>
				<category><![CDATA[Mac OS X Server]]></category>
		<category><![CDATA[Mail]]></category>

		<guid isPermaLink="false">http://www.andre-aulich.de/en/?p=303</guid>
		<description><![CDATA[Well, everybody seems to be asking why the iPad can&#8217;t print files, yet. If you are looking for iPad printing solutions, you might have come across funny approaches like this one, but this article is about a serious solution. Credits: &#8230; <a href="http://www.andre-aulich.de/en/perm/ipad-printing-%e2%80%93-send-pdf-as-email-to-mac-os-x-server-10-6">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Well, everybody seems to be asking why the iPad can&#8217;t print files, yet.</p>
<p>If you are looking for iPad printing solutions, you might have come across funny approaches <a href="http://www.engadget.com/2010/04/15/ipad-printing-solved/">like this one</a>, but this article is about a serious solution.</p>
<p><strong>Credits: to use Mac OS X Server&#8217;s mail services to provide printing features for the iPad was Armin Briegel&#8217;s idea. You can follow him on <a href="http://twitter.com/titanonearth">Twitter</a>. I was just the guy to write the few lines of code.</strong></p>
<p>The idea is very easy: iPad&#8217;s iWork applications as well as other iPad apps can export PDF files, which you can send to an email address of choice.</p>
<p>If now you use a Mac OS X Server machine (can be a Mac mini server, e.g.) which runs mail services to print all PDF files sent to a specific address, you have an easy solution to the iPad printing &#8220;challenge&#8221;.</p>
<p>I guess you know how to set up Mac OS X Server 10.6 to run basic mail services, if not, read <a href="http://www.oreilly.de/catalog/macosxsrvrkommplger/">my wonderful O&#8217;Reilly book</a> on it <img src='http://www.andre-aulich.de/en/wp-includes/images/smilies/icon_biggrin.gif' alt=':-D' class='wp-smiley' />  The book comes in german only, so see it as a chance to improve your german <img src='http://www.andre-aulich.de/en/wp-includes/images/smilies/icon_biggrin.gif' alt=':-D' class='wp-smiley' />  , or get in touch with O&#8217;Reilly, that you want it translated into english.</p>
<p>So this is how it works:</p>
<h2>1. List available printers and test them</h2>
<p>First open the Terminal on your Mac OS X Server 10.6 and type the following line to see which printers are available for our mail printer.<br />
<code>mothership:iPadPrint root# lpstat -a<br />
EPSON_Perfection_2480_2580 accepting requests since Mon Aug 31 18:33:07 2009<br />
Fax accepting requests since Tue May 11 21:25:40 2010<br />
hp_deskjet_5550 accepting requests since Tue May 11 21:55:46 2010</code><br />
In this example you see that there are three printers available on my machine, where the EPSON device actually is a scanner, and there is a Fax available, too, but imagine that there are multiple printers you might want to use.</p>
<p>Now try if you can print PDF files to one of your printers:<br />
<code>lp -d "hp_deskjet_5550" 1.pdf</code><br />
In the line above replace &#8220;hp_deskjet_5550&#8243; with the name of your printer. Replace &#8220;1.pdf&#8221; with the absolute file path of a pdf file.<br />
If this works fine, go to the next step.</p>
<h2>2. Set up printing mail accounts on Mac OS X Server</h2>
<p>I assume that your Mac OS X Server runs as an Open Directory Master. Now open the Workgroup Manager and create a new mail account for your printer. In my case the user will be called &#8220;hp_deskjet_5550&#8243;, the domain is &#8220;andre-aulich.de&#8221;, so the complete email address will be &#8220;hp_deskjet_5550@andre-aulich.de&#8221;.</p>
<p><strong>Note:</strong> If you don&#8217;t want some Internet folks printing thousands of pages on your machines, make sure that this machine can not be reached from the internet. If this is not possible, create a dedicated internal domain which can not be reached from outside.</p>
<p>This is how the new account looks like in Workgroup Manager:<br />
<img src="http://www.andre-aulich.de/en/wp-content/uploads/2010/05/wgmanagerprinter_1.jpg" alt="" title="wgmanagerprinter_1" width="589" height="531" class="aligncenter size-full wp-image-313" /><br />
<img src="http://www.andre-aulich.de/en/wp-content/uploads/2010/05/wgmanagerprinter_2.jpg" alt="" title="wgmanagerprinter_2" width="589" height="531" class="aligncenter size-full wp-image-314" /><br />
Save theses settings, send an email without any attachements, and a second one with a PDF file as attachment to this account, and then open the Terminal and change into your dovecot&#8217;s mail directory:<br />
<code>mothership:mail root# cd /var/spool/imap/dovecot/mail<br />
mothership:mail root# ls -al<br />
total 0<br />
drwxrwxr-x  10 _dovecot         mail   340 Mar 25 09:56 .<br />
drwxr-xr-x   4 root             wheel  136 Aug 31  2009 ..<br />
drwx------  15 valerie          mail   510 Nov 10  2009 14167B4C-211D-4AA9-A2B4-4641AD5C508B<br />
drwx------  25 andre            mail   850 May 12 11:38 22D9FA73-A1CA-4981-AD37-3E06D7E4F457<br />
drwx------  13 public           mail   442 Nov 10  2009 2AF362D6-E665-48D7-98AF-E347B055135A<br />
drwx------  11 ab               mail   374 Mar 12 10:48 2EF9F9D2-69FD-4670-B1FE-2C8FC55D3675<br />
drwx------  16 ical             mail   544 Jan 15 16:32 A1BB97FC-5E6D-491C-AAED-F8B9212FE3D3<br />
drwx------  10 hp_deskjet_5550  mail   340 Mar 25 09:56 B806EEC7-9C41-49B7-8D7C-DF507DFE21DF<br />
drwx------  16 sadmin           mail   544 Nov 18 12:15 E8043686-DCCC-432F-BD96-85C400288357<br />
drwxrwxrwx   7 andre            mail   238 Nov 10  2009 Public<br />
mothership:mail root# cd B806EEC7-9C41-49B7-8D7C-DF507DFE21DF/<br />
mothership:B806EEC7-9C41-49B7-8D7C-DF507DFE21DF root# ls -al<br />
total 32<br />
drwx------  10 hp_deskjet_5550  mail  340 Mar 25 09:56 .<br />
drwxrwxr-x  10 _dovecot         mail  340 Mar 25 09:56 ..<br />
drwx------   2 hp_deskjet_5550  mail   68 Mar 25 09:56 cur<br />
-rw-------   1 hp_deskjet_5550  mail   84 Mar 25 09:56 dovecot-uidlist<br />
-rw-------   1 hp_deskjet_5550  mail    8 Mar 25 09:56 dovecot-uidvalidity<br />
-rw-------   1 hp_deskjet_5550  mail    0 Mar 25 09:56 dovecot-uidvalidity.4bab2555<br />
-rw-------   1 hp_deskjet_5550  mail  220 Mar 25 09:56 dovecot.index.log<br />
-rw-------   1 hp_deskjet_5550  mail   11 Mar 25 09:56 maildirsize<br />
drwx------   3 hp_deskjet_5550  mail  102 Mar 25 09:56 new<br />
drwx------   2 hp_deskjet_5550  mail   68 Mar 25 09:56 tmp<br />
mothership:B806EEC7-9C41-49B7-8D7C-DF507DFE21DF root# cd new<br />
mothership:cur root# ls -al<br />
total 0<br />
drwx------   2 hp_deskjet_5550  mail   68 Mar 25 09:56 .<br />
drwx------  10 hp_deskjet_5550  mail  340 Mar 25 09:56 ..<br />
-rw-------   1 hp_deskjet_5550  mail   1.3K May 12 12:02 1273658576.M795669P68535.mothership.intern,S=1327,W=1364:2,<br />
-rw-------   1 hp_deskjet_5550  mail   1.3K May 12 12:03 1273658602.M6558P68554.mothership.intern,S=1325,W=1362:2,<br />
-rw-------   1 hp_deskjet_5550  mail    77K May 12 12:05 1273658717.M385494P68662.mothership.intern,S=78367,W=79416:2,<br />
-rw-------   1 hp_deskjet_5550  mail    77K May 12 12:05 1273658742.M267533P68676.mothership.intern,S=78365,W=79414:2,</code><br />
What have we done here? Dovecot stores emails in /var/spool/imap/dovecot/mail. We list the content of the folder and see that each user has its own folder, named like the UUID of the user. If you don&#8217;t know how to look up the UUID of a user, or if you just don&#8217;t want to spend the time doing it, just look for the folder which is owned by our new printer user.<br />
If you need to look up the UUID of our newly created user, you can also type<br />
<code>dscl /LDAPv3/127.0.0.1 -read /Users/hp_deskjet_5550 | grep apple-generateduid</code><br />
in Terminal to get an output like this:<br />
<code>dsAttrTypeNative:apple-generateduid: C784550D-B2A6-4881-8DAF-0FC96D4BE8ED</code><br />
Now you can search for the mail folder of our freshly created mail user.<br />
In the code above we see that the folder B806EEC7-9C41-49B7-8D7C-DF507DFE21DF is owned by hp_deskjet_5550, so we change into this directory and list its contents. New mails will always be copied into the &#8220;new&#8221; folder, so we change into this directory and list its content, which already holds 4 emails in my case.</p>
<h2>3. Extract attachments from emails and print them</h2>
<p>First, make sure you have <a href="http://www.macports.org/">MacPort</a>s installed, then install ripmime:<br />
<code>bash-3.2# port install ripmime<br />
--->  Computing dependencies for ripmime<br />
--->  Fetching ripmime<br />
--->  Attempting to fetch ripmime-1.4.0.6.tar.gz from http://lil.fr.distfiles.macports.org/ripmime<br />
--->  Verifying checksum(s) for ripmime<br />
--->  Extracting ripmime<br />
--->  Configuring ripmime<br />
--->  Building ripmime<br />
--->  Staging ripmime into destroot<br />
--->  Installing ripmime @1.4.0.6_0<br />
--->  Activating ripmime @1.4.0.6_0<br />
--->  Cleaning ripmime</code></p>
<p>Now, create a new directory and a bash script which we are going to use for further automation:<br />
<code>mkdir -p /usr/local/iPadPrint/<br />
cd /usr/local/iPadPrint/<br />
touch printpdfs<br />
chmod +x printpdfs</code><br />
Open the script using nano and insert the following code:<br />
<code>#!/bin/bash<br />
TMPDIR="/usr/local/iPadPrint/tmp/"<br />
mkdir -p /usr/local/iPadPrint/tmp/<br />
for i in /var/spool/imap/dovecot/mail/C784550D-B2A6-4881-8DAF-0FC96D4BE8ED/new/*; do<br />
        if [[ "$(grep "Content-Type: application/pdf;" "$i")" == "" ]]; then<br />
                echo "Deleting file $i as it holds no pdf files."<br />
                rm "$i"<br />
        else<br />
                echo "Printing pdf attachment(s) of file $i"<br />
                /opt/local/bin/ripmime -i "$i" -d "$TMPDIR"<br />
                rm "$i"<br />
        fi<br />
done<br />
for i in "$TMPDIR"*; do<br />
        if [[ "$i" != *.pdf ]]; then<br />
                echo "$i deleted. No pdf file"<br />
                rm -r "$i"<br />
        else<br />
                echo "$i will be printed."<br />
                lp -d "hp_deskjet_5550" "$i"<br />
                rm "$i"<br />
        fi<br />
done</code></p>
<p>You can also download the script from <a href='http://www.andre-aulich.de/en/wp-content/uploads/2010/05/printpdfs1.zip'>here</a>. Just extract it, copy it into /usr/local/iPadPrint and make it executable.<br />
Change /var/spool/imap/dovecot/mail/C784550D-B2A6-4881-8DAF-0FC96D4BE8ED/new/* to match your environment.<br />
Now invoke the script.</p>
<p>It will extract all attachments out of your emails. If an email doesn&#8217;t contain a pdf file, it will be deleted without printing.<br />
The tool will print all contained pdf files and delete everything after printing.</p>
<h2>4. Automate it</h2>
<p>To run this whenever a new email arrives in the account of our printer mail account, download <a href='http://www.andre-aulich.de/en/wp-content/uploads/2010/05/de.andre-aulich.ipadprinter.plist_.zip'>this file</a>, copy it into /Library/LaunchDaeomons, and make sure, its permissions look like this:<br />
<code>-rw-r--r--   1 root  wheel   458 May 12 13:38 de.andre-aulich.ipadprinter.plist</code><br />
Change the line <string>/var/spool/imap/dovecot/mail/C784550D-B2A6-4881-8DAF-0FC96D4BE8ED/new/</string> to match your environment.<br />
Then load the job:<br />
<code>launchctl load -w /Library/LaunchDaemons/de.andre-aulich.ipadprinter.plist</code></p>
<p>Now Mac OS X Server 10.6 automatically discovers new print jobs you send via email and prints all included pdf files to the selected printer.</p>
<p>You can use this solution to work with multiple printers by simply creating more scripts and launchd jobs.</p>
<p>Hope this helps!</p>
<p>P.S.: Most cli commands need to be invoked as root user or with sudo.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.andre-aulich.de/en/perm/ipad-printing-%e2%80%93-send-pdf-as-email-to-mac-os-x-server-10-6/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Connecting Final Cut Server To Archiware PresSTORE &#8211; new tool and documentation !</title>
		<link>http://www.andre-aulich.de/en/perm/connecting-final-cut-server-to-archiware-presstore</link>
		<comments>http://www.andre-aulich.de/en/perm/connecting-final-cut-server-to-archiware-presstore#comments</comments>
		<pubDate>Thu, 06 May 2010 11:48:32 +0000</pubDate>
		<dc:creator>André Aulich</dc:creator>
				<category><![CDATA[Downloads]]></category>
		<category><![CDATA[Final Cut Server]]></category>
		<category><![CDATA[Mac OS X Server]]></category>
		<category><![CDATA[Video]]></category>
		<category><![CDATA[Xsan/StorNext]]></category>

		<guid isPermaLink="false">http://www.andre-aulich.de/en/?p=134</guid>
		<description><![CDATA[Please notice: There&#8217;s an extended version available at: http://www.andre-aulich.de/en/perm/extended-fiprecon-version-available-for-free. And it&#8217;s still free!&#8221; Many of us would like to use Final Cut Server (FCSvr) as an archive solution to write high res media files to tape (or disks). By default, &#8230; <a href="http://www.andre-aulich.de/en/perm/connecting-final-cut-server-to-archiware-presstore">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><strong>Please notice: There&#8217;s an extended version available at: <a href="http://www.andre-aulich.de/en/perm/extended-fiprecon-version-available-for-free">http://www.andre-aulich.de/en/perm/extended-fiprecon-version-available-for-free</a>. And it&#8217;s still free!&#8221;</strong></p>
<p>Many of us would like to use Final Cut Server (FCSvr) as an archive solution to write high res media files to tape (or disks).<br />
By default, FCSvr can write archives onto various file systems, but it can&#8217;t directly access tape drives.</p>
<p>Now download my little middleware tool <a href='http://www.andre-aulich.de/en/wp-content/uploads/2010/05/fiprecon_1_2.pkg.zip'>fiprecon</a> to connect Final Cut Server to <a href="http://www.archiware.com">Archiware PresSTORE</a> in a way which can look like this:</p>
<p><a href='http://www.andre-aulich.de/en/wp-content/uploads/2010/05/Topology.pdf'><img src="http://www.andre-aulich.de/en/wp-content/uploads/2010/05/Topology.pdf" alt="elgato_turboHD264_01" title="elgato_turboHD264_01" width="550" height="350" class="aligncenter size-medium wp-image-190" /></a></p>
<p>Make sure to install fiprecon on your Final Cut Server system. The PresSTORE server can be a separate machine which fiprecon controls over the network, but fiprecon supports running FCSvr and PresSTORE on the same machine, too.</p>
<p>After the installation, run the config tool using</p>
<p><code>sudo /usr/local/fiprecon/bin/config.command</code></p>
<p>and enter the paths /usr/local/fiprecon/bin/postarchive.command and /usr/local/fiprecon/bin/prerestore.command as postarchive and prerestore script paths of your archive volume in FCSvr.</p>
<p>I recommend to set the retry count in FCSvr to 10 and the timeout setting to 300 seconds.</p>
<p>I wrote a detailed documentation about &#8220;Backup and Archive setups with Final Cut Server, Xsan, and PresSTORE&#8221;, which can be downloaded <a href='http://www.andre-aulich.de/en/wp-content/uploads/2010/05/Whitepaper_FCSvr_PresSTORE_11.pdf'>here</a> and describes fiprecon in detail.</p>
<p>It also explains these topics:</p>
<ul>
<li>Archiving FCSvr assets on tape.</li>
<li>Automatic archiving after x days</li>
<li>Automatic archiving right after asset creation (great for moving video tape based archives into the digital world)</li>
</ul>
<p>Please feel free to use both the tools and the documentation – they come for free.<br />
If you need any customization, or any other kind of Final Cut Server consulting, please get in touch with me.</p>
<p>Looking forward for your feedback!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.andre-aulich.de/en/perm/connecting-final-cut-server-to-archiware-presstore/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Presentation in Berlin: Mac OS X Server 10.6 as communication platform for Mac, Windows, Linux, and iPhone</title>
		<link>http://www.andre-aulich.de/en/perm/presentation-in-berlin-mac-os-x-server-10-6-as-communication-platform-for-mac-windows-linux-and-iphone</link>
		<comments>http://www.andre-aulich.de/en/perm/presentation-in-berlin-mac-os-x-server-10-6-as-communication-platform-for-mac-windows-linux-and-iphone#comments</comments>
		<pubDate>Thu, 25 Feb 2010 12:11:17 +0000</pubDate>
		<dc:creator>André Aulich</dc:creator>
				<category><![CDATA[Calendars]]></category>
		<category><![CDATA[Events]]></category>
		<category><![CDATA[Mac OS X Server]]></category>
		<category><![CDATA[Mail]]></category>

		<guid isPermaLink="false">http://www.andre-aulich.de/en/?p=250</guid>
		<description><![CDATA[On Tuesday, March 2nd 2010, I am going to present Mac OS X Server 10.6 as the central communication platform for Mac OS X, Windows, Linux, and iPhone. I will follow the setup guide described in my new book published &#8230; <a href="http://www.andre-aulich.de/en/perm/presentation-in-berlin-mac-os-x-server-10-6-as-communication-platform-for-mac-windows-linux-and-iphone">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>On Tuesday, March 2nd 2010, I am going to present Mac OS X Server 10.6 as the central communication platform for Mac OS X, Windows, Linux, and iPhone.</p>
<p>I will follow the setup guide described in my new book published by O&#8217;Reilly (in german). Everything will be done using a live demo system.</p>
<p>More information regarding entry fee, location, etc. can be found at <a href="http://www.lob.de/pics/BK04_Veranstaltung02032010.jpg">http://www.lob.de/pics/BK04_Veranstaltung02032010.jpg</a>.</p>
<p>I am looking forward to seeing you there!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.andre-aulich.de/en/perm/presentation-in-berlin-mac-os-x-server-10-6-as-communication-platform-for-mac-windows-linux-and-iphone/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My new Mac OS X Server 10.6 book has just been published by O&#8217;Reilly</title>
		<link>http://www.andre-aulich.de/en/perm/my-new-mac-os-x-server-10-6-book-has-just-been-published-by-oreilly</link>
		<comments>http://www.andre-aulich.de/en/perm/my-new-mac-os-x-server-10-6-book-has-just-been-published-by-oreilly#comments</comments>
		<pubDate>Thu, 25 Feb 2010 11:51:54 +0000</pubDate>
		<dc:creator>André Aulich</dc:creator>
				<category><![CDATA[Calendars]]></category>
		<category><![CDATA[Mac OS X Server]]></category>
		<category><![CDATA[Mail]]></category>

		<guid isPermaLink="false">http://www.andre-aulich.de/en/?p=248</guid>
		<description><![CDATA[My new Mac OS X Server 10.6 book has just been published by O&#8217;Reilly. It&#8217;s available in german and explains you how to set up your own mail, calendar, addressbook, and webserver based on Mac OS X Server 10.6 within &#8230; <a href="http://www.andre-aulich.de/en/perm/my-new-mac-os-x-server-10-6-book-has-just-been-published-by-oreilly">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>My new Mac OS X Server 10.6 book has just been published by O&#8217;Reilly.</p>
<p><img src="http://www.andre-aulich.de/wp-content/uploads/2010/02/macosxsrvrkommplger.s.gif" alt="" title="macosxsrvrkommplger.s" width="153" height="198" class="aligncenter size-full wp-image-300" /></p>
<p>It&#8217;s available in german and explains you how to set up your own mail, calendar, addressbook, and webserver based on Mac OS X Server 10.6 within no time.</p>
<p>You find more details about it at <a href="http://www.oreilly.de/catalog/macosxsrvrkommplger/">O&#8217;Reilly</a>. The focus of the book is to use Mac OS X Server as the communication central for your Mac OS X, Windows, Linux, and iPhone users.</p>
<p>I&#8217;d appreciate your feedback!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.andre-aulich.de/en/perm/my-new-mac-os-x-server-10-6-book-has-just-been-published-by-oreilly/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mac OS X Server 10.6: accept mails with empty subject line</title>
		<link>http://www.andre-aulich.de/en/perm/mac-os-x-server-10-6-accept-mails-with-empty-subject-line</link>
		<comments>http://www.andre-aulich.de/en/perm/mac-os-x-server-10-6-accept-mails-with-empty-subject-line#comments</comments>
		<pubDate>Sun, 11 Oct 2009 09:10:58 +0000</pubDate>
		<dc:creator>André Aulich</dc:creator>
				<category><![CDATA[Mac OS X Server]]></category>
		<category><![CDATA[Mail]]></category>

		<guid isPermaLink="false">http://www.andre-aulich.de/en/?p=211</guid>
		<description><![CDATA[If you use Mac OS X Server 10.6 (Snow Leopard Server) as a mail server, by default it rejects mails without a subject line. If you want to change this behavior, you just need to open the file /etc/postfix/main.cf and &#8230; <a href="http://www.andre-aulich.de/en/perm/mac-os-x-server-10-6-accept-mails-with-empty-subject-line">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>If you use Mac OS X Server 10.6 (Snow Leopard Server) as a mail server, by default it rejects mails without a subject line.</p>
<p>If you want to change this behavior, you just need to open the file /etc/postfix/main.cf and change the line</p>
<p><code>header_checks = pcre:/etc/postfix/custom_header_checks</code></p>
<p>to</p>
<p><code># header_checks = pcre:/etc/postfix/custom_header_checks</code></p>
<p>Afterwards, type</p>
<p><code>sudo postfix reload</code></p>
<p>to activate the new setting.</p>
<p>You could also change the rule set in /etc/postfix/custom_header_checks to do the same thing, yet, as currently the only rule in this file is to reject incoming mails with an empty subject, we can easily ignore the whole file like described above.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.andre-aulich.de/en/perm/mac-os-x-server-10-6-accept-mails-with-empty-subject-line/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Started working on Mac OS X Server book for O&#8217;Reilly</title>
		<link>http://www.andre-aulich.de/en/perm/started-working-on-mac-os-x-server-book-for-oreilly</link>
		<comments>http://www.andre-aulich.de/en/perm/started-working-on-mac-os-x-server-book-for-oreilly#comments</comments>
		<pubDate>Sat, 10 Oct 2009 15:00:33 +0000</pubDate>
		<dc:creator>André Aulich</dc:creator>
				<category><![CDATA[Calendars]]></category>
		<category><![CDATA[Mac OS X Server]]></category>
		<category><![CDATA[Miscellaneous]]></category>

		<guid isPermaLink="false">http://www.andre-aulich.de/en/?p=209</guid>
		<description><![CDATA[I just started working on a Mac OS X Server book for O&#8217;Reilly (in german). For that reason I am going to be back for consultancy jobs in early December. I will answer my emails before that, though&#8230;]]></description>
			<content:encoded><![CDATA[<p>I just started working on a Mac OS X Server book for O&#8217;Reilly (in german).<br />
For that reason I am going to be back for consultancy jobs in early December.</p>
<p>I will answer my emails before that, though&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.andre-aulich.de/en/perm/started-working-on-mac-os-x-server-book-for-oreilly/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Deactivate group listing in Mac OS X Server 10.5&#8242;s wiki service</title>
		<link>http://www.andre-aulich.de/en/perm/deactivate-group-listing-in-mac-os-x-server-105s-wiki-service</link>
		<comments>http://www.andre-aulich.de/en/perm/deactivate-group-listing-in-mac-os-x-server-105s-wiki-service#comments</comments>
		<pubDate>Wed, 06 Aug 2008 19:59:14 +0000</pubDate>
		<dc:creator>André Aulich</dc:creator>
				<category><![CDATA[Mac OS X Server]]></category>

		<guid isPermaLink="false">http://www.andre-aulich.de/en/perm/deactivate-group-listing-in-mac-os-x-server-105s-wiki-service</guid>
		<description><![CDATA[If you use Mac OS X Server 10.5&#8242;s wiki service with multiple customers, e.g., you might not want them to see which other wikis you run on your server. By default Mac OS X Server lists all available group wikis &#8230; <a href="http://www.andre-aulich.de/en/perm/deactivate-group-listing-in-mac-os-x-server-105s-wiki-service">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>If you use Mac OS X Server 10.5&#8242;s wiki service with multiple customers, e.g., you might not want them to see which other wikis you run on your server.</p>
<p>By default Mac OS X Server lists all available group wikis at http://yoururl.com/groups, which you can easily change by editing (or renaming, deleting) the file /usr/share/wikid/lib/apple_templates/group_listing.xsl which generates the default group listing.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.andre-aulich.de/en/perm/deactivate-group-listing-in-mac-os-x-server-105s-wiki-service/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

