home *** CD-ROM | disk | FTP | other *** search
- #!/bin/csh -f
- echo "echo Adding filters" > trans.pscmd
- echo "addfilter out mta puttxt1" >> trans.pscmd
- echo "addfilter out msg puttxt1" >> trans.pscmd
- echo "echo Setting variables" >> trans.pscmd
- echo "setv chksumcorrect on" >> trans.pscmd
- echo "filesum on" >> trans.pscmd
- echo "unsetv rmcheck" >> trans.pscmd
- echo "unsetv verbose" >> trans.pscmd
- echo "echo Transfering .mta file" >> trans.pscmd
- echo "put $maildir\in.mta" >> trans.pscmd
- echo "echo Transfering the new mailfiles" >> trans.pscmd
- # remember to adjust the directory if required
- foreach i (in*.msg)
- echo "put $indir\$i" >> trans.pscmd
- end
- echo "echo Done" >> trans.pscmd
-