[courier-users] -ERR Maildir: No such file or directory (migration woes)

This is a discussion on [courier-users] -ERR Maildir: No such file or directory (migration woes) within the Courier-Imap forums, part of the Mail Servers and Related category; Hi Ok, it's been a wild adventure trying to convert my old courier setup to the new server, but ...


Go Back   Usenet Forums > Mail Servers and Related > Courier-Imap

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 08-02-2005
Cam
 
Posts: n/a
Default [courier-users] -ERR Maildir: No such file or directory (migration woes)

Hi

Ok, it's been a wild adventure trying to convert my old courier setup
to the new server, but i think i'm almost there now. Basically i'm
using MySQL for the backend users, but decided to keep the old userdb
for the existing users. I copied over the userdb file, and changed
out some of home=3D value. I tried logging in as one of the old users
w/ no luck (permission errors). Than i remembered the uid/gid section
there in the userdb file. I swapped that out to the new value (5000)
and re-ran makeuserdb. Authorization works now (hallelujah). Alas,
the mail is still unretrievable... when i try to log in as one of the
older users from telnet i get this error:

pass x
-ERR Maildir: No such file or directory
Connection closed by foreign host.

and the relevant output from the logs:

Aug 2 10:22:32 zena courierpop3login: Connection, ip=3D[::ffff:127.0.0.1]
Aug 2 10:22:35 zena courierpop3login: LOGIN: DEBUG: ip=3D[::ffff:127.0.0.1=
], comm
and=3DUSER
Aug 2 10:22:36 zena courierpop3login: LOGIN: DEBUG: ip=3D[::ffff:127.0.0.1=
], comm
and=3DPASS
Aug 2 10:22:36 zena courierpop3login: LOGIN: DEBUG: ip=3D[::ffff:127.0.0.1=
], user
name=3Dsam@foobar.com
Aug 2 10:22:36 zena courierpop3login: LOGIN: DEBUG: ip=3D[::ffff:127.0.0.1=
], pass
word=3Dx
Aug 2 10:22:36 zena courierpop3login: authdaemon: starting client module
Aug 2 10:22:36 zena courierpop3login: authdaemon: ACCEPT, username
sam@foobar.com

Ok, so it is evident that it's just an issue w/ the migration... i
copied all the old maildirs off the old server to the new one. they
used to be in /home/virtual, but now they are in /home/vmail (i did
change that parameter in the userdb file). Anyway... i've been trying
to find out where it's looking for the Maildir in the docs/config
files, but not w/ much luck. I did see the MAILDIRPATH there in
/etc/courier/pop3d (it's default value was Maildir), so i tried
changing that to '.' (because i don't having any folders that are
actually named Maildir), but that didn't work either. Maybe a sample
of how my maildirs are layed out would help?

/home/vmail/foobar.com/i/sam // this is the maildir

is it the MAILDIRPATH that is causing me such woes? otherwise where
else can i look?

Thanks a lot!

Cameron Matheson


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/.../courier-users
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 08:06 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0