home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 35 Internet / 35-Internet.zip / ice4ward.zip / ice4ward.txt < prev   
Text File  |  1997-04-19  |  2KB  |  51 lines

  1. ICE4WARD mail forwarder.  Julian Thomas (jt@epix.net) April 1997
  2.  
  3. To use this you need:
  4.  
  5. 1. Set up a filter to copy all the mail you want to forward into a
  6.    dedicated folder.  Here's the one I use:
  7.  
  8. ---------- Filter 11  FIF-level 1.1 ----------
  9. f1.1 1 +\enabled
  10. f1.2 * copy after first screen\Filter description
  11. f2 * copy4auto\Filter alias
  12. f3 # 24\search mode[s] ::  Body Header
  13. f4 * \search expression or text
  14. f6 * F046\folder directory for copy:: screened for autoforward to jt
  15. f13.1 1 I \filter type :: Inbound
  16. f13.2 1 S \search type :: Simple
  17. f13.3 1 A \match type :: Always
  18. f13.7 1 Y \Copy to Folder
  19. f13.13 1 N \Disposition is delete :: No delete
  20.  
  21. 2.  Create a .cmd file (I keep mine in c:\tcpip) to dial up your ISP.
  22.     dialler.how explains how I was able to do this; you will need to
  23.     adapt it to whatever works with your isp.  Note that you will
  24.     hardcode the phone number, your ID and password in the scripts.
  25.  
  26. 3.  Meet the dependencies:
  27. /* dependencies:  (all must be reachable by the PATH except for mailto.exe)
  28.    zip.exe     infozip zip utility
  29.    mailto.exe  (in mr2ice directory; need one later than 1.26 that
  30.                 doesn't have a length limitation)
  31.    killem.exe   kills process by name of executable (orprocess #)
  32.    uuencode.exe standard utility available from various sources
  33.   tee.exe       standard utility available from various sources
  34.                 (there's an IBM EWS one around); for capturing output
  35.                 for debug, etc.
  36. */
  37.  
  38. 4.  Put this script in its own directory.
  39.  
  40. 5.  Edit ice4ward.prm with your parameters.  To check everything out, set
  41.     test to 1.
  42.  
  43. 6.  Try it out.  use this incantation in an os2 text window:
  44.  
  45.     cd \ice4ward        (or wherever you have it)
  46.     ice4ward 2>&1 | tee ice4ward.log
  47.  
  48. 7.  When running it for real, be sure to set test to 0.
  49.     When you get back home, highlight the window and use Ctrl-C to
  50.     terminate
  51.