On Mon, 26 Aug 2002 13:30:27 -0600 (MDT), Craig A Lewis wrote: > Can I run imap as a daemon? rather than via inetd? I don't > see this discussed anywhere in the help files or documentation. > Is there any reason I shouldn't?
If your question is about UW imapd, the answer is "no". UW imapd actually logs in as the UNIX user of the IMAP client (this is why you need to create UNIX userids for your IMAP userids), and thus needs a separate process for each IMAP server session. Some other IMAP server implementations use different security models (that is, they create their own userid space separate from the UNIX space), and thus there is the possibility of running IMAP server sessions as threads instead of processes. If your IMAP server must run a session as a process (as in UW imapd), there is no particular benefit to having it run as a daemon rather than via inetd.
