Will skrev den 2024-03-26 13:32:
Hi again,

Sorry for the incomplete information.  Here is the dovecot -n

# 2.3.16 (7e2e900c1a): /etc/dovecot/dovecot.conf
# OS: Linux 5.14.0-362.24.1.el9_3.x86_64 x86_64 AlmaLinux release 9.3 (Shamrock Pampas Cat)
# Hostname: dcsnow.com
auth_mechanisms = plain login
first_valid_uid = 1000
login_trusted_networks = 10.1.0.0/16
mail_debug = yes
mail_location = maildir:~/Maildir:INBOX=mbox:/var/mail/%u
mbox_write_locks = fcntl

https://cs.brown.edu/about/system/accounts/email/dovecot/maildir_migration/

note the comment on / :)

i would just migrade with external tools like imapsync or https://manpages.ubuntu.com/manpages/focal/man1/mb2md.1.html

move all mails over to another folder that is maildir, not mbox
when done configure this old mbox to maildir in config

namespace inbox {
  inbox = yes
  location =
  mailbox Drafts {
    special_use = \Drafts
  }
  mailbox Junk {
    special_use = \Junk
  }
  mailbox Sent {
    special_use = \Sent
  }
  mailbox "Sent Messages" {
    special_use = \Sent
  }
  mailbox Trash {
    special_use = \Trash
  }
  prefix =
}

https://dovecot.org/list/dovecot/2021-October/123173.html see the syntax for sdbox here, you can have the mbox there for the mails needed to be converted to maildir

Mar 26 08:30:39 dcsnow dovecot[45951]: imap(aragonx)<46038><2Q8ydY8UNsQKAQEu>: Debug: Namespace inbox: type=private, prefix=, sep=, inbox=yes, hidden=no, list=yes, subscriptions=yes location=maildir:~/Maildir:INBOX=mbox:/var/mail/aragonx Mar 26 08:30:39 dcsnow dovecot[45951]: imap(aragonx)<46038><2Q8ydY8UNsQKAQEu>: Error: Namespace '': Unknown setting: /var/mail/aragonx Mar 26 08:30:39 dcsnow dovecot[45951]: imap(aragonx)<46038><2Q8ydY8UNsQKAQEu>: Disconnected: Namespace '': Unknown setting: /var/mail/aragonx in=0 out=416 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0

_______________________________________________
dovecot mailing list -- dovecot@dovecot.org
To unsubscribe send an email to dovecot-le...@dovecot.org

Reply via email to