Re: [Postfixadmin-devel] Question re: changing maildir layout
Brought to you by:
christian_boltz,
gingerdog
From: Tanstaafl <tan...@li...> - 2012-01-09 12:10:04
|
On 2012-01-08 5:16 PM, Christian Boltz <pos...@cb...> wrote: > Am Sonntag, 8. Januar 2012 schrieb Tanstaafl: > Yes, you only have to change the maildir field (and rename the > directories, of course). > > However I wouldn't edit the dump. Instead, I'd select username and > maildir into a text file and use some sed magic to create update > statements. > > But that's probably just a question of personal taste ;-) Or skills... ;) but it only took a few minutes and its already done... thanks very much Christian for confirming this is all I need to change. > BTW: The easiest way is to do nothing ;-) The existing maildirs will > keep their old naming (and still work), directories for new mailboxes > will get the new naming scheme. Yeah, but I'm a bit anal and like consistency... ;) >> and changing the postfix/courier configs > If you use the maildir field everywhere, you shouldn't have to change > the config. I don't have to change the query, no, but I neglected to mention, the previous guy had also set the maildir path to: /var/virtual and I prefer /var/vmail So I'll need to also change virtual_mailbox_base in postfix, and the MYSQL_HOME_FIELD in courier-imap after mv'ing the maildirs... Anyway, many thanks, I should be able to pull the trigger on this tonight... |