[RHEL] Is possible to change the message "Error: message file too big (state 18)" in Postfix MTA ?

Solution Verified - Updated -

Issue

Customer want to know if is possible to change the error message returned when an e-mail is bigger then expected size. Like the following example :

Delivery to the following recipient failed permanently:

test@domain.com

Technical details of permanent failure:
<MTA> tried to deliver your message, but it was rejected by the recipient domain.
We recommend contacting the other email provider for further information about the cause of this error.
The error that the other server returned was: 552 552 5.3.4 Error: message file too big (state 18).

Environment

  • Red Hat Enterprise Linux 5 - all releases ;
  • Postfix MTA ;

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In