[exim-cvs] cvs commit: exim/exim-src/src acl.c

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Philip Hazel
日付:  
To: exim-cvs
題目: [exim-cvs] cvs commit: exim/exim-src/src acl.c
ph10 2007/08/29 14:58:25 BST

  Modified files:
    exim-src/src         acl.c 
  Log:
  Allow only accept and warn in the not-QUIT ACL.


  Revision  Changes    Path
  1.79      +2 -2      exim/exim-src/src/acl.c


  Index: acl.c
  ===================================================================
  RCS file: /home/cvs/exim/exim-src/src/acl.c,v
  retrieving revision 1.78
  retrieving revision 1.79
  diff -u -r1.78 -r1.79
  --- acl.c    22 Aug 2007 10:10:23 -0000    1.78
  +++ acl.c    29 Aug 2007 13:58:25 -0000    1.79
  @@ -1,4 +1,4 @@
  -/* $Cambridge: exim/exim-src/src/acl.c,v 1.78 2007/08/22 10:10:23 ph10 Exp $ */
  +/* $Cambridge: exim/exim-src/src/acl.c,v 1.79 2007/08/29 13:58:25 ph10 Exp $ */


   /*************************************************
   *     Exim - an Internet mail transport agent    *
  @@ -3456,11 +3456,11 @@
     *log_msgptr = *user_msgptr = NULL;
     acl_temp_details = FALSE;


  -  if (where == ACL_WHERE_QUIT &&
  +  if ((where == ACL_WHERE_QUIT || where == ACL_WHERE_NOTQUIT) &&
         acl->verb != ACL_ACCEPT &&
         acl->verb != ACL_WARN)
       {
  -    *log_msgptr = string_sprintf("\"%s\" is not allowed in a QUIT ACL",
  +    *log_msgptr = string_sprintf("\"%s\" is not allowed in a QUIT or not-QUIT ACL",
         verbs[acl->verb]);
       return ERROR;
       }