What is CYRUS_SERVICE? (was Re: Installing on FreeBSD)

2001-07-03 Thread Louis LeBlanc

Thanks for the pointers Joe.  This seems to be along the lines I went,
but I am running into a hitch with the test:

# cyradm -user cyrus localhost
Jul  3 16:51:36 acadia imapd: could not getenv(CYRUS_SERVICE); exiting
Jul  3 16:51:36 acadia imapd: could not getenv(CYRUS_SERVICE); exiting
IMAP Password: 
  Broken pipe

Hmm.  I looked in the source for a CYRUS_SERVICE tag, and found that
it is limited to the master code.  That process reads the
/usr/local/etc/cyrus.conf file, right?  I do have this file, and I
made only minor mods (comment out the POP stuff).

I already had the cert and a starting point for a sendmail.mc file (I
am piping through procmail, which then calls deliver), so I have half
the battle won, but this doesn't seem to work quite right.

pwcheck is working:
# ps -ax | grep pwcheck
  302  ??  Is 0:00.00 /usr/local/sbin/pwcheck

as is master:
# ps -ax | grep master 
  286 con- I  0:00.10 /usr/local/cyrus/bin/master

Maybe this is a clue?
# imtest -t "" -a cyrus localhost
C: C01 CAPABILITY
failure: prot layer failure
bash-2.05# Jul  3 17:06:14 acadia imapd: could not getenv(CYRUS_SERVICE); exiting
Jul  3 17:06:14 acadia imapd: could not getenv(CYRUS_SERVICE); exiting

Maybe not.

Any ideas?

Thanks a million.

Lou

On 07/03/01 03:23 PM, Joe Talbott sat at the `puter and typed:
> Louis LeBlanc wrote:
> > 
> 
> Here are the steps I took to install on FreeBSD 4.3-STABLE
> 
> cd /usr/ports/mail/cyrus-imapd/
> sudo make clean
> sudo make 
> sudo make install
> 
> # edited imapd.conf, added 'root' and 'cyrus' as admins, added tls-cert
> and key
> sudo vi /usr/local/etc/imapd.conf
> 
> # configured sendmail to deliver to cyrus
> # there's a sample file in the docs directory
> 
> # created openssl cert and key
> sudo openssl req -new -x509 -nodes -out /var/imap/server.pem -keyout
> /var/imap/server.pem -days 365
> 
> # mv /usr/local/etc/rc.d/imapd.sh.sample to imapd.sh
> 
> # test ssl
> imtest -t "" -a cyrus localhost
> 
> # created mailbox
> cyradm -user cyrus localhost
> localhost> cm user.josepht
> localhost> quit
> 
> # added sieve to inetd.conf
> sieve   stream  tcp nowait  cyrus   /usr/local/cyrus/bin/timsieved
> timsieve
> d
> 
> # use sieveshell to manage sieve scripts
> sieveshell -u josepht localhost
> > put /home/josepht/sieve_test.script
> > activate sieve_test
> > quit
> 
> Good Luck,
> Joe
> 
> -- 
> J o e   T a l b o t t| I choose to believe 
> OSS Engineer - Cornerstone Networks  | what I was programmed 
> An Ntelos Communications Company | to believe.
> [EMAIL PROTECTED] - 804-817-7000   | -Futurama
> 

-- 
Louis LeBlanc
Fully Funded Hobbyist, KeySlapper Extrordinaire :)
[EMAIL PROTECTED]
http://acadia.ne.mediaone.netԿԬ



Re: What is CYRUS_SERVICE? (was Re: Installing on FreeBSD)

2001-07-03 Thread Ken Murchison



Louis LeBlanc wrote:
> 
> Thanks for the pointers Joe.  This seems to be along the lines I went,
> but I am running into a hitch with the test:
> 
> # cyradm -user cyrus localhost
> Jul  3 16:51:36 acadia imapd: could not getenv(CYRUS_SERVICE); exiting
> Jul  3 16:51:36 acadia imapd: could not getenv(CYRUS_SERVICE); exiting

Take a look at your [x]inetd.conf file and make sure there aren't any
entries for imap, pop3, etc.

-- 
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: What is CYRUS_SERVICE? (was Re: Installing on FreeBSD)

2001-07-03 Thread Louis LeBlanc

On 07/03/01 08:07 PM, Ken Murchison sat at the `puter and typed:
> 
>  
> 
> Take a look at your [x]inetd.conf file and make sure there aren't any
> entries for imap, pop3, etc.
> 
> 

Is that a typo?  'make sure there aren't any entries for imap, pop3,
etc'???

What about sieve?

Thanks

Lou
-- 
Louis LeBlanc
Fully Funded Hobbyist, KeySlapper Extrordinaire :)
[EMAIL PROTECTED]
http://acadia.ne.mediaone.netԿԬ



Re: What is CYRUS_SERVICE? (was Re: Installing on FreeBSD)

2001-07-04 Thread Nick Sayer

Louis LeBlanc wrote:

>
>Is that a typo?  'make sure there aren't any entries for imap, pop3,
>etc'???
>

No, it's not. For cyrus, the 'master' takes the place of [x]inetd and 
cron entries. It *reuses* the service handlers in much the same way 
apache does.

>
>
>What about sieve?
>

same thing.

>
>
>Thanks
>
>Lou
>