home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 35 Internet / 35-Internet.zip / qmail11.zip / qypmail.doc < prev    next >
Text File  |  1997-03-11  |  2KB  |  47 lines

  1.  
  2. QYPMAIL:
  3.  
  4. A local mail delivery agent for OS/2 sendmail.  QYPMAIL will deliver mail
  5. locally on a per user basis.  Each user can then have their own 
  6. subdirectory with their mail in it.  It is capable of generating (or not
  7. generating) LAMAIL compatible index files.  Each user can also specify an
  8. optional command to be executed upon receipt of mail.
  9.  
  10. Installation:
  11.  
  12. Put QYPMAIL.EXE in your \TCPIP\BIN directory.
  13.  
  14. Put QYPMAIL.CFG in your ETC directory.  Usually C:\MPTN\ETC or C:\TCPIP\ETC.
  15. check the ETC environment variable.
  16.  
  17. Edit the sendmail.cf file to change the local delivery specification.  This
  18. line start with Mlocal.  Change it to be the following:
  19.  
  20. Mlocal, P=d:\tcpip\bin\qypmail.exe, F=lsDFP,  S=10, R=20, A=qypmail $u
  21.  
  22. Edit the QYPMAIL.CFG file for your users.  The syntax of each line is
  23. <userid>,<mail directory>,<Update Inbox (Y/N)>,<Command>.  Any line
  24. not containing 3 commas is considered a comment.
  25.  
  26. The user default defines the behavior when mail arrives for an  otherwise
  27. undefined user.  This could be used to automatically bounce mail for
  28. example.
  29.  
  30. The Update Inbox filed must be either an uppercase 'Y' or 'N'.
  31.  
  32. The command in the command field is executed after the mail is written
  33. to disk, and may contain the following 2 macros:
  34.  
  35. %N gets replaced with the fully qualified pathname of the file that
  36. mail was stored in.
  37.  
  38. %F gets replaced with the sender's email address.
  39.  
  40. These marcos are case sensitive, so %n and %N are not the same!
  41.  
  42. The command filed may be left blank, but the comma delimeter is required.
  43. So if no command is needed simply end the line there.  For example:
  44.  
  45. joe,d:\joe\mail,N,
  46.  
  47.