Jump to content

Configuring imapd server port: Difference between revisions

From NikiWiki
Ggamba (talk | contribs)
mNo edit summary
Ggamba (talk | contribs)
No edit summary
Line 8: Line 8:
- create a directory to store the email files, for example c:\home\default\mail\username
- create a directory to store the email files, for example c:\home\default\mail\username


- in \mptn\etc create an empty file named '''passwd''' and add to the '''inetd.lst''' file the line:
- 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
   imap tcp imapd


- configure inetd for autostart at system startup
- configure inetd for autostart at system startup (in \TCPIP\BIN\tcpstart.cmd)


- run the command '''pw2add''' and, when asked for home directory, specify the previously created one (in our sample: "c:\home\default\mail\username")
- run the command '''pw2add''' and, when asked for home directory, specify the previously created one (in our 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
- 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!

Revision as of 15:19, 26 October 2006

A small how to to install and configure the port of Imapd server for Os/2

DRAFT and INCOMPLETE

- Download the imapd server from Hobbes and unzip it somewhere

- create a directory to store the email files, 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 and, when asked for home directory, specify the previously created one (in our 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!