Files
postfixadmin/DOCUMENTS/examples/add-mail-format-field.sql
T
Rodrigo Cortés Cano db376c92a4 Document Dovecot 2.4 configuration for 4.0 (#1076)
Add Dovecot 2.4 oriented documentation for the PostfixAdmin 4.0 branch. See also #1075 

thanks @TrapoSAMA
2026-07-20 14:13:38 +01:00

12 lines
463 B
SQL

-- Optional local extension for gradual per-user Maildir to mdbox migration.
--
-- This is not required for standard PostfixAdmin installations.
-- Use it only if your Dovecot 2.4 userdb query returns mail_driver/mail_path
-- from SQL and you want to migrate users gradually.
ALTER TABLE mailbox
ADD COLUMN mail_format VARCHAR(16) NOT NULL DEFAULT 'maildir';
-- Optional visibility check:
SELECT username, mail_format FROM mailbox ORDER BY username LIMIT 20;