Re: Procmail

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sat, 21 Dec 2002 12:46:08 -0600, James Kaufman wrote:

> > # Duplicate filter: Stores 256k of message-id headers.
> > :0Whc:msgid.lock
> > | formail -D 262144 msgid.cache
> >   :0a:
> >   /dev/null
> >     
> 
> Part of the idea of first copying to msgid.cache is that you can
> then also write the file to another mail folder. You can simplify
> the recipe slightly if you are just going to toss the duplicate to
> /dev/null. 

I can't and I won't because it is a multi-purpose rule which shall
also be able to append to a folder (in my case, MH-style mail
folders like "trash/."). I should have added that as a comment.
Thanks for going into detail.

> Beware if you have delivery problems in recipes below this one and
> procmail tries to requeue the mail, then on the next queue run, this
> mail will be considered a duplicate and will be thrown away.

If I have delivery problems, I would lose mail in every case
because I run fetchmail with option

  mda "/usr/bin/procmail -t -f -"

which cannot bounce mail.

- -- 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+BLnP0iMVcrivHFQRAqvnAJoD7lb/NlGHZMqGwUXW/+RqVAvZ1ACePpyc
GQXgXu/J3Bx2VrJV7RbH19c=
=ychD
-----END PGP SIGNATURE-----



-- 
Psyche-list mailing list
Psyche-list@redhat.com
https://listman.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux