home *** CD-ROM | disk | FTP | other *** search
/ Acorn User 2 / AUCD2.iso / internet / acornet.spk / !Acornet / Apps / !POP / !Help < prev    next >
Text File  |  1995-12-03  |  17KB  |  471 lines

  1. !POP Version 0.97
  2. ====
  3.  
  4. !POP is a POP3 mail transport for use with Freenet/Acorn TCP/IP.  It will
  5. fetch EMAIL from one or more POP mailboxes and can also send outgoing
  6. EMAIL (using SMTP).
  7.  
  8. POP is only a transport - unless you are a massochist you will also need
  9. some mail management/reading software.  Newsbase and TTFN are recommended.
  10. !POP stores its mailboxes in standard formats, so other packages may work.
  11.  
  12. Contents
  13. ========
  14. Terms & Conditions
  15. Credits
  16. Features
  17. Requirements
  18. Installation
  19. Configuring from within Newsbase
  20. Use with ANT Internet Suite
  21. POP Users & Mailboxes
  22. POP Settings
  23. In Use - Checking Mail
  24. Sending Mail
  25. BIG DISCLAIMER ON PASSWORD SECURITY!  <<<<<<< READ
  26. Trouble with the TOP command
  27. What are POP and SMTP?
  28. External Interface
  29.  
  30. Terms & Conditions
  31. ==================
  32.  
  33. (c) Daniel Pead, 1995
  34.  
  35. !POP may be used and copied freely under the following conditions:
  36.  
  37. 1. It is supplied with this copyright notice intact.
  38. 2. No charge may made for supplying it. It may NOT, for example, be
  39. distributed on magazine cover discs, PD library discs or bundled with a
  40. commercial product without explicit permission from me.  It may not be
  41. placed on bulletin boards or internet archives which charge a subscription
  42. or use premium rate telephone numbers.
  43. 3. Anybody using this software must accept that it is supplied, free-of-
  44. charge, with no warranty for reliability, accuracy or fitness-for-
  45. purpose.  It is the user's responsibility to satisfy themselves that this
  46. software is sufficiently reliable for their intended purposes. (There -
  47. some firms make you PAY for a waiver like that!)
  48.  
  49. Contact
  50. =======
  51.  
  52. Daniel.Pead@Nottingham.ac.uk
  53.  
  54. This software is NOT a product of the University of Nottingham and is not
  55. supported or endorsed by the University.
  56.  
  57. Credits
  58. =======
  59.  
  60. Andy Mell - for !NetLib
  61. Graham Allan - for Newsbase; the "Sendmail" code and testing.
  62. Stuart Brodie - for socket libraries used in early development
  63. Tom Hughes - for Freenet
  64.  
  65. ... and everybody else who helped out with testing.
  66.  
  67. Features
  68. ========
  69.  
  70. * Almost everything is set up from dialogue boxes
  71. * Can check mail for multiple users & hosts
  72. * Mail can be left on the server (useful for checking
  73.   'work' email from home)
  74. * Messages over a certain length can be trapped and skipped or just the
  75.   message
  76.   header downloaded.  The full message can be fetched or deleted later.
  77. * Runs largely in 'background' mode and doesn't lock up your machine
  78.   while waiting for the server to respond.
  79. * Includes links to Newsbase.
  80.  
  81. Requirements
  82. ============
  83.  
  84. * RISC-OS 3.1 or later
  85. * 4MB RAM and a hard disc (the minimum for using internet, really)
  86. * Acorn TCP/IP or Freenet (NOT !TCPIP/KA9Q)
  87. * Newsbase (V0.54 or later) and !TTFN. See the note below for use with
  88.   Newsbase 0.55.
  89.  
  90. If you are using Acorn TCP/IP then it is a good idea to also install the
  91. 'InetDB' part of Freenet, which handles address lookups.  Otherwise you
  92. must add the internet address of your mail server(s) to !Internet.files.
  93. hosts.
  94.  
  95. Installation
  96. ============
  97.  
  98. Summary:
  99.  
  100. 1. Install Freenet or Acorn !Internet. (Non trivial! Here's one I prepared
  101. earlier...)
  102.  
  103. 2. Copy !POP, !Newsbase, !TTFN etc. to your hard disc.
  104.  
  105. 3. Copy the POP transport definitions into Newsbase - the program
  106. "NBInstall" in the POP distribution will do this for you.  ** Use
  107. NB055Inst if you have Newsbase 0.55 **
  108.  
  109. 4. Either re-start the computer or run the !Boot files within !POP and
  110. !Newsbase so that they can find one another...
  111.  
  112. 5. Configure Newsbase first - Newsbase has extensive on-line help.
  113.  
  114. 6. Run !POP and review the contents of the "Settings" dialogue box. !POP
  115. should have got sensible defaults for most of this from Newsbase.
  116.  
  117. 7. Bring up !POPs "Users" dialogue and add the details of the POP
  118. mailboxes you wish to check. Again - if you added users when you set up
  119. Newsbase this should already be mostly done.
  120.  
  121. 8. Hook up to Internet and choose 'Check Mail' from the !POP menu...
  122.  
  123. Configuring from within Newsbase
  124. ================================
  125.  
  126. !POP has its own setup dialogues, but it can obtain some of its settings
  127. automatically from Newsbase's system variables, so you'll save time if you
  128. set up Newsbase before running !POP.
  129.  
  130. 1. Site settings:
  131.  
  132.    Host/domain: !POP doesn't use these  - best set up manually.
  133.  
  134.    Mailname: The name of your POP server (usually the part of your
  135.              EMAIL address following the '@')
  136.    Remote:   The name of your SMTP gateway machine (often the same
  137.              as above.
  138.  
  139.    If this is incompatible with other transports then leave these as is and
  140.    override the defaults from within !POP.
  141.  
  142. 2. Users
  143.  
  144. !POP maintains its own list of usernames, passwords and POP servers. If
  145. you add or delete users from within Newsbase they will also be added or
  146. deleted from !POP's list. You can't set POP passwords or specify POP
  147. servers other than the one supplied in 'Mailname' above from Newsbase,
  148. though.
  149.  
  150. 3. Transports:
  151.  
  152. *   If you want to send outgoing mail via !POP's SMTP transport then set
  153.     the 'Default mail transport' to 'POP'.
  154.  
  155. *   Select "Transport properties for -> POP" and turn on "Check for
  156.     Arrivals".
  157.  
  158. *   Click on 'Setup' - this should start !POP and bring up the POP settings
  159.     dialogue box.  Or you could just double-click on !POP if you like...
  160.     Unless you have a complex set-up you can probably take the defaults
  161.     here and go on to check the User & Mailbox list.
  162.  
  163. Use with ANT Internet Suite
  164. ===========================
  165.  
  166. If you have the ANT Internet Suite then you can use !POP to fetch the mail
  167. instead of ANT's POP fetcher, gaining the ability to screen out
  168. large/previously read messages and check your mail at regular intervals.  The
  169. mailbox files created by !POP are compatible with Marcel.
  170.  
  171. Currently, !POP won't handle outgoing mail from Marcel - this can be sent as
  172. normal by choosing "Transfer -> Mail Only" from the ANT Internet menu.
  173.  
  174. Set !POPs incoming mail file name (in the settings dialogue) to:
  175.  
  176.     Inet:Spool.mail.default
  177.  
  178. Remove the "GET" line from !InetSuite.Internet.files.!Inetmail so that the ANT
  179. suite won't try to fetch your mail itself.
  180.  
  181. POP Users & Mailboxes 
  182. =====================
  183.  
  184. Choose "Users..." from the !POP iconbar menu.
  185.  
  186. !POP can check a list of mailboxes on several different machines.  Given
  187. that, this dialogue should be pretty obvious...
  188.  
  189. If you are using Newsbase then you should add new users to Newsbase
  190. *first* (this will also add them to !POP) then bring up the !POP dialogue
  191. to fill in missing details.
  192.  
  193. User:
  194.     The username (e.g. "fbloggs" if address is "fbloggs@wibble.co.uk")
  195.  
  196. Host:
  197.     The hostname (e.g. "wibble.co.uk")
  198.  
  199. Password:
  200.     The password for this mailbox.  If you leave this blank then !POP will
  201.     prompt for it when you next 'check mail'. 
  202.  
  203. Keep Password:
  204.     If this is selected, !POP will remember the password for this user
  205.     between checks.  The password is also stored on disc if you click 'Save'.
  206.     See the note on "Security" later.
  207.  
  208. Leave Mail on Server:
  209.     If this is selected, then mail messages will NOT be deleted from the
  210.     POP server after downloading. Useful if you don't quite trust POP or if
  211.     you are reading mail from several different machines.  On servers compatible
  212.     with "Berkeley popper" !POP can recognise old messages and won't download
  213.     them time after time (see "Skip... Previously read" below).
  214.     
  215. Save:
  216.     Saves the settings to disc.
  217.  
  218. Cancel:
  219.     *Only* cancels changes to the currently displayed user.  Any previous
  220.     changes are permanent.
  221.  
  222. NOTE:
  223.     If you add or modify users from within Newsbase, the !Pop.Users file on
  224.     disc is modified. !POP re-loads this if it notices that it has been
  225.     updated - this may cancel any changes which have been made in !POP
  226. since
  227.     the file was last saved.
  228.  
  229.  
  230. POP Settings
  231. ============
  232.  
  233. The !POP settings dialogue box will appear the first time you run !POP.
  234. You can also get this by choosing "Settings" from the !POP iconbar menu or
  235. hitting 'Setup' from the Newsbase transports control.
  236.  
  237. Skip messages:
  238.  
  239.     This allows you to avoid downloading huge files or messages that have
  240.     already been read. For large messages, !POP will get just the header so
  241.     that you can check the sender and subject before downloading the whole
  242.     thing.
  243.  
  244.     The "Previously Read" option may not work with all POP servers - it
  245.     looks for the 'Status' messages in the header which the Berkeley 'popper'
  246.     POP server appends when a message has been read but not deleted.
  247.  
  248.     The "Confirm" option causes POP to bring up a "Delete/Skip/Download/Get
  249.     Header" dialogue box (including the subject, sender and length)
  250.     whenever it encounters a long/previously read message. (This only happens
  251.     if you selected 'check mail' from the menu - on a timed check the message is
  252.     still skipped).
  253.  
  254.      (If your POP server does not support the "TOP" command then you will not be
  255.      able to get headers or preview the sender and subject).
  256.  
  257. Check mail:
  258.  
  259.      While !POP is running, it can make regular checks for new mail.  (If you
  260.      have a dialup connection then these should fail peacefully while you are
  261.      not connected).  When making a timed check !POP will surpress certain
  262.      prompts for user intervention (like the 'confirm' dialogue above) and take
  263.      sensible defaults.  You can only do timed checks for users with a stored
  264.      password. Errors are sent to the log file.
  265.  
  266. Show Progress:
  267.  
  268.     Brings up a dialogue box which monitors the progress of POP and SMTP
  269.     transactions.
  270.  
  271. Incoming Mail file(s) & Format:
  272.  
  273.     Specifies where the incoming mail is stored. You can include a '*' in
  274.     this which will be replaced by the current user name.
  275.     
  276.     Normally, mail is stored in one file per user with the start of each message
  277.     marked by the line "From <user> <date>" - a fragile but widely used format
  278.     usually refered to as "Berkeley Mailbox".
  279.     Three other formats are available:
  280.  
  281.     "Rmail" - messages are delimeted by "#RMail <length>" - this may improve
  282.     the speed of the mail reader.
  283.  
  284.     "Ctrl-A" - messages are seperated by Ctrl-A characters
  285.  
  286.     "Debatch" - each user's mailbox is a directory containing seperated
  287.     messages in numbered files.  Probably not much use just yet (it is also
  288.     subject to the dreaded 77 file limit).
  289.  
  290.     Newsbase users should probably stick to "Berkeley" or "RMail" format.
  291.  
  292. Outgoing mail (SMTP) gateway:
  293.  
  294.     The internet address of the machine via which all outgoing mail is
  295.     sent. If you leave this blank then !POP uses the destination supplied in
  296.     each messages' control file (although this feature is untested).
  297.  
  298. Outgong mail queue directory:
  299.  
  300.     The directory containing the outgoing mail queue :-)
  301.  
  302. In Use
  303. ======
  304.  
  305. Checking Mail
  306. -------------
  307.  
  308. Run !POP and select "Check Mail" from the iconbar menu.  !POP will work
  309. through all the defined mailboxes checking for new arrivals.  You can
  310. check a specific mailbox by choosing one from the "Check Mail" submenu.
  311.  
  312. If any users do not yet have passwords you will be asked for these when
  313. POP comes to check their mailboxes.
  314.  
  315. If POP is set up to skip long or previously read messages, and the
  316. 'confirm' option is set then, when such a message is encountered, you will
  317. be asked if you whish to download the message; download just the header;
  318. skip the message or simply delete it.
  319.  
  320. !POP won't actually tell you you have new mail unless you have the 'Show
  321. Progress' option set. However, if Newsbase is running it will catch on
  322. within 10 seconds or so and sort & announce the mail.
  323.  
  324. POP can be set up to check mail at regular intervals. When doing a regular
  325. check, POP will not interrupt you with "Skip/Download/Delete" prompts,
  326. error messages or requests for passwords:  Old messages will be skipped;
  327. only the headers of large messages will be fetched; errors written to the
  328. logfile and mailboxes without passwords will not be checked.
  329.  
  330. If you don't want to leave !POP running, it may be possible to use a
  331. program such as !Alarm to check mail by issuing a command such as:
  332.  
  333.    *wimptask POP -in -quit
  334.  
  335. Sending Mail
  336. ------------
  337.  
  338. When you send a message using TTFN/Newsbase then the outgoing message is
  339. written to !POPs queue.  Pop checks this every 20 seconds or so while the
  340. network is live and will send out any messages it finds.  If you can't
  341. wait 20 seconds then choose "Send Queued" from the !POP menu.
  342.  
  343. As with checking mail - POP only reports errors on screen if you chose
  344. "Send Queued" manually - otherwise, errors are written to the log file.
  345.  
  346. An external application can start POP and send outgoing mail with:
  347.  
  348.    *wimptask POP -out -quit
  349.  
  350.  
  351. BIG DISCLAIMER ON PASSWORD SECURITY!
  352. ====================================
  353.  
  354. !POP stores passwords on disc in a scrambled form.  IMHO this is 100%
  355. better than having them in plain text, but please DO NOT overestimate the
  356. security this offers.  Since !POP has to be able to decode these passwords
  357. and send them to the server - at which stage they can easily be
  358. intercepted - there seems to be little point in using 'strong' encryption
  359. (using a password to encrypt your password seems to defeat the object
  360. anyway - if you disagree move the 'users' file to a DES-encrypted SparkFS
  361. archive).
  362.  
  363. For users without the 'Keep Password' option, !POP does not store the
  364. password between checks.  However, I would not like to guarantee that the
  365. password could not be fished out of somewhere in RAM with a memory editor.
  366.  
  367. Trouble with the TOP command
  368. ============================
  369.  
  370. According to the POP 3 standard, the server command 'TOP m n' should retrieve
  371. the header of message 'm' followed by 'n' lines of the message.  It follows
  372. from this that 'TOP m 0' should get just the header.
  373.  
  374. Unfortunately, some POP servers don't like 'TOP m 0' and send garbage.  If you
  375. think you might be suffering from this problem then edit !POP.!Defaults to
  376. include:
  377.  
  378.      *Set POP$Kludges "T"
  379.  
  380. ... and POP will use 'TOP m 1' instead.
  381.  
  382.  
  383. What are POP and SMTP?
  384. ======================
  385.  
  386. SMTP is the protocol used to exchange EMAIL on the internet - it is not
  387. particularly suitable for getting mail to personal computers because:
  388.  
  389. (a) They are often switched off or disconnected from the net.
  390. (b) PCs often have no fixed network address - they may get
  391.     allocated a different address each time they connect.
  392. (c) What if your main PC is at work, but you sometimes want to
  393.     dial in and check your mail from home...?
  394.  
  395. With POP (Post Office Protocol) your mail arrives at a mailbox on a
  396. central server run by your Internet provider, much like the bad old days
  397. when you had to log in from a terminal and type 'mail' to see it. POP
  398. allows your PC to log in automatically, collect any new mail and log
  399. out.   
  400.  
  401. Standard POP has no facilities for SENDING mail - outgoing mail is sent
  402. using SMTP to a 'mail gateway' (often the same machine that holds your POP
  403. mailbox).
  404. It's much easier to send SMTP mail than to receive it.
  405.  
  406. Note - some Internet providers, showing great foresight also use "PoP" as
  407. an acronym for "Point of Presence". This has nothing to do with POP.
  408.  
  409. External Interface
  410. ==================
  411.  
  412. This section is rather crypric, but might help people wanting to tweak the
  413. Newsbase transport definitions or use a different mailreader.
  414.  
  415. Directory and File names
  416. ------------------------
  417.  
  418. ... Kept in !POP.!Defaults.  Currently set up to take sensible values from
  419. Newsbase.
  420.  
  421. Outgoing Mail
  422. -------------
  423.  
  424. Same format as KA9Q - numbered text and work files, 'sequence' file with
  425. the last number used in.
  426.  
  427. User Admin
  428. ----------
  429.    POPadmin adduser -u <user> -h <host> [-p <pass>] [-l(eave mail)]
  430.             [-k(eep pass)]
  431.    POPadmin moduser -u <user> -h <host> [-p <pass>] [-l(eave mail)]
  432.             [-k(eep pass)]
  433.    POPadmin deluser -u <user> [-h <host>]
  434.  
  435. (In the last case, if host is supplied, both user and host much match).
  436.  
  437. This updates the users file - !POP checks the time stamp on this and re-
  438. loads it before performing the next operation.
  439.  
  440. POP control
  441. -----------
  442.  
  443. *wimptask POP [-in] [-out] [-chpass <user>] [-setup] [-setusers] [-quit]
  444.           [-user <user>] [-save] [-attended]
  445.  
  446. If !POP is not running this command will start it.  Otherwise, it sends a
  447. message to the running !POP task (by the rather nonstandard method of
  448. briefly starting a dummy WIMP task with the command in the task name...
  449. saves getting message number allocations!) The qualifiers are as follows:
  450.  
  451. -in     Check all users POP mailboxes for incoming mail
  452. -out    Deal with any outgoing mail
  453. -chpass <user>
  454.         Prompt for the POP password for <user>
  455. -setup  Open the main configuration dialogue box
  456. -setusers
  457.         Open the user setup dialogue box
  458. -quit   After performing the requested actions, quit !POP
  459. -user <user>
  460.         Used with '-in' : Just check mail for <user>
  461.         Used with '-setusers' : Go directly to the specified user
  462. -save   Used with '-setup' or '-setusers' this saves the new settings to
  463.         disc as soon as you hit OK (useful with -quit).
  464. -attended
  465.         Used with '-in' or '-out' this performs the operation in 'attended'
  466.         mode. Default is 'unattended'
  467.  
  468.  
  469.  
  470.  
  471.