We help IT Professionals succeed at work.

Qmail: -ERR this user has no $HOME/Maildir

tims
tims asked
on
All pop3 connection fail with
-ERR this user has no $HOME/Maildir
Quite usual for a new qmail setup but I been banging my head for hours searching for something I missed on the web... Please give me hints on what-else to check:

/var/qmail/service/pop3d/run contains

hostname="`hostname`"
readdefault concurrency concurrencypop3d 20
readdefault checkpass checkpassword checkpassword
do_ulimits

exec tcpserver -dHRvX -c "$concurrency" -u0 -g0 \
        -x /etc/tcpcontrol/pop-3.cdb 0 pop-3 \
        qmail-popup "$hostname" \
        $checkpass \
        qmail-pop3d Mailbox

I can deliver to the users Mailbox, quite happily.  The persissions are

-rw-r--r--    1 auser     agroup          629 Sep 19 19:11 /home/auser/Mailbox

There is a ~auser/.qmail containing
./Mailbox
with permissions of 644

What have I missed?

Thanks for your time,
Tim.
Comment
Watch Question

CERTIFIED EXPERT

Commented:
I'm not an qmail expert, but looking at the error message it sounds like qmails needs  $HOME/Maildir
while you only have home/auser/Mailbox and /home/user/.qmail/Mailbox (where $HOME is /home/auser).
which is different, obviously.

Author

Commented:
Found that while the rest of Qmail supports a normal mailbox, the qmail-pop3d daemon does not.  I have moved to another pop3 system and all is happy.

Thanks anyway.

Commented:
$HOME is one of the Environment Variables which linux box sets up when a user is logged in. It stands for the home directory of the user. Guess this is useless, but make sure that your home directory of auser is set to /home/auser. Good Luck!
arvindSR Manager Operation

Commented:
here are the rule of thumb - which I created when I was INstalling qmail in big network in 1997:

[1] to start pop3 daemon (make sure u have checkpasswd and tcpserver) :
# tcpserver  0 110 /var/qmail/bin/qmail-popup <hostname> /bin/checkpassword /var/qmail/bin/qmail-pop3d ./Maildir &
Note: This will only works with Maildir not with Mailbox.


[2] For creating Maildir directories in all user's home directory make shell script. Make sure that in /var/qmail/defaultdelivery directory rc file is containing ./Maildir/.

Here's how to set up qmail to use maildir for your incoming mail:

   % maildirmake $HOME/Maildir
        % echo ./Maildir/ > ~/.qmail

Arvind
ADMINISTRATION WILL BE CONTACTING YOU SHORTLY.  Moderators Computer101 or Netminder will return to finalize these if still open in seven days.  Please post closing recommendations before that time.

Question(s) below appears to have been abandoned. Your options are:
 
1. Accept a Comment As Answer (use the button next to the Expert's name).
2. Close the question if the information was not useful to you, but may help others. You must tell the participants why you wish to do this, and allow for Expert response.  This choice will include a refund to you, and will move this question to our PAQ (Previously Asked Question) database.  If you found information outside this question thread, please add it.
3. Ask Community Support to help split points between participating experts, or just comment here with details and we'll respond with the process.
4. Delete the question (if it has no potential value for others).
   --> Post comments for expert of your intention to delete and why
   --> You cannot delete a question with comments, special handling by a Moderator is required.

For special handling needs, please post a zero point question in the link below and include the URL (question QID/link) that it regards with details.
http://www.experts-exchange.com/jsp/qList.jsp?ta=commspt
 
Please click the Help Desk link on the left for Member Guidelines, Member Agreement and the Question/Answer process for further information, if needed.  http://www.experts-exchange.com/jsp/cmtyHelpDesk.jsp

Click you Member Profile to view your question history and keep them all current with updates as the collaboration effort continues, to track all your open and locked questions at this site.  If you are an EE Pro user, use the Power Search option to find them.  Anytime you have questions which are LOCKED with a Proposed Answer but does not serve your needs, please reject it and add comments as to why.  In addition, when you do grade the question, if the grade is less than an A, please add a comment as to why.  This helps all involved, as well as future persons who may access this item in the future to seek help.

To view your open questions, please click the following link(s) and keep them all current with updates.
http://www.experts-exchange.com/questions/Q.11544399.html
http://www.experts-exchange.com/questions/Q.20123583.html
http://www.experts-exchange.com/questions/Q.20161437.html
http://www.experts-exchange.com/questions/Q.20186021.html
http://www.experts-exchange.com/questions/Q.20222695.html
http://www.experts-exchange.com/questions/Q.20185021.html




PLEASE DO NOT AWARD THE POINTS TO ME.  
 
------------>  EXPERTS:  Please leave any comments regarding your closing recommendations if this item remains inactive another seven (7) days.  Also, if you are interested in the cleanup effort, please click this link http://www.experts-exchange.com/jsp/qManageQuestion.jsp?ta=commspt&qid=20274643

Moderators will finalize this question if still open in 7 days, by either moving this to the PAQ (Previously Asked Questions) at zero points, deleting it or awarding expert(s) when recommendations are made, or an independent determination can be made.  Expert input is always appreciated to determine the fair outcome.
 
Thank you everyone.
 
Moondancer
Moderator @ Experts Exchange
tims:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
Top Expert 2006

Commented:
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:
[Insert recommendation here]
Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

pjedmond
EE Cleanup Volunteer
Top Expert 2006

Commented:
Sorry - my mistake - Recommendation was:

PAQ and refund points as solution was found by poster
PAQed, with points refunded (100)

SpazMODic
EE Moderator