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

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Michael Haardt
Dátum:  
Címzett: exim-cvs
Tárgy: [exim-cvs] cvs commit: exim/exim-src/src sieve.c
michael 2008/11/18 11:10:43 GMT

  Modified files:
    exim-src/src         sieve.c 
  Log:
  Aligned with draft-ietf-sieve-notify-mailto-09:
  "Received:" Lines are no longer duplicated.
  "Auto-Submitted:" changed from "sieve-notify" to "auto-notified".


  Revision  Changes    Path
  1.35      +1 -4      exim/exim-src/src/sieve.c


  Index: sieve.c
  ===================================================================
  RCS file: /home/cvs/exim/exim-src/src/sieve.c,v
  retrieving revision 1.34
  retrieving revision 1.35
  diff -u -r1.34 -r1.35
  --- sieve.c    29 Jan 2008 12:08:43 -0000    1.34
  +++ sieve.c    18 Nov 2008 11:10:43 -0000    1.35
  @@ -1,4 +1,4 @@
  -/* $Cambridge: exim/exim-src/src/sieve.c,v 1.34 2008/01/29 12:08:43 michael Exp $ */
  +/* $Cambridge: exim/exim-src/src/sieve.c,v 1.35 2008/11/18 11:10:43 michael Exp $ */


   /*************************************************
   *     Exim - an Internet mail transport agent    *
  @@ -3058,7 +3058,6 @@
             if (filter_test == FTEST_NONE)
               {
               string_item *p;
  -            header_line *h;
               int pid,fd;


               if ((pid = child_open_exim2(&fd,envelope_from,envelope_from))>=1)
  @@ -3068,11 +3067,9 @@
                 int buffer_capacity;


                 f = fdopen(fd, "wb");
  -              for (h = header_list; h != NULL; h = h->next)
  -                if (h->type == htype_received) fprintf(f,"%s",h->text);
                 fprintf(f,"From: %s\n",from.length==-1 ? expand_string("$local_part_prefix$local_part$local_part_suffix@$domain") : from.character);
                 for (p=recipient; p; p=p->next) fprintf(f,"To: %s\n",p->text);
  -              fprintf(f,"Auto-submitted: sieve-notify\n");
  +              fprintf(f,"Auto-Submitted: auto-notified\n");
                 if (header.length>0) fprintf(f,"%s",header.character);
                 if (message.length==-1)
                   {