[gentoo-user] How to get notified of new mail in custom mail folders

2006-03-03 Thread Masood Ahmed
Hi,
I have a email system comprising of fetchmail, to fetchmail mail
from pop servers. Procmail, to filter the incoming mail and mutt to read
it.
Now what i want to know is, is there some way so that i can make
bash display You've a new mail everytime i log in? I dont store my email
in default place (/var/mail) but in my home directory. Kindly please help.

Thanks in advance,
Masood Ahmed
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] How to get notified of new mail in custom mail folders

2006-03-03 Thread Joe Martel

Hi Masood,

Are you filtering your mail into maildirs or mbox files?

e.g. a Maildir would look something like /home/masood/.maildir/[some 
more directories here]

whereas an mbox would be one file like /home/masood/.mail

Joe

Masood Ahmed wrote:


Hi,
I have a email system comprising of fetchmail, to fetchmail mail
from pop servers. Procmail, to filter the incoming mail and mutt to read
it.
Now what i want to know is, is there some way so that i can make
bash display You've a new mail everytime i log in? I dont store my email
in default place (/var/mail) but in my home directory. Kindly please help.

Thanks in advance,
Masood Ahmed
 


--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] How to get notified of new mail in custom mail folders

2006-03-03 Thread Wes Gray
On Fri, Mar 03, 2006 at 02:36:37PM +0530, Masood Ahmed wrote:
 Hi,
   I have a email system comprising of fetchmail, to fetchmail mail
 from pop servers. Procmail, to filter the incoming mail and mutt to read
 it.
   Now what i want to know is, is there some way so that i can make
 bash display You've a new mail everytime i log in? I dont store my email
 in default place (/var/mail) but in my home directory. Kindly please help.

You want to set MAILPATH in .bashrc. man bash and search for MAILPATH.

-Wes
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] How to get notified of new mail in custom mail folders

2006-03-03 Thread Masood Ahmed
On 10:02 Fri 03 Mar, Wes Gray wrote:
 On Fri, Mar 03, 2006 at 02:36:37PM +0530, Masood Ahmed wrote:
  Hi,
  I have a email system comprising of fetchmail, to fetchmail mail
  from pop servers. Procmail, to filter the incoming mail and mutt to read
  it.
  Now what i want to know is, is there some way so that i can make
  bash display You've a new mail everytime i log in? I dont store my email
  in default place (/var/mail) but in my home directory. Kindly please help.
 
 You want to set MAILPATH in .bashrc. man bash and search for MAILPATH.

I set the MAILPATH in .bashrc as 
MAILPATH='~/Mail/Gentoo-User:~/Mail/Gentoo-Announce'
but still when i login no message notifying me of new mail is displayed. The 
list is long
so, some mbox's have not yet been created.. Does it has anything to do?

 
 -Wes
 -- 
 gentoo-user@gentoo.org mailing list
-- 
gentoo-user@gentoo.org mailing list