View previous topic :: View next topic |
Author |
Message |
Berhanie n00b
Joined: 08 Jun 2005 Posts: 11
|
Posted: Tue Aug 30, 2005 11:29 pm Post subject: [solved] nail: 'mail -u' doesn't work properly |
|
|
I'm using a new installation of Gentoo with nail as my MUA.
I verify that I have mail:
Code: | berhanie@myhost ~ $ mail
mailx version nail 11.25 7/29/05. Type ? for help.
"/var/mail/berhanie": 1 message
>O 1 berhanie@myhost Mon Aug 29 12:03 19/622 test message # 1
? |
But it doesn't work when I use mail -u:
Code: | berhanie@myhost ~ $ mail -u berhanie
No mail for berhanie |
strace reveals that it's expecting a maildir format:
Code: | berhanie@myhost ~ $ strace mail -u berhanie
...
stat64("~/.maildir/berhanie", 0xbfb6d4ec) = -1 ENOENT (No such file or directory)
stat64("~/.maildir/berhanie.gz", 0xbfb6d4ec) = -1 ENOENT (No such file or directory)
stat64("~/.maildir/berhanie.bz2", 0xbfb6d4ec) = -1 ENOENT (No such file or directory)
access("~/.maildir/berhanie", F_OK) = -1 ENOENT (No such file or directory)
access("~/.maildir/berhanie.gz", R_OK) = -1 ENOENT (No such file or directory)
access("~/.maildir/berhanie.bz2", R_OK) = -1 ENOENT (No such file or directory)
open("~/.maildir/berhanie", O_RDONLY) = -1 ENOENT (No such file or directory)
write(2, "No mail for berhanie\n", 20No mail for berhanie
) = 20
exit_group(1) = ?
berhanie@myhost ~ $ |
Any advice?
Last edited by Berhanie on Fri Sep 02, 2005 2:25 pm; edited 2 times in total |
|
Back to top |
|
|
Berhanie n00b
Joined: 08 Jun 2005 Posts: 11
|
Posted: Wed Aug 31, 2005 4:12 pm Post subject: |
|
|
By the way, I have both mbox and maildir in my USE flags, since I wanted to experiement with both; and I did a stage 1 install. I don't see anything that would be affected by the maildir flag: Code: | USE=-maildir emerge -p -uND world | shows that no changes would be made. Am I right in eliminating a maildir USE flag as a possible cause of the problem? |
|
Back to top |
|
|
Berhanie n00b
Joined: 08 Jun 2005 Posts: 11
|
Posted: Fri Sep 02, 2005 2:12 pm Post subject: |
|
|
I filled out a bug report (#104491), and the problem was fixed in less than 24 hrs. Amazing.
Quote: | nail-11.25-r3 is in CVS with a fix for this. Thanks.
Cheers,
Ferdy |
|
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|