- To: slug@xxxxxxxxxxx
- Subject: [SLUG] Re: Double mail.
- From: Angus Lees <gusl@xxxxxxxxxxxxxxx>
- Date: Thu Jul 20 22:31:16 2000
- User-agent: Mutt/1.0.1i
On Thu, Jul 20, 2000 at 12:15:04PM +1000, Dan Treacy wrote:
> Just a quick note. Is it just me or is anyone else recieving duplicate SLUG
> mail?? It doesn't seem to be any other of my mail but it's always possible
> it could be something this end.
to automatically delete duplicate mail, put this in your .procmailrc:
:0 Wh: msgid.lock
| formail -D 8192 msgid.cache
that will discard duplicates, by keeping the last 8k of message ids in
msgid.cache
if, like me, you aren't game to have mail automatically deleted, try:
# Throw away duplicates
:0 Whc: msgid.lock
| formail -D 8192 msgid.cache
:0 a:
duplicates
and then delete the "duplicates" file every month or so without
looking at it first anyway.
(check procmailex(5) for other nifty procmail examples)
--
- Gus