home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 35 Internet / 35-Internet.zip / maisrv11.zip / mailsrv.doc < prev    next >
Text File  |  1995-02-28  |  4KB  |  78 lines

  1. MailSrv V1.10
  2. An alternative Mail Server utility.
  3.  
  4. Author:  Alex T. Vermeulen (a.vermeulen@ecn.nl)
  5.  
  6. Programmed with Speed Pascal/2 Beta V
  7.  
  8. This program is freeware, but the author does not guarantuee that this program
  9. will allways work correctly and can't be held responsible for any damage etc, that
  10. could be caused by using this program. Use at your own risk. It works for me though...
  11.  
  12. Purpose of the program
  13. This program is able to replace the Ultimail/2 server program as a mail server. It is
  14. meant as a temporary means of providing a mail server under OS/2 until the Ultimail people
  15. at IBM get things right. The current UMAILSRV.EXE is a memory hog and contains too much bugs
  16. to be useful. MailSrv is designed to be used together with the pop3 server ported from Unix by
  17. Andrey Iliynikh (ai@casper.che.nsk.su). The archive with this program is included in the
  18. zip file which contains my program. Mailsrv is meant for people using the IBM Ultimail/2 product
  19. who are fed up with the bugs and memory problems. Just kill Umailsrv.exe and run pop3d and
  20. mailsrv in stead. Then your users can use Eudora (for windows) or PMMail (real soon now) or
  21. Warp's Ultimail/Lite mail program using pop to read the mail.
  22. To be able to run this program you need:
  23.  
  24. - OS/2 V2.1 or higher
  25. - A working Ultimail/2 server setup with umailer.exe functioning
  26. - The pop3d program
  27. - This mailsrv program
  28. - Sendmail up and running
  29. - A pop client (eudora, PMMail, Ultimail/Lite)
  30.  
  31. Installation
  32. Install the pop3d package in a directory and edit the mailaddr file to suit your needs. 
  33. My program will use this file too and does not like tabs and special characters so please
  34. don't use them. The first user on the list is the user to which mails with unknown destination
  35. are sent. The maximum number of users you can specify is 100. Put mailsrv.exe in the same dir as
  36. pop3d.exe.
  37. Make the directories for the received mail per user as you specified it in the mailaddr file.
  38. The only parameter mailsrv needs at startup is the directory in which umailer dumps the mail 
  39. files. In sendmail.cf in the \tcpip\etc directory is an entry which contains this directory 
  40. after the -dest word:
  41.  
  42. # Mlocal, P=c:\tcpip\bin\mail.exe, F=lsDFMP,  S=10, R=20, A=c:\tcpip\mail $u
  43. Mlocal, P=D:\tcpip\umail\UMAILER.EXE , F=lsm, S=10, R=20, A=-dest D:\TCPIP\Server\INBOX -to $u
  44.  
  45. So in this case d:\tcpip\server\inbox is the parameter which has to be given at mailsrv
  46. at startup. 
  47. Kill the Umailsrv.exe program.
  48. Start the pop3d pop daemon (by typing for example "start /min /n pop3d") and start in the
  49. same manner the mailsrv program ("start /min /n mailsrv d:\tcpip\server\inbox"). 
  50. That should be it.
  51. Now you can configure the mail clients to use your server as pop3 for mail receive and smtp
  52. for mail send.
  53.  
  54. PROCMAIL
  55. The included procmail can be use to convert the data in a directory with mail messages built 
  56. up with Ultimail/2 to files in the mail-dir of a user for use by pop3d. The program needs two
  57. parameters, first is the directory where Ultimail/2 stored the messages (where the .ENV files
  58. are), the second parameter is where the user's pop3d directory is. Example:
  59.  
  60. procmail d:\tcpip\mailstor\atverm\inbox d:\mail\atverm
  61.  
  62. Do this one directory at a time, as old files will be overwritten at each run.
  63.  
  64. Where to get it
  65. I've downloaded the program to hobbes.nmsu.edu and placed it in /incoming; file maisrv10.zip
  66. I've downloaded the program to ftp-os2.cdrom.edu and placed it in /os2/incoming; file maisrv10.zip.
  67. Proposed directory for placement: /os2/network/tcpip
  68.  
  69. Succes!
  70.  
  71. Alex Vermeulen
  72.  
  73. History
  74. 1.00    First release
  75. 1.10    Fixed multiple destinations at receipt
  76.         better output format
  77.         added procmail program
  78.