home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 35 Internet / 35-Internet.zip / postroad.zip / forward.cfg < prev    next >
Text File  |  1997-10-23  |  4KB  |  64 lines

  1. /* This is the configuration file for FORWARD.CMD, an automatic forward       */
  2. /* utility designed to be used as a filter exit in version 2.X of the Post    */
  3. /* Road Mailer.  It forwards any incoming note which matches the filter's     */
  4. /* search string, to any number of users, with several options as described   */
  5. /* in the comments in this file.                                              */
  6. /*                                                                            */
  7. /* Remember, filters can perform any of their possible functions AS WELL AS   */
  8. /* executing a user exit, so if you want the incoming note to be deleted,     */
  9. /* filed, etc., after it's been copied into the outbasket folder for          */
  10. /* forwarding, just select the desired option in the filter configuration     */
  11. /* dialog as well as selecting FORWARD.CMD as the REXX exit to execute.       */
  12. /*                                                                            */
  13. /* If you want ALL of your incoming mail to be forwarded, you can use this    */
  14. /* program as a receive exit (User Exits page of the PRM settings notebook)   */
  15. /* instead of using it via a filter.                                          */
  16. /*                                                                            */
  17. /* You can also use this program to forward any note in your inbasket         */
  18. /* directory--no matter how it got there.  In an OS/2 window, execute         */
  19. /* FORWARD.CMD with the full path\filename specification of the note file as  */
  20. /* the command line parameter.                                                */
  21. /*                                                                            */
  22. /* Any renamed copy of FORWARD.CMD will look for a .CFG file by its own name; */
  23. /* for example, if you rename FORWARD.CMD to REDIRECT.CMD, it will no longer  */
  24. /* look for FORWARD.CFG, and will look for REDIRECT.CFG instead.              */
  25. /*                                                                            */
  26. /* This means that you could have a FORWARD.CMD which would use FORWARD.CFG,  */
  27. /* as well as a REDIRECT.CMD and REDIRECT.CFG for a different purpose,        */
  28. /* executed from a different filter.                                          */
  29. /*                                                                            */
  30. /* Comment lines begin with "/*"; blank lines are ignored.                    */
  31. /*                                                                            */
  32. /*                                                                            */
  33. /*                                                                            */
  34. /* at least one TO: line is mandatory; there is no upper limit                */
  35.  
  36. TO: Kari Jackson <prmbeta@ibm.net>
  37. TO:Chuck Kowarz <postsvc@ibm.net>
  38. TO:  info@innoval.com
  39.  
  40. /* if FROM:, REPLY-TO:, and SUBJECT: lines are not present, program will use  */
  41. /* the corresponding lines from the note that's being forwarded; that is, the */
  42. /* note will be redirected instead of being forwarded                         */
  43.  
  44. FROM: Your name here <no-one@nowhere.com>
  45. REPLY-TO: Your name here <no-one@nowhere.com>
  46. SUBJECT: Forwarded from Your name here
  47.  
  48. /* if a TRAILER: line is present, the rest of that line (after TRAILER:) will */
  49. /* be appended to the end of each note forwarded; white space will not be     */
  50. /* stripped from it first, so if you leave a space between TRAILER: and the   */
  51. /* rest, the space will appear at the left margin of that line in the         */
  52. /* forwarded notes                                                            */
  53. TRAILER:     *** This note forwarded to you by Your name here ***
  54.  
  55. /* if a SEND HEADER line is present, the entire header of the incoming note   */
  56. /* will be forwarded along with the note body text                            */
  57. SEND HEADER
  58.  
  59. /* any other lines in this file must be in the exact format in which they     */
  60. /* would be if they had been put into the note, in the outbasket directory,   */
  61. /* by PRM's Compose window; see the Control Tags in Outbasket Notes page of   */
  62. /* the online help for details                                                */
  63. 2Normal
  64.