Cam wrote:
> [EMAIL PROTECTED]  
> home=/home/vmail/foobar.com/i/sam|mail=/home/virtual/foobar.com/i/sam|systempw=$1$480.AZpz$ZLK.q8a2xzPH84p5lDAsg1|gid=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 [EMAIL PROTECTED] 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
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to