Re: [Evolution] Check for duplicate messages
- From: simran <simran list leonardchristian com>
- To: Mertens Bram <bram-mertens linux be>
- Cc: evolution mailing list <evolution ximian com>
- Subject: Re: [Evolution] Check for duplicate messages
- Date: 29 Aug 2002 10:51:43 +1000
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 message, lots its
message id and sender and possibly a checksum... and if a match already
existed in a dbm file (or the likes used by your perl script), then you
could exit with a particular exit code and get the filter to delete the
message or file it in a different place.
I can't wait till the feature comes out as i will be writing a perl
script to check the message against RBL's for spam and stuch. Fechmail
is a good solution unless you pop like 10 accounts and don't want them
all mixed up (like me :-)
On Thu, 2002-08-29 at 07:36, Mertens Bram wrote:
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 them from there.
Right now I use Evo(1.0.8 btw) to get my messages from my pop-account,
to get this working I would have to:
a) configure fetchmail
b) configure procmail
c) install and configure dbtool (where can I get this it doesn't seem to
be included with RH7.3
d) edit my account settings from POP to "local delivery" and select the
folder procmail stores the edited messages
Are there any problems with the different versions of fetchmail,
Ihave the following installed:
note the locking mechanisms invoked. They are compatible with Evolution.
This is good, I presume? I'm sorry but I'm not familiar with this...
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?).
I prefered to answer throught the list because I noticed something else:
when messages are sent ot the list and CC'd to me the CC'd message does
not have the mailing-list signature: wouldn't this cause the md5sum,
the hash and the message-ID methods to fail? Theoretically these
messages are not unique...
Some more questions about the script you send:
all the files used in the spam-blocking code: are they installed with
procmail or do they have to be updated manually?
I read about spamassasin and others, does procmail fit into that
category? If so, I read that some people use several of these tools in
succession can this be done with procmail as well?
# Mertens Bram "M8ram" <bram-mertens linux be> Linux User #249103 #
# Red Hat Linux 7.3 KDE 3.0.0-10 kernel 2.4.18-3 i686 128MB RAM #
# A priest advised Voltaire on his death bed to renounce the devil. #
# Replied Voltaire, "This is no time to make new enemies." #
evolution maillist - evolution ximian com
] [Thread Prev