home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume24 / elm2.3patches / part08 < prev    next >
Encoding:
Internet Message Format  |  1991-03-05  |  9.8 KB

  1. Subject:  v24i032:  Elm mail system, release 2.3, patches, Part08/11
  2. Newsgroups: comp.sources.unix
  3. Approved: rsalz@uunet.UU.NET
  4. X-Checksum-Snefru: ee8b179b 8fcb452e dfeaa2b8 841004d3
  5.  
  6. Submitted-by: Syd Weinstein <syd@DSI.COM>
  7. Posting-number: Volume 24, Issue 32
  8. Archive-name: elm2.3patches/part08
  9.  
  10. Subject: elm 2.3 Patch #8
  11. Summary: This is an official patch for elm 2.3 system.  Please apply it.
  12. Priority: HIGH
  13.  
  14. Please FOLKS, follow the 'After Patching Instructions', it'll save
  15. us all alot of e-mail.....
  16.  
  17. This is the quickie patch to fix up a few things that PL7 didn't
  18. do as cleanly as it should have.
  19.  
  20. Make the symbol submitflagss look less like a type, it is real.
  21. From: Syd
  22.  
  23. Fix calling sequence to copy_message for new MMDF argument
  24. From: Syd
  25.  
  26. Allow Priority: normal is upper or lower N (quickie fix)
  27. From: Syd
  28.  
  29. Fix:    From rn, say "| patch -p -N -d DIR", where DIR is your elm source
  30.     directory.  Outside of rn, say "cd DIR; patch -p -N <thisarticle".
  31.     If you don't have the patch program, apply the following by hand,
  32.     or get patch (version 2.0, latest patchlevel).
  33.  
  34.     After patching:
  35.         Configure -d
  36.         make
  37.         make install
  38.  
  39.     If patch indicates that patchlevel is the wrong version, you may need
  40.     to apply one or more previous patches, or the patch may already
  41.     have been applied.  See the patchlevel.h file to find out what has or
  42.     has not been applied.  In any event, don't continue with the patch.
  43.  
  44.     If you are missing previous patches they can be obtained from our:
  45.     archive server.
  46.  
  47.     Syd Weinstein
  48.     elm@DSI.COM
  49.  
  50.     The patches are available from the dsinc archive server
  51.     Send the following message to archive-server@DSI.COM for
  52.     a list of available patches:
  53.  
  54.     Subject: patch list
  55.     send index elm
  56.  
  57. Index: hdrs/patchlevel.h
  58. Prereq: 7
  59. *** ../elm2.3/hdrs/patchlevel.h    Sun Oct  7 21:54:49 1990
  60. --- hdrs/patchlevel.h    Sun Oct  7 21:55:50 1990
  61. ***************
  62. *** 1 ****
  63. ! #define PATCHLEVEL 7
  64. --- 1 ----
  65. ! #define PATCHLEVEL 8
  66.  
  67. Index: hdrs/sysdefs.SH
  68. Prereq: 4.1.1.2
  69. *** ../elm2.3/hdrs/sysdefs.SH    Sun Oct  7 21:54:50 1990
  70. --- hdrs/sysdefs.SH    Wed Oct 10 12:45:23 1990
  71. ***************
  72. *** 12,20 ****
  73.   esac
  74.   echo "Extracting hdrs/sysdefs.h (with variable substitutions)"
  75.   sed <<!GROK!THIS! >sysdefs.h -e 's!^#undef!/\*#undef!'
  76. ! /* $Id: sysdefs.SH,v 4.1.1.2 90/10/07 19:48:17 syd Exp $ */
  77.   /*******************************************************************************
  78. !  *  The Elm Mail System  -  $Revision: 4.1.1.2 $   $State: Exp $
  79.    *
  80.    *             Copyright (c) 1986, 1987 Dave Taylor
  81.    *             Copyright (c) 1988, 1989, 1990 USENET Community Trust
  82. --- 12,20 ----
  83.   esac
  84.   echo "Extracting hdrs/sysdefs.h (with variable substitutions)"
  85.   sed <<!GROK!THIS! >sysdefs.h -e 's!^#undef!/\*#undef!'
  86. ! /* $Id: sysdefs.SH,v 4.1.1.3 90/10/10 12:45:21 syd Exp $ */
  87.   /*******************************************************************************
  88. !  *  The Elm Mail System  -  $Revision: 4.1.1.3 $   $State: Exp $
  89.    *
  90.    *             Copyright (c) 1986, 1987 Dave Taylor
  91.    *             Copyright (c) 1988, 1989, 1990 USENET Community Trust
  92. ***************
  93. *** 26,31 ****
  94. --- 26,35 ----
  95.    *
  96.    *******************************************************************************
  97.    * $Log:    sysdefs.SH,v $
  98. +  * Revision 4.1.1.3  90/10/10  12:45:21  syd
  99. +  * Make the symbol look less like a typo, its real
  100. +  * From: Syd
  101. +  * 
  102.    * Revision 4.1.1.2  90/10/07  19:48:17  syd
  103.    * fix the bounce problem reported earlier when using MMDF submit as the MTA.
  104.    * From: Jim Clausing <jac%brahms.tinton.ccur.com@RELAY.CS.NET>
  105. ***************
  106. *** 109,115 ****
  107.   #define smflagsv          "-oi -oem -v"   /* Verbose voyuer mode */
  108.   #define submitmail         "$submit"
  109.   #define submitflags     "-mlrnxto,cc*"
  110. ! #define submitflagss    "-mlrn"
  111.   #define mailer        "$mailer"
  112.   
  113.   #define mailx        "$mailx"
  114. --- 113,119 ----
  115.   #define smflagsv          "-oi -oem -v"   /* Verbose voyuer mode */
  116.   #define submitmail         "$submit"
  117.   #define submitflags     "-mlrnxto,cc*"
  118. ! #define submitflags_s    "-mlrn"
  119.   #define mailer        "$mailer"
  120.   
  121.   #define mailx        "$mailx"
  122.  
  123. Index: src/leavembox.c
  124. Prereq: 4.1.1.4
  125. *** ../elm2.3/src/leavembox.c    Wed Aug 15 23:51:35 1990
  126. --- src/leavembox.c    Wed Oct 10 12:50:01 1990
  127. ***************
  128. *** 1,8 ****
  129.   
  130. ! static char rcsid[] = "@(#)$Id: leavembox.c,v 4.1.1.4 90/08/15 21:00:07 syd Exp $";
  131.   
  132.   /*******************************************************************************
  133. !  *  The Elm Mail System  -  $Revision: 4.1.1.4 $   $State: Exp $
  134.    *
  135.    *             Copyright (c) 1986, 1987 Dave Taylor
  136.    *             Copyright (c) 1988, 1989, 1990 USENET Community Trust
  137. --- 1,8 ----
  138.   
  139. ! static char rcsid[] = "@(#)$Id: leavembox.c,v 4.1.1.5 90/10/10 12:49:46 syd Exp $";
  140.   
  141.   /*******************************************************************************
  142. !  *  The Elm Mail System  -  $Revision: 4.1.1.5 $   $State: Exp $
  143.    *
  144.    *             Copyright (c) 1986, 1987 Dave Taylor
  145.    *             Copyright (c) 1988, 1989, 1990 USENET Community Trust
  146. ***************
  147. *** 14,19 ****
  148. --- 14,24 ----
  149.    *
  150.    *******************************************************************************
  151.    * $Log:    leavembox.c,v $
  152. +  * Revision 4.1.1.5  90/10/10  12:49:46  syd
  153. +  * Fix calling sequence to copy_message calls for
  154. +  * new MMDF argument
  155. +  * From: Syd
  156. +  * 
  157.    * Revision 4.1.1.4  90/08/15  21:00:07  syd
  158.    * Change elm to not delete empty folders on a resync
  159.    * From: Syd
  160. ***************
  161. *** 404,410 ****
  162.           if(headers[i]->exit_disposition == STORE) {
  163.             current = i+1;
  164.             dprint(2, (debugfile, "#%d, ", current));
  165. !           copy_message("", temp, FALSE, FALSE, TRUE, FALSE);
  166.           }
  167.         }
  168.         fclose(temp);
  169. --- 409,415 ----
  170.           if(headers[i]->exit_disposition == STORE) {
  171.             current = i+1;
  172.             dprint(2, (debugfile, "#%d, ", current));
  173. !           copy_message("", temp, FALSE, FALSE, TRUE, FALSE, FALSE);
  174.           }
  175.         }
  176.         fclose(temp);
  177. ***************
  178. *** 445,451 ****
  179.           if(headers[i]->exit_disposition == KEEP) {
  180.             current = i+1;
  181.             dprint(2, (debugfile, "#%d, ", current));
  182. !           copy_message("", temp, FALSE, FALSE, TRUE, FALSE);
  183.           }
  184.         }
  185.         if ( fclose(temp) == EOF ) {
  186. --- 450,456 ----
  187.           if(headers[i]->exit_disposition == KEEP) {
  188.             current = i+1;
  189.             dprint(2, (debugfile, "#%d, ", current));
  190. !           copy_message("", temp, FALSE, FALSE, TRUE, FALSE, FALSE);
  191.           }
  192.         }
  193.         if ( fclose(temp) == EOF ) {
  194.  
  195. Index: src/newmbox.c
  196. Prereq: 4.1.1.3
  197. *** ../elm2.3/src/newmbox.c    Sun Oct  7 21:54:58 1990
  198. --- src/newmbox.c    Wed Oct 10 12:53:55 1990
  199. ***************
  200. *** 1,8 ****
  201.   
  202. ! static char rcsid[] = "@(#)$Id: newmbox.c,v 4.1.1.3 90/10/07 19:54:56 syd Exp $";
  203.   
  204.   /*******************************************************************************
  205. !  *  The Elm Mail System  -  $Revision: 4.1.1.3 $   $State: Exp $
  206.    *
  207.    *             Copyright (c) 1988, USENET Community Trust
  208.    *             Copyright (c) 1988, 1989, 1990 USENET Community Trust
  209. --- 1,8 ----
  210.   
  211. ! static char rcsid[] = "@(#)$Id: newmbox.c,v 4.1.1.4 90/10/10 12:53:42 syd Exp $";
  212.   
  213.   /*******************************************************************************
  214. !  *  The Elm Mail System  -  $Revision: 4.1.1.4 $   $State: Exp $
  215.    *
  216.    *             Copyright (c) 1988, USENET Community Trust
  217.    *             Copyright (c) 1988, 1989, 1990 USENET Community Trust
  218. ***************
  219. *** 14,19 ****
  220. --- 14,24 ----
  221.    *
  222.    *******************************************************************************
  223.    * $Log:    newmbox.c,v $
  224. +  * Revision 4.1.1.4  90/10/10  12:53:42  syd
  225. +  * allow words in either case
  226. +  * quickie fix
  227. +  * From: Syd
  228. +  * 
  229.    * Revision 4.1.1.3  90/10/07  19:54:56  syd
  230.    * fix where x.400 type mailers cause Elm to tag all messages as urgent.
  231.    * From: ldk@udev.cdc.com (ld kelley x-6857)
  232. ***************
  233. *** 614,619 ****
  234. --- 619,626 ----
  235.           else if ((first_word(buffer, "Priority:") ||
  236.                first_word(buffer, "Importance: 2")) &&
  237.              !(first_word(buffer, "Priority: normal") ||
  238. +              first_word(buffer, "Priority: Normal") ||
  239. +              first_word(buffer, "Priority: Non-urgent") ||
  240.                first_word(buffer, "Priority: non-urgent")))
  241.             current_header->status |= URGENT;
  242.           else if (first_word(buffer, "Sensitivity: 2"))
  243.  
  244. Index: src/remail.c
  245. Prereq: 4.1.1.1
  246. *** ../elm2.3/src/remail.c    Sun Oct  7 21:54:59 1990
  247. --- src/remail.c    Wed Oct 10 12:45:20 1990
  248. ***************
  249. *** 1,8 ****
  250.   
  251. ! static char rcsid[] = "@(#)$Id: remail.c,v 4.1.1.1 90/10/07 19:48:15 syd Exp $";
  252.   
  253.   /*******************************************************************************
  254. !  *  The Elm Mail System  -  $Revision: 4.1.1.1 $   $State: Exp $
  255.    *
  256.    *             Copyright (c) 1986, 1987 Dave Taylor
  257.    *             Copyright (c) 1988, 1989, 1990 USENET Community Trust
  258. --- 1,8 ----
  259.   
  260. ! static char rcsid[] = "@(#)$Id: remail.c,v 4.1.1.2 90/10/10 12:45:07 syd Exp $";
  261.   
  262.   /*******************************************************************************
  263. !  *  The Elm Mail System  -  $Revision: 4.1.1.2 $   $State: Exp $
  264.    *
  265.    *             Copyright (c) 1986, 1987 Dave Taylor
  266.    *             Copyright (c) 1988, 1989, 1990 USENET Community Trust
  267. ***************
  268. *** 14,19 ****
  269. --- 14,23 ----
  270.    *
  271.    *******************************************************************************
  272.    * $Log:    remail.c,v $
  273. +  * Revision 4.1.1.2  90/10/10  12:45:07  syd
  274. +  * Make the symbol look less like a typo, its real
  275. +  * From: Syd
  276. +  * 
  277.    * Revision 4.1.1.1  90/10/07  19:48:15  syd
  278.    * fix the bounce problem reported earlier when using MMDF submit as the MTA.
  279.    * From: Jim Clausing <jac%brahms.tinton.ccur.com@RELAY.CS.NET>
  280. ***************
  281. *** 116,122 ****
  282.   #endif
  283.         strcpy(mailerflags, (sendmail_verbose ? smflagsv : smflags));
  284.       else if (strcmp(submitmail, mailer) == 0) {
  285. !       strcpy(mailerflags, submitflagss);
  286.         strcpy(expanded, " ");
  287.       } else
  288.         mailerflags[0] = '\0';
  289. --- 120,126 ----
  290.   #endif
  291.         strcpy(mailerflags, (sendmail_verbose ? smflagsv : smflags));
  292.       else if (strcmp(submitmail, mailer) == 0) {
  293. !       strcpy(mailerflags, submitflags_s);
  294.         strcpy(expanded, " ");
  295.       } else
  296.         mailerflags[0] = '\0';
  297.  
  298. exit 0 # Just in case...
  299.