16 Oct
2009
16 Oct
'09
9:23 p.m.
TS> On Fri, 2009-10-16 at 22:41 +0400, Kostik wrote:
close(/var/virtual/mail/I/I/koc.lock) failed: Disk quota exceeded
TS> Oh, I didn't read carefully enough. Closing .lock failed, not mbox. Does TS> the attached patch help?
No. Error on closing .lock disappeared, but mbox does not rollback. And LDA now return "saved" instead "rejected".
Oct 16 23:03:49 dovecot: deliver(koc): from=<>, msgid=: saved mail to INBOX
Strace:
open("/var/virtual/mail/I/I/koc.lock", O_RDWR|O_CREAT|O_EXCL|O_LARGEFILE, 0666) = 7 write(7, "13772:pigeon01", 14) = 14 fdatasync(7) = -1 EDQUOT (Disk quota exceeded) ftruncate64(7, 0) = 0 fstat64(7, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0 close(7) = 0 lstat64("/var/virtual/mail/I/I/koc.lock", {st_mode=S_IFREG|0600, st_size=0, ...}) = 0 open("/var/virtual/mail/I/I/koc", O_RDWR|O_LARGEFILE) = 7 fstat64(7, {st_mode=S_IFREG|0600, st_size=4087, ...}) = 0 time(NULL) = 1255719829 alarm(5) = 0 fcntl64(7, F_SETLKW64, {type=F_WRLCK, whence=SEEK_SET, start=0, len=0}, 0xbfd78390) = 0 alarm(0) = 5 stat64("/var/virtual/mail/I/I/koc", {st_mode=S_IFREG|0600, st_size=4087, ...}) = 0 fstat64(7, {st_mode=S_IFREG|0600, st_size=4087, ...}) = 0 _llseek(7, 4086, [4086], SEEK_SET) = 0 read(7, "\n", 1) = 1 fstat64(7, {st_mode=S_IFREG|0600, st_size=4087, ...}) = 0 brk(0x8151000) = 0x8151000 write(7, "From MAILER-DAEMON Fri Oct 16 2"..., 168) = 168 pwrite64(7, "\nContent-Length: 0", 18, 4235) = 18 fstat64(7, {st_mode=S_IFREG|0600, st_size=4255, ...}) = 0 fdatasync(7) = 0 write(7, "\n", 1) = 1 brk(0x8149000) = 0x8149000 lstat64("/var/virtual/mail/I/I/koc.lock", {st_mode=S_IFREG|0600, st_size=0, ...}) = 0 unlink("/var/virtual/mail/I/I/koc.lock") = 0 fcntl64(7, F_SETLK64, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}, 0xbfd784c0) = 0 alarm(0) = 0 time([1255719829]) = 1255719829 stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2194, ...}) = 0 stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2194, ...}) = 0 stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2194, ...}) = 0 send(6, "<22>Oct 16 23:03:49 dovecot: del"..., 88, MSG_NOSIGNAL) = 88 close(7) = -1 EDQUOT (Disk quota exceeded)
=kostik