LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



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

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


Hi!

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:
Quote:
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:127.0.0.1]
Apr 20 04:31:05 danis imapd: chdir danis.myip.hu/testuser/: No such file or directory
I have set up 2 dirs in /home/vmail:
Quote:
bash-3.1# maildirmake /home/vmail/testuser
bash-3.1# maildirmake /home/vmail/testuser@my.domain.tld
Quote:
bash-3.1# cat /etc/authlib/authmysqlrc | grep HOME_
MYSQL_HOME_FIELD "/home/vmail"
Quote:
bash-3.1# cat /etc/postfix/main.cf | grep mailbox_base
virtual_mailbox_base = /home/vmail
Quote:
bash-3.1# cat /etc/passwd | grep vmail
vmail:!!:5000:5000::/home/vmail:/bin/bash
what am I doing wrong?
 
Old 04-20-2008, 06:17 AM   #2
billymayday
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
vargadanis
Member
 
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
 
  


Reply


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


All times are GMT -5. The time now is 12:17 PM.

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