|
Run the following command to set up a user for cyrus
/usr/local/sbin/saslpasswd cyrus
killall -HUP inetd
su cyrus
imtest -m login -p imap localhost
Enter your password. If you see something like:
(L01 OK User logged in means you're in)
Then the setup has been successful. Type
. logout
to log out.
Still as the user cyrus, type the following commands. They will set up the mailbox(es) for each user. Fill in the username where you see the (username).
cyradm localhost
cm user.joebob
(for all the user joebob)quit
exit
(back as root)Now as root, enter a password for each username
saslpasswd (username)
If you don't periodically prune the database of deliveries, you can fill up your file system. Adding a cron job which will run once a day is one way to do this. That involves going to /etc/cron.daily and creating a file named cyrus-imapd. Inside that file, put the following two lines of code:
#!/bin/bash su cyrus -s /bin/bash -c '/usr/cyrus/bin/deliver -E 3'
Make this script executable by running: chmod 755 cyrus-imapd
You should also create the deliverdb directory to store database files in:
mkdir /var/imap/deliverdb
Reboot the machine to make sure that everything has been restarted under the new configuration
Hosting by: Hurra Communications Ltd.
Generated: 2007-01-26 17:57:51