wishlist: mail status notification

Bug #387936 reported by Dustin Kirkland 
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
byobu
Fix Released
Wishlist
Ciemon Dunville

Bug Description

It would be useful to have an indication within the status notifications for system mail (eg /var/mail/$USER).

A suggested method would be to have no indication if there is no mail, and an m show if there is mail for the logged in user account.

Related branches

Revision history for this message
Dustin Kirkland  (kirkland) wrote :

Confirmed.

What do you suggest we use to determine this? What mailers should be supported? Are we talking local system mail only, or evolution, or gmail?

:-Dustin

Changed in byobu:
assignee: nobody → Dustin Kirkland (kirkland)
importance: Undecided → Wishlist
status: New → Confirmed
Revision history for this message
Ciemon Dunville (ciemon) wrote :

I would suggest this is just local mail.

test -s /var/mail/$USER is what I had working until I realised that others such as /home/$USER/Mail and /home/$USER/Maildir would need to be catered for.

I'm not even sure how other distros deal with local mail.

Revision history for this message
Dustin Kirkland  (kirkland) wrote :

I'm assigning this bug to Ciemon.

We've discussed it a bit in IRC, and I think he has a good idea about what needs to be done to solve this. Primarily, he needs to figure out all the different ways new mail might be delivered to the user, and account for those.

:-Dustin

Changed in byobu:
assignee: Dustin Kirkland (kirkland) → Ciemon Dunville (ciemon)
Revision history for this message
Dustin Kirkland  (kirkland) wrote :

I implemented this, just for /var/spool/mail/$USER.

It could certainly use some work, for supporting other mail files, but the core functionality is there. I welcome such patches, Ciemon ;-)

:-Dustin

Changed in byobu:
status: Confirmed → Fix Committed
Changed in byobu:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.