I am using procmail with deliver as recommended on the wiki to send mail snagged by SpamAssassin straight to a spam folder. It seemed to be working fine, but now I'm finding messages like this: Sep 17 12:13:47 hosty deliver(whoey): write() failed with mbox file /var/mail/whoey: File too large I don't think this is a setrlimit problem -- the host operating system is OpenBSD 4.0. My dovecot version is 1.0.13. Is there a maximum size used by deliver? Or is this a procmail problem? It looks like the message is coming from deliver. I don't think this is a postfix problem -- my max message size 33M in postfix. -Thanks, Jim
Jim Rosenberg wrote:> I am using procmail with deliver as recommended on the wiki to send mail > snagged by SpamAssassin straight to a spam folder. It seemed to be working > fine, but now I'm finding messages like this: > > Sep 17 12:13:47 hosty deliver(whoey): write() failed with mbox file /var/mail/whoey: File too large > > I don't think this is a setrlimit problem -- the host operating system is > OpenBSD 4.0. My dovecot version is 1.0.13. Is there a maximum size used by > deliver? Or is this a procmail problem? It looks like the message is coming > from deliver. > > I don't think this is a postfix problem -- my max message size 33M in > postfix. >How big is the mbox file '/var/mail/whoey'? My guess is you've exceeded the maximum file size of your file system or operating system causing write() to fail. -- Seth Mattinen sethm at rollernet.us Roller Network LLC
On Sep 17, 2008, at 9:06 PM, Jim Rosenberg wrote:> I am using procmail with deliver as recommended on the wiki to send > mail > snagged by SpamAssassin straight to a spam folder. It seemed to be > working > fine, but now I'm finding messages like this: > > Sep 17 12:13:47 hosty deliver(whoey): write() failed with mbox file / > var/mail/whoey: File too large > > I don't think this is a setrlimit problem -- the host operating > system is > OpenBSD 4.0. My dovecot version is 1.0.13. Is there a maximum size > used by > deliver? Or is this a procmail problem? It looks like the message is > coming > from deliver. > > I don't think this is a postfix problem -- my max message size 33M in > postfix.From wiki.dovecot.org/LDA: Note that Postfix's mailbox_size_limit setting applies to all files that are written to. So if you have a limit of 50 MB, deliver can't write to log files larger than 50 MB and you'll start getting temporary failures. Applies to mbox files just as well as log files. -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 194 bytes Desc: This is a digitally signed message part URL: <dovecot.org/pipermail/dovecot/attachments/20080917/20d509f1/attachment-0002.bin>
On Wed, Sep 17, 2008 at 02:06:29PM -0400, I wrote:> I am using procmail with deliver as recommended on the wiki to send mail > snagged by SpamAssassin straight to a spam folder. It seemed to be working > fine, but now I'm finding messages like this: > > Sep 17 12:13:47 hosty deliver(whoey): write() failed with mbox file /var/mail/whoey: File too large >> I don't think this is a postfix problem -- my max message size 33M in > postfix.Oops <he sez, blushing ...> Yes this is a postfix problem. Max mailbox size. Fixing it in postfix seems to fix it for deliver. Sorry for the wasted bandwidth ...