Try applying the attached patch. This will keep the service from
exiting, but will still log any errors with respect to CYRUS_SERVICE.
I'd like to find out if putenv() is failing, or something else is going
on.
If you want to know how/why CYRUS_SERVICE is used, read the "ACCESS
CONTROL" section of cyrus.conf(5).
Ken
e-d0uble wrote:
>
> I get this as well when trying to telnet to localhost imap.
> When running the imtest program I get:
>
> C: C01 CAPABILITY
> prot level failure.
>
> This is also a linux system, albeit on a PPC. It looks as if master is not
> setenving CYRUS_SERVICE correctly, or at all.
> Any suggestions would be appreciated, as I'd very much like to rid myself of my
> UW-IMAP server in favor of Cyrus =)
>
> thanks,
>
> Ethan
>
> Ken Murchison wrote:
>
> > "Garrett, Michael R" wrote:
> > >
> > > Hey all,
> > >
> > > This should be an easy and quick question. When I try and load the imap
> > > daemon I get the following error...
> > >
> > > imapd: could not getenv(CYRUS_SERVICE); exiting
> > >
> > > this also occurs for the pop3 daemon as well.
> > > I am using redhat linux 7.1 with cyrus-imapd-2.0.14 and cyrus-sasl-1.5.24
> > > Anyhelp would be great.
> >
> > Not sure what you mean by "load" the imap daemon. imapd and pop3d can
> > only be spawned by the master process (not inetd). CYRUS_SERVICE is set
> > by master and then picked up by the other services (daemons).
> >
> > --
> > Kenneth Murchison Oceana Matrix Ltd.
> > Software Engineer 21 Princeton Place
> > 716-662-8973 x26 Orchard Park, NY 14127
> > --PGP Public Key-- http://www.oceana.com/~ken/ksm.pgp
--
Kenneth Murchison Oceana Matrix Ltd.
Software Engineer 21 Princeton Place
716-662-8973 x26 Orchard Park, NY 14127
--PGP Public Key-- http://www.oceana.com/~ken/ksm.pgp
CYRUS_SERVICE.patch.gz