home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 35 Internet
/
35-Internet.zip
/
maisrv11.zip
/
mailsrv.doc
< prev
next >
Wrap
Text File
|
1995-02-28
|
4KB
|
78 lines
MailSrv V1.10
An alternative Mail Server utility.
Author: Alex T. Vermeulen (a.vermeulen@ecn.nl)
Programmed with Speed Pascal/2 Beta V
This program is freeware, but the author does not guarantuee that this program
will allways work correctly and can't be held responsible for any damage etc, that
could be caused by using this program. Use at your own risk. It works for me though...
Purpose of the program
This program is able to replace the Ultimail/2 server program as a mail server. It is
meant as a temporary means of providing a mail server under OS/2 until the Ultimail people
at IBM get things right. The current UMAILSRV.EXE is a memory hog and contains too much bugs
to be useful. MailSrv is designed to be used together with the pop3 server ported from Unix by
Andrey Iliynikh (ai@casper.che.nsk.su). The archive with this program is included in the
zip file which contains my program. Mailsrv is meant for people using the IBM Ultimail/2 product
who are fed up with the bugs and memory problems. Just kill Umailsrv.exe and run pop3d and
mailsrv in stead. Then your users can use Eudora (for windows) or PMMail (real soon now) or
Warp's Ultimail/Lite mail program using pop to read the mail.
To be able to run this program you need:
- OS/2 V2.1 or higher
- A working Ultimail/2 server setup with umailer.exe functioning
- The pop3d program
- This mailsrv program
- Sendmail up and running
- A pop client (eudora, PMMail, Ultimail/Lite)
Installation
Install the pop3d package in a directory and edit the mailaddr file to suit your needs.
My program will use this file too and does not like tabs and special characters so please
don't use them. The first user on the list is the user to which mails with unknown destination
are sent. The maximum number of users you can specify is 100. Put mailsrv.exe in the same dir as
pop3d.exe.
Make the directories for the received mail per user as you specified it in the mailaddr file.
The only parameter mailsrv needs at startup is the directory in which umailer dumps the mail
files. In sendmail.cf in the \tcpip\etc directory is an entry which contains this directory
after the -dest word:
# Mlocal, P=c:\tcpip\bin\mail.exe, F=lsDFMP, S=10, R=20, A=c:\tcpip\mail $u
Mlocal, P=D:\tcpip\umail\UMAILER.EXE , F=lsm, S=10, R=20, A=-dest D:\TCPIP\Server\INBOX -to $u
So in this case d:\tcpip\server\inbox is the parameter which has to be given at mailsrv
at startup.
Kill the Umailsrv.exe program.
Start the pop3d pop daemon (by typing for example "start /min /n pop3d") and start in the
same manner the mailsrv program ("start /min /n mailsrv d:\tcpip\server\inbox").
That should be it.
Now you can configure the mail clients to use your server as pop3 for mail receive and smtp
for mail send.
PROCMAIL
The included procmail can be use to convert the data in a directory with mail messages built
up with Ultimail/2 to files in the mail-dir of a user for use by pop3d. The program needs two
parameters, first is the directory where Ultimail/2 stored the messages (where the .ENV files
are), the second parameter is where the user's pop3d directory is. Example:
procmail d:\tcpip\mailstor\atverm\inbox d:\mail\atverm
Do this one directory at a time, as old files will be overwritten at each run.
Where to get it
I've downloaded the program to hobbes.nmsu.edu and placed it in /incoming; file maisrv10.zip
I've downloaded the program to ftp-os2.cdrom.edu and placed it in /os2/incoming; file maisrv10.zip.
Proposed directory for placement: /os2/network/tcpip
Succes!
Alex Vermeulen
History
1.00 First release
1.10 Fixed multiple destinations at receipt
better output format
added procmail program