Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 04-20-2008, 04:54 AM   #1
Registered: Sep 2006
Posts: 248

Rep: Reputation: 30
Maildir problems... imapd cant see the maildir of user


I have set up a system on CentOS5.1 in Vserver. It work great and so on but the imapd. I used Courier Imap, Cyrus and postfix.. When I try to log in I get this error:
bash-3.1# telnet localhost 143
. login testuser@my.domain.tld test123
BYE [ALERT] Fatal error: my.domain.tld/testuser/: No such file or directory

bash-3.1# tail /var/log/maillog
Apr 20 04:30:53 danis imapd: Connection, ip=[::ffff:]
Apr 20 04:31:05 danis imapd: chdir No such file or directory
I have set up 2 dirs in /home/vmail:
bash-3.1# maildirmake /home/vmail/testuser
bash-3.1# maildirmake /home/vmail/testuser@my.domain.tld
bash-3.1# cat /etc/authlib/authmysqlrc | grep HOME_
MYSQL_HOME_FIELD "/home/vmail"
bash-3.1# cat /etc/postfix/ | grep mailbox_base
virtual_mailbox_base = /home/vmail
bash-3.1# cat /etc/passwd | grep vmail
what am I doing wrong?
Old 04-20-2008, 06:17 AM   #2
LQ Guru
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
I can't say I know the answer, but it looks to me as if your system somehow has the wrong path for the home directories for you users (are they actual user or virtual users?).

If proper unix users, what'she home dir in /etc/passwd?
Old 04-20-2008, 09:57 AM   #3
Registered: Sep 2006
Posts: 248

Original Poster
Rep: Reputation: 30
Got it working. A dir had to be created inside /home/vmail.
mkdir /home/vmail/my.domain.tld
maildirmake /home/vmail/my.domain.tld/testuser


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Accessing Maildir for another user. Exim4 setup kopite Linux - Newbie 1 01-03-2008 10:18 AM
ERR this user has no $home/maildir gooseygander Linux - Newbie 3 12-14-2007 09:49 AM
Where is Maildir satimis Linux - Server 5 10-30-2007 07:23 PM
New to Postfix and Maildir kevlarmcc Linux - Server 5 03-17-2007 10:35 PM
qmail/vpopmail not putting mails in /home/vpopmail/domain/$USER/Maildir kikola Slackware 0 10-10-2006 09:52 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:59 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration