From owner-freebsd-questions@FreeBSD.ORG Sat Feb 28 05:01:47 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E074216A4CE for ; Sat, 28 Feb 2004 05:01:47 -0800 (PST) Received: from mail.evilcoder.org (cust.94.120.adsl.cistron.nl [195.64.94.120]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4BCB543D1F for ; Sat, 28 Feb 2004 05:01:45 -0800 (PST) (envelope-from remko@elvandar.org) From: "Remko Lodder" To: "gareth bailey" , Date: Sat, 28 Feb 2004 14:01:37 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) Importance: Normal In-Reply-To: <20040228123713.CB8F919@mail.elvandar.org> X-Virus-Scanned: for evilcoder.org Message-Id: <20040228130143.DBBAD2B4DA4@mail.evilcoder.org> Subject: RE: Courier-Imap authentication X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Feb 2004 13:01:48 -0000 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"