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:
> > <snipped>
> 
> 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                ԿԬ

Reply via email to