20 messages in net.sourceforge.lists.courier-users[courier-users] Making progress now b...
FromSent OnAttachments
Bryan RentoulSep 17, 2003 12:50 pm 
Tim HunterSep 17, 2003 1:23 pm 
Jim GiffordSep 17, 2003 1:45 pm 
Michael BoweSep 17, 2003 2:16 pm 
Lukas VeselySep 18, 2003 8:44 am 
Bryan RentoulSep 18, 2003 2:31 pm 
Bryan RentoulSep 18, 2003 2:35 pm 
Bryan RentoulSep 18, 2003 2:37 pm 
Bryan RentoulSep 18, 2003 2:38 pm 
Bryan RentoulSep 22, 2003 3:07 am 
Bryan RentoulSep 22, 2003 3:42 am 
Three Letter AcronymSep 22, 2003 12:26 pm 
Malcolm WeirSep 22, 2003 1:01 pm 
Bryan RentoulSep 22, 2003 11:58 pm 
Bryan RentoulSep 23, 2003 1:31 am 
Malcolm WeirSep 23, 2003 2:11 am 
Bryan RentoulSep 23, 2003 7:25 pm 
Bryan RentoulSep 23, 2003 8:07 pm 
Bryan RentoulSep 23, 2003 10:41 pm 
Gordon MessmerSep 24, 2003 12:12 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] Making progress now but still baffled.. (imapd + vpopmail 'No such file or directory')Actions...
From:Bryan Rentoul (bry@nzhosting.co.nz)
Date:Sep 23, 2003 1:31:45 am
List:net.sourceforge.lists.courier-users

OK. I'm getting further now thanks to the help received by several list members. Thanks everyone! But we're not outta da woods yet Snoopy...

I've nailed it down to a call to "maildir_tmpcreate_fd(&createInfo)" failing in imapscanclient.c.

Adding some debug code to the maildir_tmpcreate_fd_do(...) function I now know the following:

info->maildir='.' (current dir = /home/vpopmail/domains/cybermedix.co.nz/mail/Maildir) info->uniq='imapuid_0' info->hostname='nzh1.nzhosting.co.nz'

So we ARE getting to the right directory. Great!

So... here are the contents of /home/vpopmail/domains/cybermedix.co.nz/mail/Maildir

drwxr----- 2 vpopmail vchkpw 4096 Sep 23 18:27 cur drwxr----- 2 vpopmail vchkpw 12288 Sep 23 18:27 new -rw-r----- 1 vpopmail vchkpw 15 Jul 29 2002 sqwebmail-pass drwxr----- 2 vpopmail vchkpw 4096 Sep 23 20:13 tmp

Hmmm. tmp is there and it has the right permissions (I think).

So I try two things.

1. chmod a+rw tmp (and test again)

2. rm -rf tmp (and test again)

Neither of these results in a change of symptom. maildir_tmpcreate_fd_do(...) still fails.

So now I'm more baffled than ever. Can't see the forest for the trees? Seems that way :(

Thanks again for any further assistance - at least we're making some progress now :)

Bryan.

-----Original Message----- From: cour@lists.sourceforge.net [mailto:cour@lists.sourceforge.net] On Behalf Of Malcolm Weir Sent: Tuesday, 23 September 2003 08:01 To: cour@lists.sourceforge.net Subject: RE: [courier-users] Perhaps I should just give up on imapd with vpopmail :(

-----Original Message----- From: Three Letter Acronym Sent: Monday, September 22, 2003 12:26 PM

Bryan Rentoul wrote:

Well, after running

find . -type f -exec grep "No such file or directory" {} \;

"No such file or directory" is a message from a library routine.

From /usr/include/errno.h:

#define ENOENT 2 /* No such file or directory */

I can only assume that the text itself is compiled into libc: user@host /usr/lib >> strings /usr/lib/libc.a | grep "No such file" No

such file or directory user@host /usr/lib >>

Yep. That's it. It's "part of" perror and strerror that the test of "errno" is defined, often in something called "sys_errlist[]".

So your best bet is to go looking for "Fatal Error" (which is *not* part of errno), and/or "perror" and strerror and sys_errlist...

And... with all respect, Bryan, this is fairly elementary Unix programming environment stuff, and you may be less frustrated by obtaining the services of a regular Unix hacker (in the positive sense) rather than beat your head against the wall much more...

--tla

Bryan J. Rentoul Director NZ Hosting Limited

Malc.