wasm-demo/demo/ermis-f/imap-protocol/cur/1600095029.22675.mbox:2,S

46 lines
1.9 KiB
Plaintext

MBOX-Line: From ayluen at i-freelancer.net Fri May 3 03:16:38 2013
To: imap-protocol@u.washington.edu
From: =?big5?B?p/Wm463b?= <ayluen@i-freelancer.net>
Date: Fri Jun 8 12:34:51 2018
Subject: [Imap-protocol] Imap Search Command Parse Logic
Message-ID: <000001ce47e7$4c7bead0$e573c070$@i-freelancer.net>
Hi,
I'm currently working on implementing IMAP protocol on our mail server.
This is my first time implementing such a big project and I've so far coded
a majority of IMAP commands in the RFC, except the Search command.
I've been searching on the internet and studied postfix(RPN) algorithm for
weeks to see how to parse the search command correctly.
It seems Postfix would work until I encountered something like OR OR A B C D
==> (OR (OR A B) C) D
Could anyone point me a direction on how to implement the Search command
when there are multiple ORs?
Should I even consider using Postfix(RPN) algorithm to parse search command?
Thank you very much for any help or tips you could provide.
Helen
======================================
Powered by Rainbow Mail Server 6.0
?????????????????????????????????????????????????????????????????????????????????????
The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. Please consider the environment before printing this email.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman13.u.washington.edu/pipermail/imap-protocol/attachments/20130503/c35878c7/attachment.html>