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.

Postfix: “queue file write error”
Tagged on:         

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

  • Permalink

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

  • Permalink

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

  • Permalink

    Wonderful! Solved my problem right away.

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

  • Permalink

    Should it not be


    rather than



Leave a Reply

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