Odd multiple delivery of empty message, bad installation?
My logfile shows an empty message delivered to a folder, it happens
irregularly every couple of weeks: it only happens to create the empty
folder "IN-info-pc", no others. I'm set for VERBOSE now, Thanks for any
clue.
procmail v3.10 1994/10/31 written and created by Stephen R. van den Berg
Locking strategies: dotlocking, fcntl(), lockf()
Default rcfile: $HOME/.procmailrc
System mailbox: /usr/mail/$LOGNAME
---clip recipe
:0fW
* ^TOinfo-pc
| formail -i "Reply-To: INFO-PC(_at_)IRLEARN(_dot_)UCD(_dot_)IE" -A "Status: O"
+1 -ds
:0Ar:
IN-info-pc
---clip recipe
:0
* ^TOshotimes
{
:0
* ^Subject.*( cd |radio|stereo|autocross)
/dev/null
:0:
IN-shotimes
}
---clip log
From c-edge!root(_at_)nuchat(_dot_)sccsi(_dot_)com Tue Nov 28 04:35:28 1995
Subject: SHOs in the media...
Folder: IN-shotimes 1583
Folder: IN-info-pc 0
Folder: IN-info-pc 0
--
Eric: eric(_at_)clark(_dot_)net ---------------------------------- Mime OK.
On Sat, 11 Nov 1995, Soren Dayton wrote:
Date: Sat, 11 Nov 1995 18:10:23 CST
From: Soren Dayton <csdayton(_at_)midway(_dot_)uchicago(_dot_)edu>
To: Eric Olsen <eric(_at_)clark(_dot_)net>
Cc: procmail(_at_)Informatik(_dot_)RWTH-Aachen(_dot_)DE
Subject: Re: Filtering undigested messages
Why does the following recipe not delete any "Insurance" or "Quicken"
subjects?
Because each message is getting spit out to stdout and they are
getting concatenated into one again.
Also, do |formail'ed messages get filtered by the whole .procmailrc or
just the remainder after the |formail... line?
Just the remainder of the action line. Then they may continue to
other things.
Thanks.
:0fw
|formail -A"X-Digest: $MATCH" -i "Reply-To: $MATCH" -des
:0
* ^Subject:.*(insur|quicken)
/dev/null
:0r:
IN-persfin
Basically the problem is that none of the letters are being dealt
with independently. To arrange that you probably want something like:
formail -des procmail ........
where you give procmail an rc file that will do what you want it to do....
Soren