Re: [Evolution] Check for duplicate messages



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 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 them from there. Please
note the locking mechanisms invoked. They are compatible with Evolution.

To filter duplicates based on a hash of the body of the message you will
need dbtool. You will also need to change one condition in the recipe.
Let me know if you need help (perhaps off the list?).

Antonio


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 database (dbtool, for
example: http://www.daemon.de/dbtool/).

If you or anyone else is interested I can post a recipe that does the
above.

Well I certainly am interested!

I don't know anything about procmail though, would I have to configure
much to get this working?  I am running Evo 1.0.8 btw...

TIA

Attachment: procmailrc_for_distribution
Description: Text document



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]