How to Start Courier-Imap?
Drew.Tomlinson at LC.CA.GOV
Sun Jun 29 16:17:19 PDT 2003
> -----Original Message-----
> From: Jon Reynolds [mailto:jonr at 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:
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.
More information about the freebsd-questions