On Sat 29/Dec/2012 04:29:34 +0100 Asmaa Ahmed wrote:
> 
> I wonder how does courier-imap know that the client is connected, so he
> starts processing his messages from 'new' directory to 'cur' directory?

Daemon processes are "listening" on the IMAP ports.  When they "accept"
a new connection they get to know about it.  You may list those
processes with netstat -tlp.

> And where are the actual scripts that run this processing? Can it be
> modified or it is a binary file?

Mostly binary.  Courier uses generic daemons, but looking at their
command line and environment you may learn the current status.  For
example, on a typical Linux system, if nnn is the process number
delivered by netstat, you can read that data like so:

  $ echo $(</proc/nnn/cmdline)
  $ tr '\0' '\n' < /proc/nnn/environ |less

hth
-- 


































------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122912
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to