Jon,

Thanks for taking the time to look at my problem. 

I recompiled and reinstalled courier-imap with the code that you
suggested, however It did not give me any more information.

=-=-=
Feb 27 12:25:28 hostname imapd: Connection, ip=[::ffff:68.144.21.215]
Feb 27 12:25:28 hostname imapd: chdir "": No such file or directory
=-=-=

I have tried with the following setup in the authldap file:

LDAP_MAILDIR            mailMessageStore
LDAP_HOMEDIR            mailMessageStore

and in my LDAP my mailMessageStore has the value of /home/vmail/davep

Its still not working though :(

Any suggestions would be greatly appreciated.

Thanks



On Wed, 26 Feb 2003, Jon Nelson wrote:

> On Wed, 26 Feb 2003, Dave Peters wrote:
> 
> > Hi there,
> > 
> > I have read somewhere that the source could be modified to give a more
> > detailed error message in the syslog. 
> > 
> > Rather then:
> > 
> > > =-=- syslog
> > > Feb 22 12:51:15 hostname imaplogin: Connection, ip=[::ffff:68.144.21.215]
> > > Feb 22 12:51:16 hostname imaplogin: chdir: No such file or directory
> > 
> > It should say something like:
> > 
> > imaplogin: chdir TO /PATH/SOMEWHERE no such file or directory
> 
> I can't be sure of this, but I think the correct code to modify
> would be authlib.c near line 48.
> 
> I humbly suggest code similar to that used in imap/imapd.c:3265
> 
> Near line 48 of authlib.c (as of courier-imap 1.7.0)
> change:
>         perror("chdir");
> to:
>         fprintf(stderr, "chdir \"%s\": %s\n", homedir, strerror(errno));
> 
> --
> "Never try to write to ROM - it wastes your time and annoys the ROM."
> 
> Jon Nelson <[EMAIL PROTECTED]>
> C and Python Code Gardener
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: Scholarships for Techies!
> Can't afford IT training? All 2003 ictp students receive scholarships.
> Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more.
> www.ictp.com/training/sourceforge.asp
> _______________________________________________
> courier-users mailing list
> [EMAIL PROTECTED]
> Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
> 



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to