[Dovecot] Dovecot LDA (deliver) stopped working

falz me at falz.net
Sat Jan 26 19:46:41 EET 2008


On Jan 25, 2008 11:44 PM,  <tomas at tuxteam.de> wrote:
> > So, the issue was that SOMETHING is enforcing /var/log/dovecot-lda/log
> > size! I was able to get this working by rotating, and the solution
> > will be to constantly rotate, but I still need to figure out what's
> > enforcing this.
>
> Check ulimit (in the shell, say ulimit -a). Maybe some script is
> over-cautious and is setting user limits.

This seems fine (on FreeBSD it's "limits"):

# limits
Resource limits (current):
  cputime          infinity secs
  filesize         infinity kB
  datasize           524288 kB
  stacksize           65536 kB
  coredumpsize     infinity kB
  memoryuse        infinity kB
  memorylocked     infinity kB
  maxprocesses         5547
  openfiles           11095
  sbsize           infinity bytes
  vmemoryuse       infinity kB



> > write(7, "deliver(username): Jan 25 12:58:"..., 100) = -1 EFBIG (File too large)
> ..
> > So, anyone have thoughts as to what's enforcing the "Filesize limit
> > exceeded: 25"?
>
> Postfix's mailbox_size_limit setting most likely.

Postfix does have this set to 50MB:

mailbox_size_limit = 51200000

..which is how large the LDA log was. Very odd, because the issue was
writing the LOG, not writing to the mailbox. So, mailbox_size_limit
must restrict the size of whatever is forked off of mailbox_command if
I'm understanding it correctly. I'll ask further about that on the
potsfix mailing list, but it sounds to me like that's it. Thanks much
for your help!

--falz


More information about the dovecot mailing list