Jump to content

Configuring imapd server port: Difference between revisions

From NikiWiki
Ggamba (talk | contribs)
No edit summary
Ggamba (talk | contribs)
mNo edit summary
Line 1: Line 1:
== A small how to to install and configure the port of Imapd server for Os/2 ==
== How to install and configure the port of Imapd server for Os/2 ==




'''DRAFT and INCOMPLETE'''
- Download the imapd server from [http://hobbes.nmsu.edu/cgi-bin/h-search?sh=1&button=Search&key=Washington+mail+servers&stype=all&sort=type&dir=%2F Hobbes] and unzip it somewhere;


- Download the imapd server from [http://hobbes.nmsu.edu/cgi-bin/h-search?sh=1&button=Search&key=Washington+mail+servers&stype=all&sort=type&dir=%2F Hobbes] and unzip it somewhere
- create a directory to store the email files for the user ''username'', 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 (create it if missing) the line:
- in \MPTN\ETC create an empty file named '''passwd''' and add to the '''inetd.lst''' file (create it if missing) the line:
Line 14: Line 12:
- configure inetd for autostart at system startup (in \TCPIP\BIN\tcpstart.cmd)
- 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'''; 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
- copy the file imap.cmd to \TCPIP\BIN and edit it to reflect the imapd.exe location; comment the "set mailspool" line
Line 22: Line 20:
   mailutil create "#driver.mbx/mail\username\inbox"
   mailutil create "#driver.mbx/mail\username\inbox"


and start inetd. Server is up and running!
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

Revision as of 15:51, 26 October 2006

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