s i s t e m a o p e r a c i o n a l m a g n u x l i n u x | ~/ · documentação · suporte · sobre |
Next
Previous
Contents
8. Cyrus IMAP Implementation8.1 Add the cyrus administratorRun the following command to set up a user for cyrus
8.2 Testing Cyrus IMAP
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. 8.3 Setting up usersStill 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).
Now as root, enter a password for each username
8.4 Delivery database pruningIf 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: You should also create the deliverdb directory to store database files in:
8.5 Finishing upReboot the machine to make sure that everything has been restarted under the new configuration Next Previous Contents |