procmail
[Top] [All Lists]

Re: Problem with duplicate mail filter (msgid.cache)

2001-11-15 13:50:48
Oops, this is wrong:

| #sed should quit after finding the line and feed only that line to formail
| :0 Whi: msgid.lock
| | /bin/sed -ne '/^Message-I.:/!d' -e 's/D: /d: /p' -eq | \
|     /usr/local/bin/formail -D 8192 $PMDIR/msgid.cache

because there is no input to formail if Message-Id: already has a lower-case
d.  I realized that but thought it was the right thing to do.  It wasn't.
This is:

 #sed should quit after finding the line and feed only that line to formail
 :0 Whi: msgid.lock
 | /bin/sed -e '/^Message-I.:/!d' -e 's/D: /d: /' -eq | \
     /usr/local/bin/formail -D 8192 $PMDIR/msgid.cache






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