From:
[email protected]
Package: maildrop
Version: 1.5.3-1
Severity: grave
Justification: causes non-serious data loss
When delivering to a maildir an error encountered while opening the
maildir is treated as "permission denied", by exiting maildrop with code
77 (EX_NOPERM). This typically causes the MTA to bounce the mail. For example, when a mail filesystem on a machine I use ran out of inodes all
of the mail maildrop attempted to deliver to that filesystem was bounced
with the message
permission denied. Command output: maildrop: /home/<username>/Maildir/:
No space left on device
when it should have been left in postfix's queue for delivery when the
problem was resolved.
The cause appears to be line 155 in maildrop/deliver.C:
153 if ( deliver_maildir.MaildirOpen(mailbox, deliver_file,
154 maildrop.msgptr->MessageSize()) < 0)
155 throw 77;
Changing that to "throw 75" should result in the desired temporary
failure. (If there actually is an error condition when 77 should be
given as the exit code then a more complicated solution will be
required.)
Brian Campbell
-- System Information:
Debian Release: 3.1
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable')
Architecture: powerpc (ppc)
Kernel: Linux 2.6.7-powerpc
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8
Versions of packages maildrop depends on:
ii libc6 2.3.2.ds1-13 GNU C Library: Shared libraries an ii libgcc1 1:3.4.1-5 GCC support library
ii libgdbm3 1.8.3-2 GNU dbm database routines (runtime ii libstdc++5 1:3.3.4-6sarge1 The GNU Standard C++ Library v3
ii postfix [mail-transport- 2.1.3-1 A high-performance mail transport
-- no debconf information
--
To UNSUBSCRIBE, email to
[email protected]
with a subject of "unsubscribe". Trouble? Contact
[email protected]
--- SoupGate-Win32 v1.05
* Origin: you cannot sedate... all the things you hate (1:229/2)