From owner-freebsd-questions@FreeBSD.ORG Fri Jul 23 19:05:50 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 7155916A4CE for ; Fri, 23 Jul 2004 19:05:50 +0000 (GMT) Received: from pdx-s02.navi.net (pdx-s02.navi.net [209.95.37.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 41E5B43D1D for ; Fri, 23 Jul 2004 19:05:50 +0000 (GMT) (envelope-from amelkomukov@flexpop.net) Received: from localhost (amelkomukov@localhost) by pdx-s02.navi.net (8.9.1a/8.9.1) with ESMTP id MAA15521; Fri, 23 Jul 2004 12:01:40 -0700 (PDT) Date: Fri, 23 Jul 2004 12:01:40 -0700 (PDT) From: Alex Melkomukov X-Sender: amelkomukov@pdx-s02.navi.net To: dave In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-questions@freebsd.org Subject: Re: chrooting Postfix+SASL+TLS 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: Fri, 23 Jul 2004 19:05:50 -0000 this is a follow up to my attempts to change the socket location. I now get the following message: Jul 23 10:54:22 xxx postfix/smtpd[3010]: warning: SASL authentication failure: cannot connect to saslauthd server: Connection refused this different from "No such file or directory", but still does not work. I tried setting owner to 'cyrus' and group to 'mail', still no luck. I also tried chmod 0770 /var/spool/postfix/var/run i read that somewhere, a how-to doc i believe. Anyone else have any suggestions? i am guessing it may be some type of permissions issue at this point? thanks, am On Fri, 23 Jul 2004, Alex Melkomukov wrote: > Hi Dave, > > I have setup /var/spool/postfix/var/state/salsauthd for that per a how-to > I read. The normal socket was located in /var/state/saslauthd, so I > figured that was the correct location. > > I guess I can try /var/spool/postfix/var/run and see if that works. > > am > > > On Fri, 23 Jul 2004, dave wrote: > > > Hi, > > Yah, your problem is when saslauth and smtp are chrooted they do not > > have there unix socket that they use to communicate. When saslauthd normally > > starts i believe it makes a socket at /var/run/mux i'm not near my machine > > to confirm this, but assuming your postfix chroot is /var/spool/postfix you > > would do: > > > > # mkdir -p /var/spool/postfix/var/run/mux > > > > and when you start saslauth use the -m option and specify the path to the > > chroot location. > > HTH > > Dave. > > > > _______________________________________________ > 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" >