[Evolution] Check for duplicate messages

2002-08-28 Thread Mertens Bram
Hi, This is probably impossible because it would take too much time/resources so I won't file a feature-request unless this is considered possible. I would like to be able to define a filter that checks whether or not a certain message already exists in a specific folder or even in any folder.

Re: [Evolution] Check for duplicate messages

2002-08-28 Thread Antonio Bemfica
This is trivial to do using procmail (by checking the Message-ID header). You can get a bit more sophisticated and do an MD5 hash of the body of incoming messages and store it on a database (dbtool, for example: http://www.daemon.de/dbtool/). If you or anyone else is interested I can post a recip

Re: [Evolution] Check for duplicate messages

2002-08-28 Thread Mertens Bram
On Wed, 2002-08-28 at 20:06, Antonio Bemfica wrote: > This is trivial to do using procmail (by checking the Message-ID > header). You can get a bit more sophisticated and do an MD5 hash of the > body of incoming messages and store it on a database (dbtool, for > example: http://www.daemon.de/dbtoo

Re: [Evolution] Check for duplicate messages

2002-08-28 Thread Jeffrey Stedfast
Just remember that Message-id's are not guarenteed to be unique. Jeff On Wed, 2002-08-28 at 14:06, Antonio Bemfica wrote: > This is trivial to do using procmail (by checking the Message-ID > header). You can get a bit more sophisticated and do an MD5 hash of the > body of incoming messages and s

Re: [Evolution] Check for duplicate messages

2002-08-28 Thread Peter Williams
On Wed, 2002-08-28 at 14:14, Mertens Bram wrote: > On Wed, 2002-08-28 at 20:06, Antonio Bemfica wrote: > > This is trivial to do using procmail (by checking the Message-ID > > header). You can get a bit more sophisticated and do an MD5 hash of the > > body of incoming messages and store it on a da

Re: [Evolution] Check for duplicate messages

2002-08-28 Thread Antonio Bemfica
Ok, I'm not an expert on procmail, and experts might cringe at my recipe. It works for me, etc. You will need to have procmail installed on your system and rename the attached file to .procmailrc. Procmail in this case expects messages to arrive at /var/mail/user - you may need to run fetchmail t

Re: [Evolution] Check for duplicate messages

2002-08-28 Thread Mertens Bram
On Wed, 2002-08-28 at 23:03, Antonio Bemfica wrote: [snip] Procmail in this case expects messages to > arrive at /var/mail/user - you may need to run fetchmail to get them off > a POP or IMAP server. In my recipe procmail delivers the messages it > picks up to ~/incoming-mail and Evolution gets th

Re: [Evolution] Check for duplicate messages

2002-08-28 Thread simran
Or what you could do is wait for version 1.2 as i believe (from previous posts/answers from ximian people) that in 1.2 you can setup filters that can run external commands. Then you can: set a filter (on top of the list) that runs an external command (simple perl script maybe?) that checks the

Re: [Evolution] Check for duplicate messages

2002-08-28 Thread Not Zed
fwiw this is already in the bug system (from about 2 years ago at least). On Thu, 2002-08-29 at 03:02, Mertens Bram wrote: > Hi, > > This is probably impossible because it would take too much > time/resources so I won't file a feature-request unless this is > considered possible. > > I would li

Re: [Evolution] Check for duplicate messages

2002-08-29 Thread Anthony E. Greene
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 28-Aug-2002/14:06 -0400, Antonio Bemfica <[EMAIL PROTECTED]> wrote: >This is trivial to do using procmail (by checking the Message-ID >header). You can get a bit more sophisticated and do an MD5 hash of the >body of incoming messages and store it o