From owner-freebsd-isp@FreeBSD.ORG Thu Mar 24 22:27:34 2005 Return-Path: Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 701EE16A4CE for ; Thu, 24 Mar 2005 22:27:34 +0000 (GMT) Received: from mail.day-light.net (day-light.net [64.37.72.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id D50FA43D48 for ; Thu, 24 Mar 2005 22:27:33 +0000 (GMT) (envelope-from john@day-light.com) Received: from w1 (gabriel.day-light.net [69.27.46.22]) by mail.day-light.net (Postfix) with SMTP id 27790352D8; Thu, 24 Mar 2005 16:27:33 -0600 (CST) From: "John Brooks" To: "Stephen Matlick" Date: Thu, 24 Mar 2005 16:24:38 -0600 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-Reply-To: <20050324132134.J3480@matawan2.hordehost.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 Importance: Normal cc: freebsd-isp@freebsd.org Subject: RE: Courier-IMAP not starting X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: john@day-light.com List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Mar 2005 22:27:34 -0000 a couple simple things to check: 1) are you sure it is not running? run "ps ax | grep courier" to make sure 2) trailing spaces in the courier config file are not allowed did you install it via the ports system? -- John Brooks john@day-light.com > -----Original Message----- > From: owner-freebsd-isp@freebsd.org > [mailto:owner-freebsd-isp@freebsd.org]On Behalf Of Stephen Matlick > Sent: Thursday, March 24, 2005 8:03 AM > To: Brian Reichert > Cc: freebsd-isp@freebsd.org > Subject: Re: Courier-IMAP not starting > > > I actually made a typo with the original error; it is: > > /usr/local/bin/ .: Permission denied. > > Here's the output from 'sh -x imapd.sh' : > > + prefix=/usr/local > + exec_prefix=/usr/local > + bindir=/usr/local/bin > + libexecdir=/usr/local/libexec/courier-imap > + test ! -f /usr/local/etc/courier-imap/imapd > + test ! -f /usr/local/etc/courier-imap/imapd-ssl > + TLS_CACHEFILE= > + . /usr/local/etc/courier-imap/imapd > + ADDRESS=0 > + PORT=143 > + MAXDAEMONS=40 > + MAXPERIP=4 > + PIDFILE=/var/run/imapd.pid > + TCPDOPTS=-nodnslookup -noidentlookup > + AUTHMODULES=authdaemon > + AUTHMODULES_ORIG=authdaemon > + DEBUG_LOGIN=0 > + IMAP_CAPABILITY=IMAP4rev1 UIDPLUS CHILDREN NAMESPACE > THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE > + IMAP_KEYWORDS=1 > + IMAP_CAPABILITY_ORIG=IMAP4rev1 UIDPLUS CHILDREN NAMESPACE > THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA AUTH=CRAM-MD5 > AUTH=CRAM-SHA1 IDLE > + IMAP_IDLE_TIMEOUT=60 > + IMAP_CAPABILITY_TLS=IMAP4rev1 UIDPLUS CHILDREN NAMESPACE > THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE AUTH=PLAIN > + IMAP_CAPABILITY_TLS_ORIG=IMAP4rev1 UIDPLUS CHILDREN NAMESPACE > THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA AUTH=CRAM-MD5 > AUTH=CRAM-SHA1 IDLE AUTH=PLAIN > + IMAP_DISABLETHREADSORT=0 > + IMAP_CHECK_ALL_FOLDERS=0 > + IMAP_OBSOLETE_CLIENT=0 > + IMAP_ULIMITD=65536 > + IMAP_USELOCKS=1 > + IMAP_SHAREDINDEXFILE=/usr/local/etc/courier-imap/shared/index > + IMAP_ENHANCEDIDLE=0 > + IMAP_TRASHFOLDERNAME=Trash > + IMAP_EMPTYTRASH=Trash:7 > + IMAP_MOVE_EXPUNGE_TO_TRASH=0 > + SENDMAIL=/usr/sbin/sendmail > + HEADERFROM=X-IMAP-Sender > + IMAPDSTART=YES > + MAILDIRPATH=Maildir > + . /usr/local/etc/courier-imap/imapd-ssl > + SSLPORT=993 > + SSLADDRESS=0 > + SSLPIDFILE=/var/run/imapd-ssl.pid > + IMAPDSSLSTART=NO > + IMAPDSTARTTLS=YES > + IMAP_TLS_REQUIRED=0 > + COURIERTLS=/usr/local/bin/couriertls > + TLS_PROTOCOL=SSL3 > + TLS_STARTTLS_PROTOCOL=TLS1 > + TLS_CERTFILE=/usr/local/share/courier-imap/imapd.pem > + TLS_VERIFYPEER=NONE > + TLS_CACHEFILE=/usr/local/var/couriersslcache > + TLS_CACHESIZE=524288 > + MAILDIRPATH=Maildir > + exit 0 > > > > > On Thu, 24 Mar 2005, Brian Reichert wrote: > > > On Thu, Mar 24, 2005 at 09:39:21AM +0000, Stephen Matlick wrote: > >> I am trying to set up Courier-IMAP now; I installed it, created > >> authmysqlrc, and have followed the instructions I have found > on setting it > >> up from searches on the Net. However, the app just won't > start. When I > >> run imapd.sh or impad-ssl.sh I get: > >> > >> /usr/local/bin .: Permission denied. > > > > That line looks like it tried to execute the directory itself. Is > > it possible there's an error in a config file somewhere? Sometimes, > > a config file needs an explicit trailing slash to convey things. > > > > On the startup script, try running 'sh -x