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
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 =
}
passdb {
  driver = pam
}
service auth {
  unix_listener /var/spool/postfix/private/auth {
    mode = 0666
  }
  user = $default_internal_user
}
ssl_cert = </etc/letsencrypt/live/dcsnow.com-0002/fullchain.pem
ssl_key = # hidden, use -P to show it
userdb {
  driver = passwd
}

debug:

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

On 3/26/2024 2:37 AM, Aki Tuomi via dovecot wrote:
On 26/03/2024 00:02 EET Will<arag...@dcsnow.com>  wrote:

Hi,

This is my first time using this group and I have the same question as
the subject.  I can't seem to get dovecot to read a mbox inbox that is
in /var/mail/%u with /home/%u/Maildir as maildir.  This just worked on
my old server that I am now upgrading to AlmaLinux release 9.3 with
dovecot version 2.3.16 (7e2e900c1a).  Please help, this upgrade is very
painful.  Guess I shouldn't have waited 20 years...

It would be helpful if you could provide doveconf -n please, and mail_debug=yes 
logs.

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

Reply via email to