Configuring imapd server port
How to install and configure the port of Imapd server for Os/2
- Download the imapd server from Hobbes and unzip it somewhere;
- create a directory to store the email files for the user username, for example c:\home\default\mail\username
- in \MPTN\ETC create an empty file named passwd and add to the inetd.lst file (create it if missing) the line:
imap tcp imapd
- configure inetd for autostart at system startup (in \TCPIP\BIN\tcpstart.cmd)
- run the command pw2add; user name will be username and password will be what you like (it is just to connect to the imapd server); when asked for home directory, specify the previously created one (in the sample: "c:\home\default\mail\username")
- copy the file imap.cmd to \TCPIP\BIN and edit it to reflect the imapd.exe location; comment the "set mailspool" line
- run
mailutil create "#driver.mbx/mail\username\inbox"
and start inetd (*). Server is up and running! If you connect with Thunderbird, you must turn off the use of the "IDLE" command. You can turn off idle by de-selecting "Use IDLE command" in Thunderbird's advanced settings box of your e-mail account's server settings.
(*) Note: don't run inetd from the same directory where imapd.exe is! If you look at the window where inetd is running, for any imapd command received you should see only a single line like:
spawnning imapd socket=xxxx