procmail
[Top] [All Lists]

Re: Strange formail return code

1996-05-09 00:25:09
-----BEGIN PGP SIGNED MESSAGE-----

On Wed, 8 May 1996, David W. Tamkin wrote:

Date: Wed, 8 May 1996 16:23:35 -0500 (CDT)
From: David W. Tamkin <dattier(_at_)wwa(_dot_)com>
To: Guy Geens <Guy(_dot_)Geens(_at_)elis(_dot_)rug(_dot_)ac(_dot_)be>
Cc: procmail(_at_)informatik(_dot_)rwth-aachen(_dot_)de
Subject: Re: Strange formail return code

Guy Geens asked,

| Is this a known bug in formail? I want to save the first message from a
| digest, using:
|
| :0:
| | formail -1 -ds >>folder
|
Just a guess: formail is exiting after breaking one message (actually,
the headers and the table of contents) out of the digest, so it isn't
reading the entire input.  That wouldn't cause an exit status error
from formail, but it could bother procmail.

Actually, according to my man pages, formail reads the entire input 
before exiting. I tried the i flag (and also w), but the problem still 
remains. I tried running formail from the command line, but it still 
returns the same exit code.

Have you tried adding an `i' flag?  I'd also recommend a local lockfile
(a second colon is enough, since there is an implicit name) in case two
(The second colon is there)

- --
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) 

 "Engineering is the art of modeling materials we do not wholly  understand,
 into shapes we cannot precisely analyse so as to withstand forces we cannot 
properly assess, in such a way that the public has no  reason to suspect the 
extent of our ignorance."
                     - Dr AR Dykes
                     British Institution of Structural Engineers, 1976.



-----BEGIN PGP SIGNATURE-----
Version: 2.6.3i
Charset: noconv
Comment: pgp fingerprints in message headers

iQBVAwUBMZGdV3wHoCha5QR1AQH48AH/V91hXrP/J9MiVSDsWB/NOQcpiqguAGnG
XiyhYoKjDUrMCmthEfKLHfFGsUlfsInO2CPTAYAW3RcVuFOC/UOr/g==
=RMSo
-----END PGP SIGNATURE-----

<Prev in Thread] Current Thread [Next in Thread>