[Postfixadmin-devel] Question re: changing maildir layout
Brought to you by:
christian_boltz,
gingerdog
From: Tanstaafl <tan...@li...> - 2012-01-08 20:31:05
|
Hi all, I have inherited a system that has been in use for a long time. It had an old version of postfixadmin that I've already updated to the latest, but it also had these set: $CONF['domain_path'] = 'NO'; $CONF['domain_in_mailbox'] = 'YES'; resulting in a maildir layout like: /var/vmail/us...@ex.../ I want to change this to: $CONF['domain_path'] = 'YES'; $CONF['domain_in_mailbox'] = 'NO'; to achieve a layout like: /var/vmail/example.com/user/ What I was planning on doing was simply dumping the database, editing the .sql file to change the maildir field in the mailbox table is changed from 'us...@ex.../' to 'example.com/user/'... Is that the *only* thing I need to change? I looked everywhere, and think that is the case, but would prefer to have confirmation before restoring this and then renaming the maildirs and changing the postfix/courier configs (next on the list is changing couier-imap to dovecot, but one thing at a time)... Thanks, Charles |