Re: [Postfixadmin-devel] Question re: changing maildir layout
Brought to you by:
christian_boltz,
gingerdog
From: Christian B. <pos...@cb...> - 2012-01-08 22:17:03
|
Hello, Am Sonntag, 8. Januar 2012 schrieb Tanstaafl: > 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 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 ;-) 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. > and changing the postfix/courier configs If you use the maildir field everywhere, you shouldn't have to change the config. > (next on the list is changing couier-imap to > dovecot, but one thing at a time)... ;-) Regards, Christian Boltz -- >> Einmal im Jahr sorgen MS Produkte durch das Internet für >> Milliardenschäden in der Wirtschaft > 2000: Love Letter, 2001: Code Red und Nimda, 2003: Sapphire, 2002? Windows XP. [Eric Wick, Wolfgang Ewert und Urs Traenkner in dcsm] |