/var/spool/imap/domain directory structure

Andrew B. PAnphiloff andrew at panfilov.org.ru
Mon Dec 27 23:13:15 EST 2004


I have two servers, one with freebsd and another with linux.
So, i need transfer all mailboxes from freebsd to linux, but I have some 
trouble:

/var/spool/imap/domain directory structure on bsd server:

---domain.tld
------------user
-----------------first mailbox
-----------------second mailbox

/var/spool/imap/domain directory structure on linux server:

--d
---domain.tld
--------------f
-----------------user
----------------------first mailbox
--------------s
-----------------user
----------------------second mailbox


Why structures are different ? Is any ability to force linux server
keep directories like freebsd ?

freebsd imapd.conf:
============================================
configdirectory: /var/imap
partition-default: /var/spool/imap
unixhierarchysep: yes
virtdomains: yes
umask: 000
allowanonymouslogin: no
allowplaintext: yes
quotawarn: 90
admins: cyrus
autocreatequota: 10000
reject8bit: no
sieveusehomedir: false
sievedir: /var/imap/sieve
sendmail: /usr/sbin/sendmail
postmaster: postmaster
sasl_minimum_layer: 0
sasl_pwcheck_method: saslauthd
sasl_mech_list: PLAIN
sasl_sql_select: dummy
lmtpsocket: /var/imap/socket/lmtp
============================================


linux imapd.conf:
============================================
configdirectory:        /var/imap
partition-default:      /var/spool/imap
sievedir:               /var/imap/sieve
tls_ca_path:            /etc/ssl/certs
tls_cert_file:          /etc/ssl/cyrus/server.crt
tls_key_file:           /etc/ssl/cyrus/server.key
admins:                 cyrus
hashimapspool:          yes
allowanonymouslogin:    no
allowplaintext:         yes
unixhierarchysep:       yes
virtdomains:            yes
umask:                  000
quotawarn:              90
autocreatequota:        10000
reject8bit:             no
sendmail:               /usr/sbin/sendmail
postmaster:             postmaster
lmtpsocket:             /var/imap/socket/lmtp
sasl_pwcheck_method: auxprop
sasl_auxprop_plugin: sql
sasl_sql_engine: mysql
sasl_mech_list: LOGIN PLAIN
sasl_sql_user: user
sasl_sql_passwd: secret
sasl_sql_database: mail
sasl_sql_hostnames: localhost
sasl_sql_select: SELECT password FROM accountuser WHERE username = '%u@%r'
============================================
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html




More information about the Info-cyrus mailing list