-----BEGIN PGP SIGNED MESSAGE-----
On Sun, 23 Jun 1996, Timothy J. Luoma wrote:
I imagine that I can use 'formail' to fix this, but I checked the
manpage and wasn't able to figure it out. I imagine it is simple,
but I don't understand how to do it.
Try this:
formail -s procmail nodups.rc <mailbox
The file nodups.rc should contain:
# When a duplicat is found, formail -D will return 0, so procmail will end
:0Wh
|formail -D 8192 idfile
# If we get here, we know it's a new message
:0
mailbox.new
# Please note: if you want to incorporate this in a .procmailrc that
# processes incoming mail, be sure to add lockfiles.
- --
Guy Geens <guy(_dot_)geens(_at_)elis(_dot_)rug(_dot_)ac(_dot_)be>: Ph.D.
student at ELIS -- TFCG / IMEC
Home Page: http://www.elis.rug.ac.be/ELISgroups/tfcg/staff/gg.html
finger ggeens(_at_)elis(_dot_)rug(_dot_)ac(_dot_)be for PGP public keys (or use
keyserver)
The three principal virtues of a programmer are Laziness, Impatience, and
Hubris
--Larry Wall, Perl man page
-----BEGIN PGP SIGNATURE-----
Version: 2.6.3i
Charset: noconv
Comment: pgp fingerprints in message headers
iQBVAwUBMc04Q3wHoCha5QR1AQEcHgH9Ek5VmVd4l6DRuKXIO0zpXcXEF/Hb1m5H
kTsnFvrxIONLlpktJaDzZeN+4qt6D22bL/swJeS8J5Gr4cX7WNWGMw==
=DwVK
-----END PGP SIGNATURE-----