procmail
[Top] [All Lists]

duplicates recipe

2002-11-21 23:47:26
I'm using this recipe to filter duplicate messages:

              :0 Whc: msgid.lock
              | formail -D 8192 .msgid.cache

              :0 a:
              $HOME/mail/duplicates

I get these messages when I run mailstat:

40  ## /bin/sh: cd: $HOME/mail/backup: Not a directory
40  cd /home/holtzm/mail/backup && rm -f dummy `ls -t msg.* | s
40  ## formail: Couldn't open ".msgid.cache"
40  $HOME/mail/backup                <<=====wrote normally to a file
1   ## procmail: Error while writing to "formail"
40  ## procmail: Lock failure on "msgid.lock"

These are in addition to the mailstat output listing the number of new 
messages in each folder.

I tried making backup a directory and the error message disappeared, 
however the contents were listed by "reference number" and each had to be 
opened to see the sender. When I went back to backup as a file the message 
list reads as it would in a normal mailbox, listed by sender.

msgid.cache looks like this:

-rw-------    1 holtzm   holtzm       8238 Aug 10 21:15 .msgid.cache

I'm not sure why 1 message gave:

1  ## procmail: Error while writing to "formail"

Haven't found anything in the docs about this unless I missed it.

I'm running procmail-3.22-5 on RH7.3. Any help or pointers would be 
appreciated. Thanks 

-- 
Bob Holtzman
"If you think you're getting free lunch,
 ......check the price of the beer!"



_______________________________________________
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>
  • duplicates recipe, Bob Holtzman <=