Hi Sam, Thanks for your reply.
On Wed, Jun 24, 2009 at 3:26 AM, Sam Varshavchik<[email protected]> wrote: > If you are using courier-imap's default scripts, you do not need to worry > about what imaplogin does, or what its two arguments do. imaplogin handles > the initial part of the IMAP connection, receiving the login ID and > password. The first argument is the path to the imapd binary, that gets > executed after receiving a valid id+password, the second argument is the > configured default maildir location. Actually I am trying to understand the code of a Mail server distribution, Deepofix which uses courier-imap. Please check the two links that I have sent you below. If possible could you please elaborate what exactly is being done by Imaplogin in that code. http://svn.deeproot.in/deepofix/deepofix/trunk/packages-dev/courier-config/service/courier-imapd/run As you would have seen, in the above code, tcspsvd is supervised and it is listening on port 143 and executing the program imaplogin. The two arguments for the imaplogin are an executable file of a C program which as far as I have understood just stores the present time in a separate file and the second argument is the imapd binary that you had mentioned above. imapd binary is using the default Maildir and hence it is not mentioned. Here is the code for the C program which is the first arguement of imaplogin http://svn.deeproot.in/deepofix/deepofix/trunk/packages-dev/courier-config/src/lastlogin.c Please look into the code and if possible explain me anything that you could understand from it. Regards, Vignesh -- www.lug.nitdgp.ac.in ------------------------------------------------------------------------------ _______________________________________________ Courier-imap mailing list [email protected] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap
