<?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; blank</title>
	<atom:link href="http://www.jonsblog.org/tag/blank/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jonsblog.org</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Sun, 01 Aug 2010 05:56:39 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<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>admin</dc:creator>
				<category><![CDATA[Mail Server]]></category>
		<category><![CDATA[OSX Server Configuration]]></category>
		<category><![CDATA[blank]]></category>
		<category><![CDATA[error]]></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.<br />
<span id="more-71"></span></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>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>4</slash:comments>
		</item>
	</channel>
</rss>
