procmail
[Top] [All Lists]

Biff crazy ..

1997-07-10 01:13:00
Hi,

This is driving me nuts.  I am a newbie, and overall
not too bright, so no doubt one or the other of these 
facts is to blame, BUT ... after two days ..

I like to use `biff' in my  console (so I see all incoming
messages).  After installing  procmail, ordinary messages are
echoed as usual, but when an incoming message has something
in it that finds a match in my .procmailrc, I am
notified wrongly.

I get notification, seemingly, of the first mail message 
in my /var/mail mailbox!

EXAMPLE (where I have rm'd my /var/mail mailbox first,
and used a trivial .procmailrc, to test) ..

`.procmailrc' looks like
---
  VERBOSE=on
  LOGFILE=/tmp/PROC
  
  :0:
  * ^Subject:.*test
  IN.testing
---------

My `/tmp/PROC' log file reports what I expect after
first an ordinary message, then a matching one
---
  procmail: No match on "^Subject:.*test"
  procmail: Locking "/var/mail/jme.lock"
  procmail: Assigning "LASTFOLDER=/var/mail/jme"
  procmail: Opening "/var/mail/jme"
  procmail: Acquiring kernel-lock
  procmail: Unlocking "/var/mail/jme.lock"
  From root  Wed Jul  9 23:31:17 1997
   Subject: ORDINARY MAIL
    Folder: /var/mail/jme                                                297
  procmail: Notified comsat: "jme(_at_)0:/var/mail/jme"
---
  procmail: Match on "^Subject:.*test"
  procmail: Locking "IN.testing.lock"
  procmail: Assigning "LASTFOLDER=IN.testing"
  procmail: Opening "IN.testing"
  procmail: Acquiring kernel-lock
  procmail: Unlocking "IN.testing.lock"
  From root  Wed Jul  9 23:31:47 1997
   Subject: MAIL WITH test IN IT
    Folder: IN.testing                                                   304
  procmail: Notified comsat: "jme(_at_)0:/home/jme/IN.testing"
---------

[ BTW, the last lines of each of these do correspond to the man page:
  $LOGNAME(_at_)offset_of_message_in_mailbox:absolute_path_to_mailbox 
]

BUT.  Messages are delivered to my /var/mail/jme mailbox,
and the IN.testing folder, respectively, but the console gets two 
*duplicate* messages that I enclose after the signature.  THe first 
is correct, it is the first incoming message.  The second is not, 
it should be the `MAIL WITH test IN IT' message!

ANy ideas?

-jme
--
John Eadie (JE46)  Tel: (604) 922-5104 FAX: (604) 922-5194
COMPUTING ART Inc ~ since '82 ~ http://mindlink.net/c-art-w/

`Nowadays, we already have descriptions of descriptions.'
  - Georg Cristoph Lictenberg 1742-1799


New mail for jme(_at_)c-art-w has arrived:
----
Date: Wed, 9 Jul 1997 23:31:17 -0700
From: root (Super-User)
To: jme
Subject: ORDINARY MAIL

xyz

----

New mail for jme(_at_)c-art-w has arrived:
----
Date: Wed, 9 Jul 1997 23:31:17 -0700
From: root (Super-User)
To: jme
Subject: ORDINARY MAIL

xyz

----

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