Subject: new mail?

From: Mohit Agarwal <[email-masked]>
Date: Fri, 18 Aug 2000 01:23:34 +0530 (IST)

Hello,

I use Pine 4.10 on Linux, and use procmail to filter mails to different
folders. For this purpose, I've also enabled incoming folders. But there's a
strange problem. For simplicity consider that I have 5 incoming folders named
1, 2 and so on, besides the inbox (i.e. /var/spool/mail/mohit). So the mails
that get filtered to these folders never appear when I type nfrm on logging
in, I can however press TAB while in the inbox to see if there are new mails
in these. However, this is not the problem. I can also write a small script
that would tell me where the new mails are. But the more annoying thing is
that if there is no new mail in the inbox, and there are new mails in any of
the folders 1 to 5, then I don't get a message at the login time telling me
that I have new mail. Similarly, finger information also doesn't reveal any
new mails in those folders. Still more annoying! I realize that these are
related things, but couldn't figure out a solution.

Any suggestions?

Regards,
Mohit

-- 
-----------------------------------------------------------------
 For information about this mailing list, and its archives, see: 
 http://www.washington.edu/pine/pine-info/
-----------------------------------------------------------------

---

From: Gopi Sundaram <[email-masked]>
Date: Thu, 17 Aug 2000 17:47:08 -0400 (EDT)

Long and a bit off-topic. Apologies.

On Fri, 18 Aug 2000, Mohit Agarwal wrote:

> the more annoying thing is that if there is no new mail in the
> inbox, and there are new mails in any of the folders 1 to 5, then
> I don't get a message at the login time telling me that I have new
> mail.

nfrm checks your spool file. If procmail has moved them away, it won't
see anything.

> Similarly, finger information also doesn't reveal any new mails in
> those folders. Still more annoying!

Same problem.

> I realize that these are related things, but couldn't figure out a
> solution.

The first thing that pops into my head is that you upgrade to Pine
4.21 and use its filtering. The tradeoff is that you may not have some
of the more advanced features that procmail has, available to you for
filtering. Also, being on a University campus, it may be difficult to
justify the upgrade to your SysAdmin.

The advantage of upgrading and using Pine's internal filter is that
all delivered messages stay in your INBOX until you open it (Inbox).
This means that nfrm, login and fingerd will see your messages
correctly(?).

Hope this helps.

Gopi.

-- 
Gopi Sundaram
[email-masked]

---

From: Scott Leibrand <[email-masked]>
Date: Thu, 17 Aug 2000 22:10:34 -0700 (PDT)

I don't use procmail, but I have a similar mail-filtering program that
filters things to Incoming folders.  What I've found most useful it to run
a script that runs tail -f on the filter log file.  That way I see what's
been delivered last, and get instant notification when new mail comes in.

-- 
Scott Leibrand
[email-masked]            (Yes, that is a valid address.)
http://students.washington.edu/leibrand
* RCW 19.190 notice: This email address is located in Washington State. *
* Unsolicited commercial email may be billed $500 per message.          *