Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 508480

Summary: mail-client/nail-12.4-r2 ignores /etc/nail.rc and ~/.mailrc
Product: Gentoo Linux Reporter: tazinblack <verbeamt>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED OBSOLETE    
Severity: normal CC: mgorny, net-mail+disabled, treecleaner
Priority: Normal Keywords: PMASKED
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Deadline: 2019-04-20   

Description tazinblack 2014-04-23 08:31:12 UTC
You can configure what you want in /etc/nail.rc or ~/.mailrc looks like none of them is used. I want to use "set MBOX=~/.maildir" but this does not work.
If I use mail -f ~/.maildir it works. 

Maybe there is something wrong with the defaults while the configure process at build time.

Reproducible: Always

Steps to Reproduce:
1. change some param in /etc/nail.rc or in ~/.mailrc
2. open a new shell
3. run mail
Actual Results:  
none of the mails in ~/.maildir are found. It tells i.e. "No mail for root".


Expected Results:  
If you use "mail -f ~/.maildir" the mails are found:

mail -f ~/.maildir
Heirloom mailx version 12.4 7/29/08.  Type ? for help.
"/root/.maildir": 1 message 1 unread
>U  1 root               Wed Apr 23 10:07   17/531   test
Comment 1 Eray Aslan gentoo-dev 2014-04-26 11:17:19 UTC
I will try to have a look but do try net-mail/mailutils instead.
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2019-04-20 08:15:36 UTC
Package removed.