On 12:38 PM 4/23/2008 Syafril Hermansyah wrote: >> Polling is a Poor Solution >> >> The basic approach used by many email devices is to connect to the >> server to access new messages. This is a good model for many uses of >> mobile email, where access to email is under user control ? the user >> checks email when the user wants to.
> Ini mengkonfirmasi bhw IMAP-Idle (dan P-IMAP) mrpkan the way to go. Ini contohnya saat server Blackberry melakukan IMAP-ing ke server kami, lumayan juga ya tiap 2 menit dia akan checking email. B/W habis gara-2x checking doang. START Event Log / MDaemon PRO v9.6.5, IMAP log information ------------------------------------------------------------------------------- Event Time/Date Event Description ------------------------------------------------------------------------------- Wed 2008-04-23 05:31:28: [6052:1] Session 6052; child 1; thread 3928 Wed 2008-04-23 05:31:26: [6052:1] Accepting IMAP connection from [216.9.247.129:55870] Wed 2008-04-23 05:31:26: [6052:1] --> * OK spij.co.id IMAP4rev1 MDaemon 9.6.5 ready Wed 2008-04-23 05:31:26: [6052:1] <-- c CAPABILITY Wed 2008-04-23 05:31:26: [6052:1] --> * CAPABILITY IMAP4rev1 NAMESPACE AUTH=CRAM-MD5 AUTH=LOGIN AUTH=PLAIN ACL UNSELECT UIDPLUS Wed 2008-04-23 05:31:26: [6052:1] --> c OK CAPABILITY completed Wed 2008-04-23 05:31:26: [6052:1] <-- l LOGIN "[EMAIL PROTECTED]" ****** Wed 2008-04-23 05:31:26: [6052:1] --> l OK LOGIN completed Wed 2008-04-23 05:31:26: [6052:1] <-- l LIST "" % Wed 2008-04-23 05:31:26: [6052:1] Sending LIST response (not logged)... Wed 2008-04-23 05:31:26: [6052:1] --> l OK LIST completed Wed 2008-04-23 05:31:27: [6052:1] <-- s SELECT "INBOX" Wed 2008-04-23 05:31:27: [6052:1] --> * FLAGS (\Seen \Answered \Flagged \Deleted \Draft \Recent) Wed 2008-04-23 05:31:27: [6052:1] --> * 42 EXISTS Wed 2008-04-23 05:31:27: [6052:1] --> * 1 RECENT Wed 2008-04-23 05:31:27: [6052:1] --> * OK [UNSEEN 17] first unseen Wed 2008-04-23 05:31:27: [6052:1] --> * OK [UIDVALIDITY 1205735787] UIDs valid Wed 2008-04-23 05:31:27: [6052:1] --> * OK [UIDNEXT 698] Predicted next UID Wed 2008-04-23 05:31:27: [6052:1] --> * OK [PERMANENTFLAGS (\Seen \Answered \Flagged \Deleted \Draft)] . Wed 2008-04-23 05:31:27: [6052:1] --> s OK [READ-WRITE] SELECT completed Wed 2008-04-23 05:31:27: [6052:1] <-- f FETCH 1:42 (UID RFC822.size FLAGS) Wed 2008-04-23 05:31:27: [6052:1] Sending FETCH response (not logged)... Wed 2008-04-23 05:31:27: [6052:1] --> f OK FETCH completed Wed 2008-04-23 05:31:27: [6052:1] <-- f UID FETCH 697 (BODY.PEEK[]) Wed 2008-04-23 05:31:27: [6052:1] Sending FETCH response (not logged)... Wed 2008-04-23 05:31:27: [6052:1] --> f OK FETCH completed Wed 2008-04-23 05:31:28: [6052:1] <-- q LOGOUT Wed 2008-04-23 05:31:28: [6052:1] --> * BYE IMAP engine signing off (no errors) Wed 2008-04-23 05:31:28: [6052:1] --> q OK LOGOUT completed Wed 2008-04-23 05:31:28: [6052:1] IMAP session complete, (7235 bytes) Wed 2008-04-23 05:31:28: ---------- Wed 2008-04-23 05:34:32: [6063:1] Session 6063; child 1; thread 2156 Wed 2008-04-23 05:34:30: [6063:1] Accepting IMAP connection from [216.9.247.129:35287] Wed 2008-04-23 05:34:30: [6063:1] --> * OK spij.co.id IMAP4rev1 MDaemon 9.6.5 ready Wed 2008-04-23 05:34:31: [6063:1] <-- c CAPABILITY Wed 2008-04-23 05:34:31: [6063:1] --> * CAPABILITY IMAP4rev1 NAMESPACE AUTH=CRAM-MD5 AUTH=LOGIN AUTH=PLAIN ACL UNSELECT UIDPLUS Wed 2008-04-23 05:34:31: [6063:1] --> c OK CAPABILITY completed Wed 2008-04-23 05:34:31: [6063:1] <-- l LOGIN "[EMAIL PROTECTED]" ****** Wed 2008-04-23 05:34:31: [6063:1] --> l OK LOGIN completed Wed 2008-04-23 05:34:31: [6063:1] <-- l LIST "" % Wed 2008-04-23 05:34:31: [6063:1] Sending LIST response (not logged)... Wed 2008-04-23 05:34:31: [6063:1] --> l OK LIST completed Wed 2008-04-23 05:34:31: [6063:1] <-- s SELECT "INBOX" Wed 2008-04-23 05:34:31: [6063:1] --> * FLAGS (\Seen \Answered \Flagged \Deleted \Draft \Recent) Wed 2008-04-23 05:34:31: [6063:1] --> * 42 EXISTS Wed 2008-04-23 05:34:31: [6063:1] --> * 0 RECENT Wed 2008-04-23 05:34:31: [6063:1] --> * OK [UNSEEN 17] first unseen Wed 2008-04-23 05:34:31: [6063:1] --> * OK [UIDVALIDITY 1205735787] UIDs valid Wed 2008-04-23 05:34:31: [6063:1] --> * OK [UIDNEXT 698] Predicted next UID Wed 2008-04-23 05:34:31: [6063:1] --> * OK [PERMANENTFLAGS (\Seen \Answered \Flagged \Deleted \Draft)] . Wed 2008-04-23 05:34:31: [6063:1] --> s OK [READ-WRITE] SELECT completed Wed 2008-04-23 05:34:32: [6063:1] <-- f FETCH 23:42 (UID RFC822.size FLAGS) Wed 2008-04-23 05:34:32: [6063:1] Sending FETCH response (not logged)... Wed 2008-04-23 05:34:32: [6063:1] --> f OK FETCH completed Wed 2008-04-23 05:34:32: [6063:1] <-- s SELECT "INBOX" Wed 2008-04-23 05:34:32: [6063:1] --> * FLAGS (\Seen \Answered \Flagged \Deleted \Draft \Recent) Wed 2008-04-23 05:34:32: [6063:1] --> * 42 EXISTS Wed 2008-04-23 05:34:32: [6063:1] --> * 0 RECENT Wed 2008-04-23 05:34:32: [6063:1] --> * OK [UNSEEN 17] first unseen Wed 2008-04-23 05:34:32: [6063:1] --> * OK [UIDVALIDITY 1205735787] UIDs valid Wed 2008-04-23 05:34:32: [6063:1] --> * OK [UIDNEXT 698] Predicted next UID Wed 2008-04-23 05:34:32: [6063:1] --> * OK [PERMANENTFLAGS (\Seen \Answered \Flagged \Deleted \Draft)] . Wed 2008-04-23 05:34:32: [6063:1] --> s OK [READ-WRITE] SELECT completed Wed 2008-04-23 05:34:32: [6063:1] <-- f FETCH 1:2 (UID RFC822.size FLAGS) Wed 2008-04-23 05:34:32: [6063:1] Sending FETCH response (not logged)... Wed 2008-04-23 05:34:32: [6063:1] --> f OK FETCH completed Wed 2008-04-23 05:34:32: [6063:1] <-- q LOGOUT Wed 2008-04-23 05:34:32: [6063:1] --> * BYE IMAP engine signing off (no errors) Wed 2008-04-23 05:34:32: [6063:1] --> q OK LOGOUT completed Wed 2008-04-23 05:34:32: [6063:1] IMAP session complete, (2310 bytes) Wed 2008-04-23 05:34:32: ---------- -- BIW -- --[MDaemon-L]------------------------------------------------ Milis ini untuk Diskusi antar pengguna MDaemon Mail Server. Mohon tidak posting dengan format HTML, pastikan selalu menggunakan Format Plain-text Arsip : <http://mdaemon-l.dutaint.com> Henti Langgan : Kirim mail ke MDaemon-L-unsubscribe [at] dutaint.com Berlangganan : kirim mail ke MDaemon-L-subscribe [at] dutaint.com Versi Terakhir : MD 9.6.5, MDSP 3.0.6, MOC 2.2.0

