procmail
[Top] [All Lists]

Resend: Procmail won't use existing mailbox / extra one-byte message

2002-01-03 12:57:53
[This is the fifth and last resend.]

Sean Straw wrote, addressing Luke Holton,

| As Mr. Tamkin has posted, the "?" may be as the result of a CR+LF
| formatted .rc file, rather than a unix LF formatted one.  However, I'd
| like to point out that that explanation doesn't mesh precisely with how
| you described the problem: that specifically being that if the file
| already existed, then the message was written to a file with a trailing ?
| in the name.  By that description, it would seem that the first time you
| run a message through that it would write to a file without a trailing ?
| in the name...  Is that the case?

It may have been created some other way: by saving a message there with the
MUA, by touching it from the shell, or even by procmail back when there were
no CRs in the rcfile.  Or a previous attempt could have created testing<CR>,
which Luke saw as "testing?".  Then he did  mv testing? testing  and the
question mark, as a shell globbing wildcard, matched the CR and the file was
renamed, but with the next message procmail created testing<CR> again.  So
my theory is still plausible.

Luke's second post, though, doesn't mention that the folder without a
question mark showing on its name already existed.

Sean told Dave Vrona,

| If I'd wanted an extra copy, I would have put the c flag on the delivery
| recipe (where you were using the f).  That would have produced a copy for
| both the test and real messages though.

Yes, that's what I've already said in my answer to Dave:

: So take the `c' off the second set of braces and
: change the `f' on the formail-into-sendmail recipe to a `c'.


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>
  • Resend: Procmail won't use existing mailbox / extra one-byte message, David W. Tamkin <=