* [gentoo-user] How to get notified of new mail in custom mail folders
@ 2006-03-03 9:06 Masood Ahmed
2006-03-03 17:48 ` Joe Martel
2006-03-03 18:02 ` Wes Gray
0 siblings, 2 replies; 4+ messages in thread
From: Masood Ahmed @ 2006-03-03 9:06 UTC (permalink / raw
To: gentoo-user
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] How to get notified of new mail in custom mail folders
2006-03-03 9:06 [gentoo-user] How to get notified of new mail in custom mail folders Masood Ahmed
@ 2006-03-03 17:48 ` Joe Martel
2006-03-03 18:02 ` Wes Gray
1 sibling, 0 replies; 4+ messages in thread
From: Joe Martel @ 2006-03-03 17:48 UTC (permalink / raw
To: gentoo-user
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] How to get notified of new mail in custom mail folders
2006-03-03 9:06 [gentoo-user] How to get notified of new mail in custom mail folders Masood Ahmed
2006-03-03 17:48 ` Joe Martel
@ 2006-03-03 18:02 ` Wes Gray
2006-03-03 18:55 ` Masood Ahmed
1 sibling, 1 reply; 4+ messages in thread
From: Wes Gray @ 2006-03-03 18:02 UTC (permalink / raw
To: gentoo-user
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] How to get notified of new mail in custom mail folders
2006-03-03 18:02 ` Wes Gray
@ 2006-03-03 18:55 ` Masood Ahmed
0 siblings, 0 replies; 4+ messages in thread
From: Masood Ahmed @ 2006-03-03 18:55 UTC (permalink / raw
To: gentoo-user
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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2006-03-03 19:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-03 9:06 [gentoo-user] How to get notified of new mail in custom mail folders Masood Ahmed
2006-03-03 17:48 ` Joe Martel
2006-03-03 18:02 ` Wes Gray
2006-03-03 18:55 ` Masood Ahmed
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox