Mac OS X Server Rejects Mail with No Subject Line

Is Mac OS X Server 10.6 (Snow Leopard) rejecting your e-mail messages which lack a subject line? Mine was, and so does the default setting on Snow Leopard Server.

Here’s a quick fix:

1) First, stop the mail service.

2 Now, you’ll want to edit the header_checks file that’s utilized by postfix.

Select Code
sudo nano /etc/postfix/custom_header_checks

3) Next, you’ll see a line which says:

Select Code
/^subject: *$/ REJECT empty subject header

Comment out this line by adding a pound sign (#) at the beginning of the line.

4) Once you comment out this line, it should appear as:

Select Code
#/^subject: *$/ REJECT empty subject header

5) If you’re using nano or pico to edit the file, click Control+O to write the file. (Save and Exit).

6) Now, restart the Mail service and the server will no longer reject email with no subject line.


Let me know if this solution works for you! Enjoy!

3 comments on “Mac OS X Server Rejects Mail with No Subject Line

  1. Paul says:

    Thanks, exactly what I needed, still works for Lion 10.7

  2. Chris says:

    This is also still valid for 10.8 Mountain Lion Server. -Chris

  3. Lewis says:

    This fix does still work in Mountain Lion, but the configuration files have been moved to /Library/Server/Mail/Config

Leave a Reply

Your email address will not be published. Required fields are marked *


You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>