home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 35 Internet
/
35-Internet.zip
/
ice4ward.zip
/
ice4ward.txt
< prev
Wrap
Text File
|
1997-04-19
|
2KB
|
51 lines
ICE4WARD mail forwarder. Julian Thomas (jt@epix.net) April 1997
To use this you need:
1. Set up a filter to copy all the mail you want to forward into a
dedicated folder. Here's the one I use:
---------- Filter 11 FIF-level 1.1 ----------
f1.1 1 +\enabled
f1.2 * copy after first screen\Filter description
f2 * copy4auto\Filter alias
f3 # 24\search mode[s] :: Body Header
f4 * \search expression or text
f6 * F046\folder directory for copy:: screened for autoforward to jt
f13.1 1 I \filter type :: Inbound
f13.2 1 S \search type :: Simple
f13.3 1 A \match type :: Always
f13.7 1 Y \Copy to Folder
f13.13 1 N \Disposition is delete :: No delete
2. Create a .cmd file (I keep mine in c:\tcpip) to dial up your ISP.
dialler.how explains how I was able to do this; you will need to
adapt it to whatever works with your isp. Note that you will
hardcode the phone number, your ID and password in the scripts.
3. Meet the dependencies:
/* dependencies: (all must be reachable by the PATH except for mailto.exe)
zip.exe infozip zip utility
mailto.exe (in mr2ice directory; need one later than 1.26 that
doesn't have a length limitation)
killem.exe kills process by name of executable (orprocess #)
uuencode.exe standard utility available from various sources
tee.exe standard utility available from various sources
(there's an IBM EWS one around); for capturing output
for debug, etc.
*/
4. Put this script in its own directory.
5. Edit ice4ward.prm with your parameters. To check everything out, set
test to 1.
6. Try it out. use this incantation in an os2 text window:
cd \ice4ward (or wherever you have it)
ice4ward 2>&1 | tee ice4ward.log
7. When running it for real, be sure to set test to 0.
When you get back home, highlight the window and use Ctrl-C to
terminate