Postfix: “queue file write error”

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 is too low. Edit postfix

vi /etc/postfix/

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, just add the line.

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

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

  2. Avatar

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

  3. Avatar

    Wonderful! Solved my problem right away.

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

  4. Avatar

    Should it not be


    rather than



Leave a Comment