To view a .tar file: tar tvf foo.tar To extract: tar xvf foo.tar Things to know about ELM: do "add mime" (for /mit/mime/decmipsbin or whatever) ------------------------------------------------------------ Where is yet-to-be-read mail spooled? [/usr/spool/mail] ~/Mail/inbox Mail group is system Elm needs to be installed and run as a setgid program only if the mail spool directory permissions do not allow world write access. If your mail spool directory has the permissions: drwxrwxr-x 3 root mail 512 Dec 24 17:20 /usr/mail then Elm must be setgid to the same group as the mail spool directory (in this case group mail). However, if the spool permissions look like: drwxrwsrwt 2 root staff 512 Dec 21 20:14 /usr/spool/mail then Elm should not be installed or run as a setgid program. Am I going to be running as a setgid program? [y] n (This might need to be changed.) ------------------------------------------------------------- RS: no sys_errlist Sun: no sys_errlist -------------------------------------------------------------- I will not be keeping anything in MH format. I will have two conversions: ...here's basically what'd happen: 1) inc 2) convert number files in ~/Mail/inbox into an ELM folder 3) delete the number files Now the Mh files are gone. So now you can manipulate your mail happily. When you send something, the following would happen: 1) create the message (which ELM already puts into a /tmp file) 2) instead of sending it normally, have it issue a "send /tmp/123.snd" command (with whatever .snd file it created) 3) Before sending, we'd put in the proper headers, of course. --------------------------------- *** HESIOD *** you query the hesiod database. it's fairly simple. source for hesinfo is: attach source; cd /source ; look hesinfo FILES.look hesiod is what you want. there's no way to get anything else. do what I sent to look at the hesinfo source. there's a short document on programming with hesiod - it should be in there. (it's simple) also you can look at /mit/consult/src/hes/hes.c for a short example of a probram that uses the hesiod libraries... do something like: hes_resolve(username, "passwd") (in c code that is)... that will give you the password entry... then do some sscanf on it -------------------------------- **** POP **** ok.. probably the best thing to do first is run the `pop' command, in the sipb locker ------------------------ *** Patch for SENDING MAIL *** I. mailmsg2.c write_header_info (username is user@machine) at beginning of procedure find "@" in username set that to \0 ... at end of procedure make the \0 at the end of username equal to "@" II. Use the code for /usr/athena/bin/send to create a mail-sending thing ------------------------