1 message in net.sourceforge.lists.courier-users[courier-users] Re: courier + postfix...
FromSent OnAttachments
Devios McShadyFeb 15, 2004 8:51 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[courier-users] Re: courier + postfix + mysql problems - imap server dropping meActions...
From:Devios McShady (dev@comcast.net)
Date:Feb 15, 2004 8:51:41 pm
List:net.sourceforge.lists.courier-users

I fixed my own problem with the help of iggy in the #courier channel on
freenode.

In my postfix main.cf file, I had the following:

virtual_mailbox_base = /home/vmail

and in my mysql database, for virtual users, I had

homedir = /my_domain.com/devios and maildir = /my_domain.com/devios/.maildir/

The above allowed postfix to work correctly, but courier was unaware of the
virtual_mailbox_base = /home/vmail, so courier was not working.

I had to change main.cf to reflect

virtual_mailbox_base = /

and in my mysql database, for virtual users, I set

homedir = /home/vmail/my_domain.com/devios and maildir = /home/vmail/my_domain.com/devios/.maildir/

i am having problems with my imap server - ERROR : Connection dropped by
imap-server - this happens right after login

can anyone here please please query me to help troubleshoot courier-imap
problems?

imapd: chdir "/my_virtual_domain.com/user": No such file or directory <===== is
in my mail.log file. I am trying to login as a virtual user whose mailbox is at
/home/vmail/my_virtual_domain.com/user

shouldn't imap pull the uid and gid for the user:group that
/home/vmail/my_virtual_domain.com/user is owned by? how can i tell what the
directory /my_virtual_domain.com/user in that error message is relative to (to
make sure that imap is actually trying to chdir to
/home/vmail/my_virtual_domain.com/user? Also, how can I tell what user:group
imap is trying to change into that directory with?

strace output pretty much suggests that courier is trying to chdir to
/my_virt_domain.com/user... nothing in the strace output suggests that that is
NOT an absolute path. It should be chdir'ing into
/home/vmail/my_virt_domain.com/user.

I can see that in the mysql query made by courier includes the homedir and
maildir

the fields I CAN see data for in the strace output all look correct

but i see NOTHING in the strace output that shows what the values of homedir and
maildir are

I don't know how to troubleshoot this further...

Any suggestions would be appreciated.

- Devi0s