Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mailx "No mail for user"
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Zedexodus
n00b
n00b


Joined: 03 Jan 2013
Posts: 1

PostPosted: Wed Jan 23, 2013 7:48 am    Post subject: mailx "No mail for user" Reply with quote

I've configured postfix following this http://wiki.gentoo.org/wiki/Postfix and emerged mailx. I tried sending some test mail with mailx and it worked fine (the mail is inside ~/.maildir/new), but when I use the command
Code:
mailx
on it's own or
Code:
mailx -e
I get back "No mail for root". The mail is clearly inside ~/.maildir and I have the environment variable
Code:
MAILDIR="~/.maildir"


I can't see what's wrong here. After echoing
Code:
$MAILDIR
to confirm
Code:
env-update && . /etc/profile
had set the environment variable correctly it returns back:
Code:
~/.maildir
You have new mail in /USER/.maildir/


I can't grasp what exactly I have configured wrongly.

Here's my main.cf and master.cf for postfix.
main.cf
master.cf

Thanks for any help you can give.
Back to top
View user's profile Send private message
ShadowCat8
Tux's lil' helper
Tux's lil' helper


Joined: 07 Oct 2008
Posts: 129
Location: Arcadia, CA, USA

PostPosted: Tue Aug 06, 2013 5:09 pm    Post subject: Reply with quote

Greetings,

I know this is a bit late, but I just came across your post looking for something else.

As a thought, have you properly configured your ~/.mailrc file?

Perhaps post a copy of it (with sensitive data edited out) up here.

HTH. Let us know.
_________________
------
"One thing Gentoo Linux has taught me is; You can never know EVERYTHING. but you can keep learning!"
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
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