OK - this is a wild idea and wondering what it would take to make it possible. I get a lot of email from a lot of different people about a lot of different issues. What I need is a way to do some server side presorting of email into specific folders. I can build a LOT of Mozilla rules but that is too cumbersome for what I have in mind. Here's what I'm thinking - one classification of email is "customers" and what I want to do is to drag an email into the customers server side folder and once I do that then any incoming email that comes from that person goes into the customers folder. I'm trying to envision how to code this and I think what I would need is if Dovecot were to create an external berkeley db file or mysql database of what is a list of email addresses contained in the folder that could be quickly searched for a match, that might do it. I think I could write a backent in Exim to handle it. This idea isn't yet well though out. I'm just throwing it out there to see if it's feasable. Thoughts?
Marc Perkel wrote:> Here's what I'm thinking - one classification of email is "customers" > and what I want to do is to drag an email into the customers server side > folder and once I do that then any incoming email that comes from that > person goes into the customers folder. > Thoughts? >http://www.procmail.org/ I don't know if it will work on a windows mail server but its very common on *nix boxes.
dovecot-lda (sieve) maildrop procmail only to name a few of them. dovecot-lda has the advantage of updating the indexes on delivery. darix
On Mon, 2006-01-09 at 08:30 -0800, Marc Perkel wrote:> Here's what I'm thinking - one classification of email is "customers" > and what I want to do is to drag an email into the customers server side > folder and once I do that then any incoming email that comes from that > person goes into the customers folder.From Dovecot's side you could implement this with a plugin that hooks into copy and maybe append commands. I think dspam plugin's code could be used as an example: http://johannes.sipsolutions.net/Projects/dovecot-dspam-integration/alpha-4-code Or I suppose quota plugin's code would work too. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20060109/257666df/attachment.bin>
On Mon, 2006-01-09 at 08:30 -0800, Marc Perkel wrote:> OK - this is a wild idea and wondering what it would take to make it > possible....> Thoughts?Jonathan (the dspam developer) is implementing a library that would use the same statistical filtering approach that dspam uses for classifying mail... Coupled with a plugin similar to the dspam plugin (Timo already referenced it) that might be worthwhile too. johannes -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 832 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20060110/3d658b38/attachment.bin>