« Return to Thread: Mail and file too large

Re: Mail and file too large

by Wietse Venema :: Rate this Message:

Reply to Author | View in Thread

Paulo J. Matos:
> <pmatos@...> (expanded from <pmatos@localhost>): cannot
>    update mailbox /var/spool/mail/pmatos for user pmatos. error writing
>    message: File too large

The default mailbox size limit is:

    mailbox_size_limit = 51200000

> Anyone has any idea of what's happening? Since i have about 5 Gb of
> mail in gmail I would thinking keeping all the emails on a file would
> not be a good idea.

5GB mailbox files are insane; consider using maildir instead.

http://www.postfix.org/postconf.5.html#home_mailbox
http://www.postfix.org/postconf.5.html#mail_spool_directory
http://www.postfix.org/postconf.5.html#mailbox_command

For files over 2GB, Postfix needs to be compiled with "large file
model" enabled on 32-bit Linux and Solaris.

        Wietse

 « Return to Thread: Mail and file too large