If you get an error like:

Aug 21 12:41:03 webb4 postfix/sendmail[11234]: fatal: web1_user(12967): queue file write error

in your mail log, then the vale for message_size_limit in postfix main.cf is too low. Edit postfix main.cf:

vi /etc/postfix/main.cf

and set the message size limit to a higher value. E.g.

message_size_limit = 900000000

and restart postfix:

/etc/init.d/postfix restart

If there is no message_size_limit set in main.cf, just add the line.

Facebooktwittergoogle_plusredditlinkedinmail
Tagged on:         

4 thoughts on “Postfix: “queue file write error”

  • November 12, 2009 at 12:58 pm
    Permalink

    and what to do if the limit is set to 0 meaning unlimited and I still get the queue file write error?

    Reply
  • October 11, 2014 at 7:18 pm
    Permalink

    I am in fact thankful to the holder of this website who has shared this
    wonderful paragraph at at this time.

    Reply
  • April 18, 2015 at 11:09 am
    Permalink

    Wonderful! Solved my problem right away.

    Originally thought it was because my mail error logs had to just be cleared.

    Reply
  • February 8, 2016 at 6:52 pm
    Permalink

    Should it not be

    message_size_limit

    rather than

    mesage_size_limit

    Reply

Leave a Reply

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