[exim-cvs] cvs commit: exim/exim-doc/doc-txt ChangeLog exim…

Góra strony
Delete this message
Reply to this message
Autor: Philip Hazel
Data:  
Dla: exim-cvs
Temat: [exim-cvs] cvs commit: exim/exim-doc/doc-txt ChangeLog exim/exim-src/src/transports appendfile.c
ph10 2007/08/22 15:07:30 BST

  Modified files:
    exim-doc/doc-txt     ChangeLog 
    exim-src/src/transports appendfile.c 
  Log:
  Fix missing quota message for system quota failure with maildir.


  Revision  Changes    Path
  1.524     +4 -0      exim/exim-doc/doc-txt/ChangeLog
  1.23      +2 -0      exim/exim-src/src/transports/appendfile.c


  Index: ChangeLog
  ===================================================================
  RCS file: /home/cvs/exim/exim-doc/doc-txt/ChangeLog,v
  retrieving revision 1.523
  retrieving revision 1.524
  diff -u -r1.523 -r1.524
  --- ChangeLog    22 Aug 2007 10:10:23 -0000    1.523
  +++ ChangeLog    22 Aug 2007 14:07:30 -0000    1.524
  @@ -1,4 +1,4 @@
  -$Cambridge: exim/exim-doc/doc-txt/ChangeLog,v 1.523 2007/08/22 10:10:23 ph10 Exp $
  +$Cambridge: exim/exim-doc/doc-txt/ChangeLog,v 1.524 2007/08/22 14:07:30 ph10 Exp $


Change log file for Exim from version 4.21
-------------------------------------------
@@ -83,6 +83,10 @@

PH/17 Added the NOTQUIT ACL, based on a patch from Ted Cooper.

  +PH/18 If a system quota error occurred while trying to create the file for
  +      a maildir delivery, the message "Mailbox is full" was not appended to the
  +      bounce if the delivery eventually timed out. Change 4.67/27 below applied
  +      only to a quota excession during the actual writing of the file.



Exim version 4.67

  Index: appendfile.c
  ===================================================================
  RCS file: /home/cvs/exim/exim-src/src/transports/appendfile.c,v
  retrieving revision 1.22
  retrieving revision 1.23
  diff -u -r1.22 -r1.23
  --- appendfile.c    20 Feb 2007 09:53:41 -0000    1.22
  +++ appendfile.c    22 Aug 2007 14:07:30 -0000    1.23
  @@ -1,4 +1,4 @@
  -/* $Cambridge: exim/exim-src/src/transports/appendfile.c,v 1.22 2007/02/20 09:53:41 ph10 Exp $ */
  +/* $Cambridge: exim/exim-src/src/transports/appendfile.c,v 1.23 2007/08/22 14:07:30 ph10 Exp $ */


   /*************************************************
   *     Exim - an Internet mail transport agent    *
  @@ -2451,6 +2451,8 @@
           addr->message = string_sprintf ("failed to open %s (%d tr%s)",
             filename, i, (i == 1)? "y" : "ies");
           addr->basic_errno = errno;
  +        if (errno == errno_quota || errno == ENOSPC)
  +          addr->user_message = US"mailbox is full";
           return FALSE;
           }