Bluehost.com Web Hosting $6.95

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

This is a discussion on Re: [courier-users] -ERR Maildir: No such file or directory (migration within the Courier-Imap forums, part of the Mail Servers and Related category; Cam wrote: > sam@foobar.com > home=/home/vmail/foobar.com/i/sam|mail=/home/virtual/foobar.com/i/...


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-03-2005
Jeff Jansen
 
Posts: n/a
Default Re: [courier-users] -ERR Maildir: No such file or directory (migration

Cam wrote:
> sam@foobar.com
> home=/home/vmail/foobar.com/i/sam|mail=/home/virtual/foobar.com/i/sam|systempw=$1$480.AZpz$ZLK.q8a2xzPH84p5lDAsg1|gi d=5000|uid=5000


You've got a couple of different things going on here. For starters the
paths are different:

home=/home/vmail/foobar.com/i/sam
mail=/home/virtual/foobar.com/i/sam

Is that a typo or is that correct? If it's correct then you need make
sure that /home/virtual/foobar.com/i/sam is a maildir with all the
proper permissions. (Use "maildirmake" to make a maildir and see how
it's set up if you need a reference point.)

However, the "usual" way to set up delivery in courier is to ONLY
specify the HOME directory. Then inside the HOME directory you have a
maildir called "Maildir". Then in the 'courierd' file in your courier
'etc' directory (usually '/etc/courier' or '/usr/lib/courier/etc') you
specify

DEFAULTDELIVERY=./Maildir

or

DEFAULTDELIVERY="| /usr/lib/courier/bin/maildrop"
MAILDROPDEFAULT=./Maildir

Or something like that. (See the courierd file for more options.) The
point of all this being that courier will deliver to a maildir folder
called "Maildir" inside the HOME directory specified in your userdb record.

If you do specify a "mail=" attribute in the userdb record, then that
will over-ride any default delivery instructions you have set up and
only deliver to that folder (and it better be a maildir). This might
not be an issue for you now, but if you look in the archives of this
list you'll find LOTS of folks writing and asking why maildrop doesn't
work for them now that they have changed over to using it as the
DEFAULTDELIVERY, and it turns out they have a "mail=" attribute set,
which over-rides everything else.

So if it were me, I'd delete the "mail=" part of the userdb line and
copy over the maildir for sam@foobar.com to
"/home/vmail/foobar.com/i/sam/Maildir" making sure the permissions are
set correctly. Then rerun 'makeuserdb' and try again.

HTH

Jeff Jansen


-------------------------------------------------------
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 Search this Thread
Search this Thread:

Advanced Search
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

BB 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 04:57 PM.


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