Tag: mail rejected

Mountain Lion Server: Mail Message Size Limit

By default, Mountain Lion Server’s installation of Postfix (the mail server), each email has a default size limit of 10 MB.  That’s generally OK, but to avoid errors and undelivered emails, many people advise increasing the limit.

In order to increase the size limit to 25 MB, open Terminal.  Type in the following command, then press enter.  Once you press enter, you’ll be prompted to enter your administrator password.

Select Code
sudo serveradmin settings mail:postfix:message_size_limit = 26214400

Although generally not required, you can restart the mail server.  Do to this, open Terminal and execute the following command:

Select Code
sudo postfix reload

Then, open the Server app and toggle the Mail service off and on again.

You’re done.


If you have any questions or trouble with these commands, just comment here and I’ll be happy to offer some assistance.



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!