Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
cyrus [2006/03/21 21:24] a upgrade |
cyrus [2012/10/15 11:58] (current) zagi old revision restored |
||
---|---|---|---|
Line 2: | Line 2: | ||
===== Configuration ===== | ===== Configuration ===== | ||
- | [[http:// | + | * [[http:// |
+ | * [[cyrus: | ||
==== LMTP over quota-reject ==== | ==== LMTP over quota-reject ==== | ||
+ | |||
+ | without taking mail and chacking over LMTP see: | ||
+ | * [[http:// | ||
+ | |||
**''/ | **''/ | ||
# If enabled, | # If enabled, | ||
Line 12: | Line 18: | ||
----- | ----- | ||
+ | |||
===== Cyrus 2.1.x to 2.2.x migration (debian) ===== | ===== Cyrus 2.1.x to 2.2.x migration (debian) ===== | ||
''// | ''// | ||
+ | |||
==== backup ==== | ==== backup ==== | ||
* stop all cyrus proccesses | * stop all cyrus proccesses | ||
Line 24: | Line 32: | ||
su - cyrus -c "/ | su - cyrus -c "/ | ||
- | * create a backup of ''/ | + | * create a backup of ''/ |
- | ==== new version | + | |
+ | **Whole Cyrus backup guide** | ||
+ | * http:// | ||
+ | * [[http:// | ||
+ | |||
+ | ==== TODO ==== | ||
+ | |||
+ | **TODO** | ||
+ | |||
+ | |||
+ | ===== Cyrus extra ===== | ||
+ | |||
+ | Patches: | ||
+ | * [[http:// | ||
+ | |||
+ | ===== Working with BerkeleyDB ===== | ||
+ | |||
+ | |||
+ | ==== Testing performances ==== | ||
+ | |||
+ | in your cyrus dbd dir do: | ||
+ | | ||
+ | |||
+ | |||
+ | ==== Twicking DBD settings ==== | ||
+ | **'' | ||
+ | # Sample BDB configuration file. | ||
+ | # Please adjust as necessary! | ||
+ | # See http:// | ||
+ | # even if you are not using openldap. | ||
+ | |||
+ | # cache | ||
+ | # use " | ||
+ | # see http:// | ||
+ | # syntax: gigabytes_of_cache additional_bytes_of_cache number_of_caches | ||
+ | set_cachesize 0 524288 1 | ||
+ | |||
+ | # buffer size for transaction log | ||
+ | # The default of 32Kbytes is too small | ||
+ | # see http:// | ||
+ | set_lg_bsize 524288 | ||
+ | |||
+ | # other options you may be interested in | ||
+ | |||
+ | # set_lg_dir: configure a separate directory for the transaction logs | ||
+ | # For optimum performance, | ||
+ | # see http:// | ||
+ | |||
+ | # set_lg_max: configure the maximum size of the transaction log file, in bytes | ||
+ | # See http:// | ||
+ | # Note that lg_max must at least be 4x the size of lg_bsize. The default is 10Mb. | ||
+ | |||
+ | **'' | ||
+ | set_cachesize 2 0 8 | ||
+ | set_lg_regionmax 268435456 | ||
+ | set_lg_bsize 67108864 | ||
+ | set_flags DB_TXN_WRITE_NOSYNC | ||
+ | |||
+ | **'' | ||
+ | set_cachesize 0 2097152 1 | ||
+ | set_lg_regionmax 2097152 | ||
+ | set_lg_bsize 2097152 | ||
+ | set_lg_max 16777216 | ||
+ | set_tx_max 100 | ||
+ | |||
+ | ==== rehasing DB ==== | ||
+ | |||
+ | Stop cyrus server, run **'' | ||
+ | |||
+ | ===== Troubleshooting ===== | ||
+ | ==== DBERROR db4: 21 lockers ==== | ||
+ | Getting something like this | ||
+ | Sep 25 16:39:34 localhost cyrus/ | ||
+ | see this: http:// | ||
+ | |||
- | ---- | + | ===== Sieve filtering ===== |
- | ===== Sieve filtering | + | |
==== Filtering Mailing Lists ==== | ==== Filtering Mailing Lists ==== |