Hi Sam Varshavchik

Ouch! I am very sorry, I forget mail-list is plain text.
I changed Gmail to plain text.

The problem fixed by your taught method.
Use by 'truss' instead, because FreeBSD haven't 'strace'

Before error message "Mailbox does not exist....", I found library
problem as below.
   45519: 
open("/usr/lib/i18n",O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC,020040100200)
ERR#2 'No such file or directory'
My system has i18n library but placed in other directory.
I added symbolic link to /usr/bin/i18n and courier-imap work fine !

Thank you for your time to help me debug :D

Sam Varshavchik <[email protected]> 於 2018年11月6日 週二 上午11:55寫道:
>
> Neko Chang writes:
>
> > « HTML content follows »
> >
> >
> >
> >
> >
> > Hi Sam Varshavchik
> >
> >
> >
> > Yes, from top to bottom directory owner/group is vmail(50000) and confirm as
> > below.
> > # ls -l /home
> > drwx------  3 vmail  vmail  11 Nov  2 17:13 vmail/
> >
> > # ls -l /home/vmail/
> >
> > -rw-r--r--  1 vmail  vmail  751  Apr 26  2009 .cshrc
> > drwx------  5 vmail  vmail    5 Nov  2 15:46
> > <URL:http://epopen.com/>epopen.com/
> >
> >
> > # ls -l /home/vmail/<URL:http://epopen.com/>epopen.com/
> > drwx------  14 vmail  vmail  18 Nov  6 09:34 system/
> >
> >
> > /home/vmail/<URL:http://epopen.com/system>epopen.com/system listed at above
> > section of Current Maildir information.
> >
> >
> > Thanks you a lot.
>
> The HTML formatting in your mail makes it hard to read it on plain text E-
> mail readers. You should turn off HTML E-mail when sending mail to technical
> mailing lists.
>
> It's difficult to review the technical data in your mail, because of the
> garbled HTML. The only thing I can suggest:
>
> 1) Find the process that's listening on port 143:
>
> /sbin/fuser -n tcp 143
>
>
> 2) Attach strace to it:
>
> strace -s 256 -o /tmp/strace.log -f -p <pid>
>
> This will capture all system calls from the connection request. grepping the
> captured log file for
>
> chdir
> setuid
> setgid
>
> will indicate which system userid and groupid the imaplogin and imapd
> processes eventually run as, and which directories they eventually chdir to.
> You should expect to see the logged imaplogin and imapd child processes drop
> setuid/setgid, then chdir to the home directory, and the maildir. After the
> SELECT command gets received, the subsequent system calls should indicate
> which file/directory permission's are a problem.
>
>
> _______________________________________________
> Courier-imap mailing list
> [email protected]
> Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap



--
Regards,
Wei-Jen Chang


_______________________________________________
Courier-imap mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap

Reply via email to