[exim-cvs] cvs commit: exim/exim-src/src receive.c exim/exi…

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Tony Finch
Ημερομηνία:  
Προς: exim-cvs
Αντικείμενο: [exim-cvs] cvs commit: exim/exim-src/src receive.c exim/exim-doc/doc-txt ChangeLog
fanf2 2008/01/22 19:23:47 GMT

  Modified files:
    exim-src/src         receive.c 
    exim-doc/doc-txt     ChangeLog 
  Log:
  Do not log submission mode rewrites if they do not change the address.


  Revision  Changes    Path
  1.539     +2 -0      exim/exim-doc/doc-txt/ChangeLog
  1.44      +4 -3      exim/exim-src/src/receive.c


  Index: receive.c
  ===================================================================
  RCS file: /home/cvs/exim/exim-src/src/receive.c,v
  retrieving revision 1.43
  retrieving revision 1.44
  diff -u -r1.43 -r1.44
  --- receive.c    17 Jan 2008 13:03:36 -0000    1.43
  +++ receive.c    22 Jan 2008 19:23:46 -0000    1.44
  @@ -1,4 +1,4 @@
  -/* $Cambridge: exim/exim-src/src/receive.c,v 1.43 2008/01/17 13:03:36 tom Exp $ */
  +/* $Cambridge: exim/exim-src/src/receive.c,v 1.44 2008/01/22 19:23:46 fanf2 Exp $ */


   /*************************************************
   *     Exim - an Internet mail transport agent    *
  @@ -2585,9 +2585,10 @@
       if (sender_address_unrewritten == NULL)
         sender_address_unrewritten = sender_address;
       sender_address = generated_sender_address;
  -    log_write(L_address_rewrite, LOG_MAIN,
  -      "\"%s\" from env-from rewritten as \"%s\" by submission mode",
  -      sender_address_unrewritten, generated_sender_address);
  +    if (Ustrcmp(sender_address_unrewritten, generated_sender_address) != 0)
  +      log_write(L_address_rewrite, LOG_MAIN,
  +        "\"%s\" from env-from rewritten as \"%s\" by submission mode",
  +        sender_address_unrewritten, generated_sender_address);
       }
     }



  Index: ChangeLog
  ===================================================================
  RCS file: /home/cvs/exim/exim-doc/doc-txt/ChangeLog,v
  retrieving revision 1.538
  retrieving revision 1.539
  diff -u -r1.538 -r1.539
  --- ChangeLog    18 Jan 2008 12:23:26 -0000    1.538
  +++ ChangeLog    22 Jan 2008 19:23:47 -0000    1.539
  @@ -1,4 +1,4 @@
  -$Cambridge: exim/exim-doc/doc-txt/ChangeLog,v 1.538 2008/01/18 12:23:26 nm4 Exp $
  +$Cambridge: exim/exim-doc/doc-txt/ChangeLog,v 1.539 2008/01/22 19:23:47 fanf2 Exp $


   Change log file for Exim from version 4.21
   -------------------------------------------
  @@ -15,6 +15,8 @@
         conversation.  Added nologin parameter to request.
         Patch contributed by Kirill Miazine


+TF/01 Do not log submission mode rewrites if they do not change the address.
+

Exim version 4.69
-----------------