Page 1 of 1

error writing message: File too large

Posted: Wed Jun 25, 2014 3:23 am
by hanya.radwan
two hosts were down on 25/06/2014 during period 06:00 to 8:30 , but contacts didn't receive notifications , when I checked notifications it shows that there is notifications and sent as Dispatcher show .but when I check /var/log/maillog as attached I found this messages:

Jun 25 06:00:13 nms1 postfix/local[58245]: 5E1F9280193: to=<[email protected]>, relay=local, delay=0.02, delays=0.01/0/0/0.01, dsn=5.2.2, status=bounced (cannot update mailbox /var/mail/root for user root. error writing message: File too large)


I checked :

mailbox_size_limit=512000000

also the size of root file 500000

so please how can I fixed that

Re: error writing message: File too large

Posted: Wed Jun 25, 2014 10:12 am
by lmiltchev
If you set:

Code: Select all

mailbox_size_limit=0
there is not going to be a limit.

Then you will need to restart postfix:

Code: Select all

service postfix restart

Re: error writing message: File too large

Posted: Thu Jun 26, 2014 7:43 am
by hanya.radwan
I did that.

Re: error writing message: File too large

Posted: Thu Jun 26, 2014 12:17 pm
by lmiltchev
Did this fix your issue or you are still getting the "File too large" errors?

Re: error writing message: File too large

Posted: Thu Jul 03, 2014 4:19 am
by hanya.radwan
yes, this error doesn't appear in maillog file.