From owner-freebsd-questions@FreeBSD.ORG Sun Jun 29 16:17:19 2003 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 69FC337B401 for ; Sun, 29 Jun 2003 16:17:19 -0700 (PDT) Received: from lcmail4.lc.ca.gov (lcmail4.lc.ca.gov [165.107.12.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 992FA43F75 for ; Sun, 29 Jun 2003 16:17:18 -0700 (PDT) (envelope-from Drew.Tomlinson@LC.CA.GOV) Received: from ldcmsx01.lc.ca.gov (imc2.lc.ca.gov [165.107.11.191]) by lcmail4.lc.ca.gov (PMDF V6.1-1 #30546) with ESMTP id <0HH900HC4NCUY5@lcmail4.lc.ca.gov> for freebsd-questions@freebsd.org; Sun, 29 Jun 2003 16:17:18 -0700 (PDT) Received: by ldcmsx01.lc.ca.gov with Internet Mail Service (5.5.2650.21) id ; Sun, 29 Jun 2003 16:17:19 -0700 Content-return: allowed Date: Sun, 29 Jun 2003 16:17:18 -0700 From: "Tomlinson, Drew" To: "'jonr@destar.net'" Message-id: <51D39629CA5DD711B640000802E087AB3E8230@ldcmsx01.lc.ca.gov> MIME-version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain X-Content-Filtered-By: Mailman/MimeDel 2.1.1 cc: "'freebsd-questions@freebsd.org'" Subject: RE: How to Start Courier-Imap? 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: Sun, 29 Jun 2003 23:17:19 -0000 > -----Original Message----- > From: Jon Reynolds [mailto:jonr@destar.net] > Sent: Sunday, June 29, 2003 4:10 PM > To: Tomlinson, Drew > > > On Sun, 2003-06-29 at 15:02, Tomlinson, Drew wrote: > > I've installed courier-imap 1.7.1 using portupgrade on my > 4.8 system > > but I can't figure out how to start it. I'm familiar with > > /usr/local/etc/rc.d and see links to start scripts there but when I > > run them, I get errors about being unable to find files. > Here's and > > example: > > > > blacklamb# ./courier-imap-imapd.sh.sample start > > .: Can't open /usr/local/etc/courier-imap/imapd-ssl: No > such file or > > directory > > > > I assume this has to do with the files not being installed > where the > > scripts expect to find them. Next I try a 'whereis' to > find the file: > > > > blacklamb# whereis imapd > > Warning: couldn't stat file /usr/X11R6/man! > > imapd: /usr/local/bin/imapd /usr/local/man/man8/imapd.8.gz > > > > So I edit /usr/local/libexec/courier-imap/imapd.rc to > reflect this and > > run again but no luck. Is there something simple I am missing? I > > have to assume it's me as the ports are normally right. > > > > Any ideas? Please cc me on any response as I am not > subscribed yet. > > I will once I get this working. :) > > > > Thanks, > > > > Drew > Hi Drew, > > '/usr/lib/courier-imap/libexec/imapd.r start' > > That is what I use to start imapd on my system. I thinnk in > the same directory will be the imapd.ssl.rc. Thanks for the quick response but I don't have that dir on my system. I do have this which is where the symlinks in rc.d point: blacklamb# pwd /usr/local/libexec/courier-imap blacklamb# ll total 67 drwxr-xr-x 2 root wheel 512 Jun 29 15:12 authlib -r-xr-xr-x 1 root wheel 3920 Jun 29 15:12 courierlogger -r-xr-xr-x 1 root wheel 48432 Jun 29 15:12 couriertcpd -rwxr-xr-x 1 root wheel 1586 Jun 29 15:12 imapd-ssl.rc -rwxr-xr-x 1 root wheel 1583 Jun 29 15:58 imapd.rc -r-xr-xr-x 1 root wheel 5848 Jun 29 15:12 makedatprog -rwxr-xr-x 1 root wheel 1572 Jun 29 15:12 pop3d-ssl.rc -rwxr-xr-x 1 root wheel 1460 Jun 29 15:12 pop3d.rc Unfortunately running a './imapd.rc start' in this dir as root makes the same error I describe above. Thanks, Drew