Difference between revisions of "Postfix Help"

From Free Knowledge Base- The DUCK Project: information for everyone
Jump to: navigation, search
(Created page with "Errors and Common Configuration Parameters Examples and Help == queue file size limit exceeded == By default, Postfix limits the size of an email, restricting the recipien...")
 
(queue file size limit exceeded)
Line 4: Line 4:
  
 
== queue file size limit exceeded ==
 
== queue file size limit exceeded ==
 +
The topic is mailbox size limit and message size limit .
  
 
By default, Postfix limits the size of an email, restricting the recipient from receiving any email size greater than the default limit.  The sender of the email will receive a bounced email with an error.
 
By default, Postfix limits the size of an email, restricting the recipient from receiving any email size greater than the default limit.  The sender of the email will receive a bounced email with an error.
 
 
  Remote host said: 552 5.3.4 Error: message file too big
 
  Remote host said: 552 5.3.4 Error: message file too big
  
 
This default setting can be modified by adding the following line to the bottom of:  /etc/postfix/main.cf
 
This default setting can be modified by adding the following line to the bottom of:  /etc/postfix/main.cf
 
 
  message_size_limit = 0
 
  message_size_limit = 0
  
Line 16: Line 15:
  
 
Once you have added the above line and saved the file, you will then need to reload postfix.
 
Once you have added the above line and saved the file, you will then need to reload postfix.
 
 
  postfix reload
 
  postfix reload
 +
 +
A more reasonable example might be 20mb as a limit.  Emails with attachments shall not exceed that size.
 +
message_size_limit = 20480000
 +
Also, you could set it to 50mb
 +
message_size_limit = 52428800
 +
 +
There is also a setting for mailbox size limit.
 +
mailbox_size_limit = 51200000
 +
 +
It could also be your virtual_mailbox_limit if you are piping your email to another process.
 +
virtual_mailbox_limit = 0
 +
 +
  
 
 
 
 

Revision as of 20:57, 28 March 2014

Errors and Common Configuration Parameters

Examples and Help

queue file size limit exceeded

The topic is mailbox size limit and message size limit .

By default, Postfix limits the size of an email, restricting the recipient from receiving any email size greater than the default limit. The sender of the email will receive a bounced email with an error.

Remote host said: 552 5.3.4 Error: message file too big

This default setting can be modified by adding the following line to the bottom of: /etc/postfix/main.cf

message_size_limit = 0

The zero indicates NO LIMIT. You may wish to set a limit that is reasonable.

Once you have added the above line and saved the file, you will then need to reload postfix.

postfix reload

A more reasonable example might be 20mb as a limit. Emails with attachments shall not exceed that size.

message_size_limit = 20480000

Also, you could set it to 50mb

message_size_limit = 52428800

There is also a setting for mailbox size limit.

mailbox_size_limit = 51200000

It could also be your virtual_mailbox_limit if you are piping your email to another process.

virtual_mailbox_limit = 0