Sunday, January 11, 2015

Postfix Error [ warning: not enough free space in mail queue ]

The last days i have face an awkward problem with postfix, queue related 
here is the log 

... postfix/smtpd[x]: NOQUEUE: reject: MAIL from unknown[y.y.y.y]: 452 4.3.1 Insufficient system storage; proto=ESMTP helo=<domain.com>
... postfix/smtpd[x]: warning: not enough free space in mail queue: 123852800 bytes < 1.5*message size limit

so this is the first time this happen never seen before in my years working with postfix, so i dig in the main.cf and see if the message_size_limit were the resposable.

message_size_limit=83886080

but this was the limit i put on years ago because some users complains that the messages with big attachments did not pass the server, so i increase it, but recently i have to redo the server because of a failure of the HDD some other thing that i notice it were that the root partition of the server where 99% and not very much mails in the queue.

anyway i have to say that the postfix that were used were old compared to this one and the version of openbsd were different too, so i come back to the default configuration to

message_size_limit=10240000

and bang the problems go away, but this let me with one question, why my root partion where in 99% ?? i found the answer and this is something to have in account, i will post it in other entry

1 comment:

  1. Not entirely obvious to me, I had bumped the value to 1G.
    My /var/spool partition is around 20G in size, but it happened to go below 1.5G because one user hadn't picked up email in a long time, and that was enough to set off this warning. Not really a warning, as postfix refuses (452) email.
    Not obviously a disk full, because I had 1.3G of space.
    But, 1.3 < 1.5G needed. Took awhile to figure this out.

    ReplyDelete