Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Feb 2004 14:01:37 +0100
From:      "Remko Lodder" <remko@elvandar.org>
To:        "gareth bailey" <blygar@webmail.co.za>, <freebsd-questions@freebsd.org>
Subject:   RE: Courier-Imap authentication
Message-ID:  <20040228130143.DBBAD2B4DA4@mail.evilcoder.org>
In-Reply-To: <20040228123713.CB8F919@mail.elvandar.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

The courier imap program has to be able to reach the location,
it might be that the location you defined, is not reachable
by the user under which imapd runs, (for example imapd runs under
barry-mailserver, and the permissions for /home/barry/Maildir is
700, he is never ever going to access it...)

Hope this helps you a bit,

cheers

--

Kind regards,

Remko Lodder
Elvandar.org/DSINet.org
www.mostly-harmless.nl Dutch community for helping newcomers on the
hackerscene

mrtg.grunn.org Dutch mirror of MRTG

-----Oorspronkelijk bericht-----
Van: owner-freebsd-questions@freebsd.org
[mailto:owner-freebsd-questions@freebsd.org]Namens gareth bailey
Verzonden: zaterdag 28 februari 2004 13:37
Aan: freebsd-questions@freebsd.org
Onderwerp: Courier-Imap authentication


I recently installed Postfix MTA and Courier-Imap. Postfix
is working correctly. I configured Courier-Imap, all seems
well except i get a message when trying to connect from
client saying "Fatal error: /home/barry/Maildir: Permission
denied"

I have created /usr/local/etcuserdb and run pw2userdb.
I chmod 700 /usr/local/etc/userdb
I created /home/barry/Maildir
I ran userdb "barry@mydomain.com" set home=/home/barry
mail=/home/barry/Maildir uid=x gid=x
Then i ran userdbpw | userdb "barry@xiplan.com" set
systempw
.. and finally ran makeuserdb

I think maybe i got the uid and gid incorrect. I thought
that these were the values are stated in /etc/passwd (but
maybe not?). What else could it be?

Thank you
Gareth
__________________________________________________________________________
http://www.webmail.co.za/dialup Webmail ISP - Cool Connection, Cool Price
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040228130143.DBBAD2B4DA4>