

![]() | Start a set with this search |
![]() | Include this search in one of my sets |
![]() | Exclude this search from one of my sets |
![]() | Permalink to these results Paste this link in email or IM: |
| Atom feed for tracking future search results Paste this URL into your reader: |
20 messages in net.sourceforge.lists.courier-users[courier-users] RE: Making progress n...| From | Sent On | Attachments |
|---|---|---|
| Bryan Rentoul | Sep 17, 2003 12:50 pm | |
| Tim Hunter | Sep 17, 2003 1:23 pm | |
| Jim Gifford | Sep 17, 2003 1:45 pm | |
| Michael Bowe | Sep 17, 2003 2:16 pm | |
| Lukas Vesely | Sep 18, 2003 8:44 am | |
| Bryan Rentoul | Sep 18, 2003 2:31 pm | |
| Bryan Rentoul | Sep 18, 2003 2:35 pm | |
| Bryan Rentoul | Sep 18, 2003 2:37 pm | |
| Bryan Rentoul | Sep 18, 2003 2:38 pm | |
| Bryan Rentoul | Sep 22, 2003 3:07 am | |
| Bryan Rentoul | Sep 22, 2003 3:42 am | |
| Three Letter Acronym | Sep 22, 2003 12:26 pm | |
| Malcolm Weir | Sep 22, 2003 1:01 pm | |
| Bryan Rentoul | Sep 22, 2003 11:58 pm | |
| Bryan Rentoul | Sep 23, 2003 1:31 am | |
| Malcolm Weir | Sep 23, 2003 2:11 am | |
| Bryan Rentoul | Sep 23, 2003 7:25 pm | |
| Bryan Rentoul | Sep 23, 2003 8:07 pm | |
| Bryan Rentoul | Sep 23, 2003 10:41 pm | |
| Gordon Messmer | Sep 24, 2003 12:12 pm |

![]() | Permalink for this message Paste this link in email or IM: |
![]() | Permalink for this thread Paste this link in email or IM: |
| Atom feed for this thread Paste this URL into your reader: |
| Subject: | [courier-users] RE: 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 8:07:40 pm | |
| List: | net.sourceforge.lists.courier-users | |
OK, I went a little further with the debugging.
Having already pointed out that: o imapd is running as vpopmail (as confirmed by ps auwx after telneting to port 143)
o imapd's working directory (as per getcw in debug code just before error occurs) is correct (/home/vpopmail/domains/cybermedix.co.nz/mail/Maildir)
o the tmp directory in that Maildir directory is flagged 777 (drwxrwxrwx)
o all the other files and directories up to /home/vpopmail are owned by vpopmail.vchkpw (as painstakely carefully confirmed using ls -l)
...this is an example of a filename that imapd can NOT seem to open: ./tmp/1064370759.M407014P21927_imapuid_0.nzh1.nzhosting.co.nz
I see nothing wrong with that name. Should work just dandy.
And here is the code that attempts to it: (in maildir/maildircreate.c):
if ((fd=maildir_safeopen_stat(info->tmpname, O_CREAT|O_RDWR|O_TRUNC, info->openmode, &stat_buf)) < 0)
(that's the line the actual error occurs at - IE. fd is return < 0)
At this same point, my debug code tells me: info->openmode=420(decminal) which is 644 octal.
I see nothing wrong here.
So now I do this in a shell:
su vpopmail cd /home/vpopmail/domains/cybermedix.co.nz/mail/Maildir touch ./tmp/1064370759.M407014P21927_imapuid_0.nzh1.nzhosting.co.nz
That seems to work fine.
BUT... If I do
ls -l ./tmp/1064370759.M407014P21927_imapuid_0.nzh1.nzhosting.co.nz
...directly after that I'm getting: No such file or directory
CRIPES!! This looks like a case of file system corruption! YIKES!
Bryan.
-----Original Message----- From: Bryan Rentoul [mailto:bry...@nzhosting.co.nz] Sent: Tuesday, September 23, 2003 1:31 AM
[ Snip ]
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)
Try 'chmod 777 tmp'
A (very) cursory glance suggests that you are trying to create something in tmp, but cannot. You cannot create stuff in a directory unless you can search it ('else how would you know if a file already existed? And if you didn't know, that would let you discover if a file existed).
Which leads immediately to the question of the user id of the process trying to run the IMAP server code, and whether it is vpopmail...
Bryan.
Malc.







