procmail
[Top] [All Lists]

Re: Duplicate emails

2014-10-23 13:59:56
* Christopher P. Lindsey wrote on Thu, 23 Oct 2014, at 09:22 (-0500):

On Oct 22, LuKreme wrote:

:0c
/backups/imap.backups

If that fails, the duplicate message falls through.

Is there anyway to trap that so that a duplicate is not
generated if the write of the copy fails?

You could add an error-check right below it:

   :0e
   /dev/null

This is logically useless.  It is also a dangerous "error-check"
because there is no message backup *and* processing the rcfile
continues which may cause further errors.  Do not do it this way.

Regards,
Mathias

-- 
CAcert Assurer - See http://www.CAcert.org for details or ask me
GnuPG/OpenPGP: B100 5DC4 9686 BE64 87E9 0E22 44C3 983F A762 9DE8

Attachment: pgpiuJtgQSwO9.pgp
Description: PGP signature

____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)de
http://mailman.rwth-aachen.de/mailman/listinfo/procmail
<Prev in Thread] Current Thread [Next in Thread>