can we processing incoming email based on subject and save those matching email details in db and flag/tag the email in courierimapkeywords/:list for the keyword to be used in IMAP client. We need further processing of those emails marked/saved in db by a java application.
Would anybody give me some hint or examples on how to do this. The postfix+courier server is running on Ubuntu.