I'm trying to find some additional doc/info on dbmail and didn't find anything on websites.

I was wondering if someone would provide more details about the message blocks and how one might be able to use this information in searching queries.

For instance, if I wanted to find every email from a person would I have to execute a sql string for that header element specifically or search on "like" terms (eg where some_field like "%From: [EMAIL PROTECTED]") or can it be done more efficiently.

Of particular interst to me, I'm trying to use something like dbmail as a means of building queues for whitelisting and blacklisting email. This may be inline with the temporary mailboxes discussions I've found on the list, but I'm not sure.

I guess the hard part for me would be to take the email and move it from one mailbox to another from code on the server rather than some IMAP client. This isn't exactly like procmail filtering as a lot more external criteria would have to come into play.

Going back to some kind of whitelist model, I would want to be able to store every email received but filter them forward to final delivery based on a history of the sender (similar to a whitelist). Everything else would be effectively queued pending further disposition.

help?

Reply via email to