home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Spezial
/
SPEZIAL2_97.zip
/
SPEZIAL2_97.iso
/
ANWEND
/
ONLINE
/
MR2IUUCP
/
UUPC.TXT
< prev
Wrap
Text File
|
1997-01-05
|
5KB
|
136 lines
Installing UUPC support.
First you should have a working UUPC setup. It is now possible to
use the UUPC support without a UUPC setup - see the section below
titled "How to use the MR/2 UUPC support without setting up UUPC".
The getmail.cmd and postmail.cmd files go in the MR2 ICE mail directory.
This should be the user name you log on to MR/2 ICE with. If you use the
default it is MAIL.
The UNMBOX.EXE program should either go in the MR/2 ICE directory or
somewhere on the PATH. Edit the getmail.cmd and postmail.cmd files and
change the "mail" on the indicated lines to the correct directory name
for your setup.
In the MR/2 ICE Network Settings change the Read mail and Deliver mail
to Custom. Also add a valid directory to the SMTP Settings Mail Dir.
Make sure this directory is empty otherwise MR/2 will attempt to
interpret every file as an incoming mail file. The GETMAIL.CMD file
must be edited to have the same SMTP Mail Dir. This directory MUST be
created before running the UUPC support.
NOTES
The UNMBOX program can parse UUPC mailboxes with the nofromsep or fromsep
format. Normally mailboxes from UUPC have the nofromsep delimeter (20 0x01 or
^A characters between each mail message). However UNMBOX will use the "From "
line to split mailboxes if the first line is not a nofromsep delimiter.
The UNMBOX program renames the UUPC mailbox so as to avoid a clash with
UUPC writing new mail. If it cannot rename the mailbox it will exit
with no message and you can try again to collect mail later.
The default directory for users is MAIL. If this is not correct for your
setup then a second parameter can be added to the "unmbox" command in
getmail.cmd to specify the proper name.
HOW TO USE THE MR/2 UUPC SUPPORT WITHOUT SETTING UP UUPC
1. Set the UNMB_MAIL environment variable to point to the mailbox.
2. Modify the postmail.cmd or create a local rmail.cmd
For example you could copy the MR/2 mail file to a directory on a file
server and the PC running UUPC could do an rmail on these files before
polling. See the rmail.ex for an example.
TROUBLESHOOTING:
The UNMBOX program uses the following settings from the UUPC
config files:
MailExt
ConfDir
MailDir
Mailbox
nake sure that at least Confdir and Mailbox are defined.
NOTE: the UUPCUSRRC variables overide the UUPCSYSRC settings.
The environment variable UNMB_MAIL overides the UUPC config file
settings.
e.g.
SET UNMB_MAIL=c:\user\mail\miket.mai unmbox
ERROR MESSAGES: (saved in MAIL\GETMAIL.ERR)
error - cannot find UUPC mailbox
It appears that it couldn't find your UUPC mailbox.
Please ensure that UUPC works. Try the mail.exe that comes with UUPC
and if it works then you can try the UNMB_MAIL environment variable.
Please let me know if this error occurs and the UUPC mail program can
find the mail!
error - cannot open new file for mail
This happens if the SMTP mail directory does not exist. Create the
directory and try again.
unmbox: error - cannot open file for error message
There is no directory called MAIL for the MAIL\GETMAIL.ERR file to be
created.
usage: unmbox <SMTP directory> [<username>]
UNMBOX requires the SMTP Mail Directory as a parameter.
error - no From or nofromsep line in mailbox
There was no From or nofromsep line in the mailbox. It may not be a
valid mailbox.
error - no From line at start of mailbox
Make sure there are no blank lines at the start of the mailbox. The first
line should either be 20 ^As or a "From xxx" type line.
error - parse error reading mailbox
This is a catchall error - it should not happen but if it does please
contact miket@pcug.org.au and explain the circumstances of the error.
HISTORY:
1.0.00 Initial version. 12/10/1996
1.0.01 Fixes. 19/10/1996
Fix parsing of UUPC variables
Add fromsep logic - NO fromsep should be defined!
Inprove get_next_fname so it does not
return a filename that already exists.
Rename UUPC mbox so it cannot be written
to by uuxqt/rmail.
1.0.02 Fixes. 26/12/1996
Use tmpnam rather than tempnam and remove
dependence on envvar TMP being unset.
Do not delete renamed mailbox if no mail.
1.0.03 Fixes. 01/01/1997
Fix UNMB_MAIL - was broken :-(
Fix bug with writing out to getmail.err - added
new command line parameter for MR/2 username.
1.0.04 Cleanup/fixes. 04/01/1997
Remove all global variables.
Fix bug in parsing UUPC definition files.
Works with nofromsep or fromsep format mailboxes.
Acknowledgements:
UNMB_MAIL bug reported by:
Herbert Neugebauer haen@veces.bb.bawue.de
Herbert also convinced me of the necessity of supporting fromsep
format mailboxes.