Gleb Smirnoff wrote:
Hi.
For last two days I was trying to make Cyrus Imapd 2.2.1.b to work on FreeBSD. I have fresh ports collection, and Cyrus Imapd 2.2.1.b installed from ports with db3 support.
Here are contents of imapd.conf (everything else is left default):
configdirectory: /var/imap defaultpartition: default partition-default: /var/spool/imap admins: cyrus unixhierarchysep: yes servername: relay.bestcom.ru singleinstancestore: yes duplicatesuppression: yes reject8bit: no sieveusehomedir: false sievedir: /var/imap/sieve
Here is sendmail.mc (important parts of it):
OSTYPE(freebsd4) DOMAIN(generic) FEATURE(mailertable, `hash -o /etc/mail/mailertable') FEATURE(local_lmtp) FEATURE(`no_default_msa') FEATURE(`preserve_local_plus_detail') define(`confLOCAL_MAILER', `cyrusv2') define(`CYRUS_MAILER_PATH', /usr/local/cyrus/bin/deliver) define(`confDONT_BLAME_SENDMAIL', `GroupReadableSASLDBFile') MAILER(`local') MAILER(`smtp') MAILER(`cyrusv2')
After installation I do: # echo /usr/local/cyrus/bin/mkimap | su -m cyrus
all directories were created successfully. Then master process is started... ... cyrus admin account created: # saslpasswd2 cyrus
Then test mailbox is created: # cyradm --user cyrus --auth login localhost localhost> cm user.test
Since you are using unixhierarchysep, you need to create user/test
user.test ends up being a public mailbox.
-- 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