Re: CYRUS_SERVICE Variable? Easy Question??
Heh. I know the feeling, saturday nights. Anything else I can do here? thanks Ken Murchison wrote: >Hmm. Looks like you're having bigger issues than just the env >variable. Nothing come sto mind right now, but its late and I've had a >few too many "pops". > >e-d0uble wrote: > >>Applied patch and... Still no luck. Here's the log: >> >>Jun 9 12:03:22 spicymeatball imapd: could not getenv(CYRUS_SERVICE) >>Jun 9 12:03:22 spicymeatball service-imapd[21427]: executed >>Jun 9 12:03:22 spicymeatball service-imapd[21427]: unable to set close >>on exec: Bad file descriptor >>Jun 9 12:03:22 spicymeatball >>Jun 9 12:05:39 spicymeatball master: unable to change limit of file >>descriptors available >>Jun 9 12:05:39 spicymeatball master[21492]: process started >>Jun 9 12:05:39 spicymeatball master[21494]: about to exec >>/usr/cyrus/bin/ctl_mboxlist >>Jun 9 12:05:39 spicymeatball ctl_mboxlist[21494]: running mboxlist recovery >>Jun 9 12:06:13 spicymeatball imapd: could not getenv(CYRUS_SERVICE) >> >>Ken Murchison wrote: >> >>>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 > >>>CYRUS_SERVICE.patch.gz >>> >>>Content-Type: >>> >>>application/x-gzip >>>Content-Encoding: >>> >>>base64 >>> >>> >
Re: CYRUS_SERVICE Variable? Easy Question??
Hmm. Looks like you're having bigger issues than just the env variable. Nothing come sto mind right now, but its late and I've had a few too many "pops". e-d0uble wrote: > > Applied patch and... Still no luck. Here's the log: > > Jun 9 12:03:22 spicymeatball imapd: could not getenv(CYRUS_SERVICE) > Jun 9 12:03:22 spicymeatball service-imapd[21427]: executed > Jun 9 12:03:22 spicymeatball service-imapd[21427]: unable to set close > on exec: Bad file descriptor > Jun 9 12:03:22 spicymeatball > Jun 9 12:05:39 spicymeatball master: unable to change limit of file > descriptors available > Jun 9 12:05:39 spicymeatball master[21492]: process started > Jun 9 12:05:39 spicymeatball master[21494]: about to exec > /usr/cyrus/bin/ctl_mboxlist > Jun 9 12:05:39 spicymeatball ctl_mboxlist[21494]: running mboxlist recovery > Jun 9 12:06:13 spicymeatball imapd: could not getenv(CYRUS_SERVICE) > > Ken Murchison wrote: > > >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 > >>> > > > > CYRUS_SERVICE.patch.gz > > > > Content-Type: > > > > application/x-gzip > > Content-Encoding: > > > > base64 > > > > -- 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
Re: ANN: Alternate namespace for Cyrus IMAP
> On Thu, 07 Jun 2001 20:45:22 -0400, > Ken Murchison <[EMAIL PROTECTED]> (km) writes: km> I took a look at this and it IS doable (I actually hacked some code), km> but it makes the LIST/LSUB code uglier than it already is. For this km> reason, and the fact that Larry and I both feel that most users won't be km> sharing their INBOXes, I'm not going to implement this right now. I'm not even sure at this point if we'll deploy this new namespaces provision as I haven't had a chance to play with it yet. However, it would have to happen that we're starting to create a few shared INBOXes. ;-) Currently, we're using the "bb." prefix as shared folders to mirror some internal lists, and the "archive." prefix to mirror a few external lists (like this one). However, for pseudo-users, or what I sometimes refer to as "managed" (yeah, right) shared folders, I've started using the prefix "user.". An example of this might be "user.helpdesk". There are a couple of reasons why I've been experimenting with shared folders that begin with "user.": - It means that folks can easily use "+detail" aliasing. So using the example of "helpdesk", I could funnel mail into "helpdesk+amos" or "helpdesk+call09892320". - Can use Sieve for this shared folder. One cheesy application might be to abuse vacation to act as a 'thankyou' auto-responder. - Sometimes when we created a "bb." folder as the pseudo-user for some group on campus, we've heard responses like "we don't want everybody to have access to this!". While it's true that user education can help here, one benefit of placing such specialty folders under "user." is that it clearly identifies these as being different than the mailing lists / news groups shared folders. However, like I said, at this point I'm not sure if we'll be deploying this namespaces thing or not. Frankly, and perhaps I'm just too far removed from the user support people to know any better, but I'm not aware that we've had any problems with the current behavior. Though, I suppose when word of this feature gets around, that might change. ;-) -- Amos
Re: CYRUS_SERVICE Variable? Easy Question??
Applied patch and... Still no luck. Here's the log: Jun 9 12:03:22 spicymeatball imapd: could not getenv(CYRUS_SERVICE) Jun 9 12:03:22 spicymeatball service-imapd[21427]: executed Jun 9 12:03:22 spicymeatball service-imapd[21427]: unable to set close on exec: Bad file descriptor Jun 9 12:03:22 spicymeatball Jun 9 12:05:39 spicymeatball master: unable to change limit of file descriptors available Jun 9 12:05:39 spicymeatball master[21492]: process started Jun 9 12:05:39 spicymeatball master[21494]: about to exec /usr/cyrus/bin/ctl_mboxlist Jun 9 12:05:39 spicymeatball ctl_mboxlist[21494]: running mboxlist recovery Jun 9 12:06:13 spicymeatball imapd: could not getenv(CYRUS_SERVICE) Ken Murchison wrote: >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 >>> > > CYRUS_SERVICE.patch.gz > > Content-Type: > > application/x-gzip > Content-Encoding: > > base64 > >
Re: CYRUS_SERVICE Variable? Easy Question??
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