> On 22/05/2025 17:39 EEST Aki Tuomi via dovecot <[email protected]> wrote: > > > > On 22/05/2025 17:31 EEST via dovecot <[email protected]> wrote: > > > > > > On 2025-05-22 06:40, Aki Tuomi via dovecot wrote: > > > Hi, can you please post full doveconf -n? > > Hi Aki. > > > > Here is config I use to reproduce this issue. > > Full doveconf -n below. > > Nothing fancy in passwd-file. > > > > With this config I get: > > > > NAMESPACE (("INBOX/" "/")) > > > > vs > > > > NAMESPACE (("" "/")) > > > > > > doveconf -n > > # 2.4.1-4 (7d8c0e5759): /etc/dovecot/dovecot.conf # Pigeonhole version > > 2.4.1-4 (0a86619f) # OS: Linux 6.1.0-34-cloud-amd64 x86_64 Debian > > trixie/sid # Hostname: secret.fqdn dovecot_config_version = 2.4.1 > > auth_mechanisms = cram-md5 dovecot_storage_version = 2.4.1 > > haproxy_trusted_networks = 10.10.10.10/32 mail_driver = maildir mail_gid > > = vmail mail_home = /var/vmail/home/%{user} mail_path = ~/Maildir > > mail_uid = vmail protocols { imap = yes } passdb 0-global-dummy-passdb { > > driver = static } service imap-login { executable = imap-login protocol > > = imap inet_listener imap { haproxy = yes port = 143 ssl = no listen = > > 10.20.20.20 } inet_listener imap1443 { haproxy = no port = 1143 ssl = no > > listen = 10.20.20.20 } inet_listener imaps { port = 0 } } protocol imap > > { passdb 0-imap-passdb-passwd-file-cram-md5 { driver = passwd-file > > passwd_file_path = /etc/dovecot/userdb/passwd-file } userdb > > 0-imap-userdb-passwd-file { passwd_file_path = > > /etc/dovecot/userdb/passwd-file driver = passwd-file } } local > > 10.20.20.20 { namespace ns_private_inbox { inbox = yes prefix = INBOX/ > > separator = / } } > > > > Greets. > > > > On 2025-05-22 06:40, Aki Tuomi via dovecot wrote: > > Hi, can you please post full doveconf -n? > > Hi Aki. > > > > Here is config I use to reproduce this issue. > > Full doveconf -n below. > > Nothing fancy in passwd-file. > > > > With this config I get: > > NAMESPACE (("INBOX/" "/")) > > vs > > NAMESPACE (("" "/")) > > > > doveconf -n > > # 2.4.1-4 (7d8c0e5759): /etc/dovecot/dovecot.conf # Pigeonhole version > > 2.4.1-4 > > (0a86619f) # OS: Linux 6.1.0-34-cloud-amd64 x86_64 Debian trixie/sid # > > Hostname: secret.fqdn dovecot_config_version = 2.4.1 auth_mechanisms = > > cram-md5 > > dovecot_storage_version = 2.4.1 haproxy_trusted_networks = 10.10.10.10/32 > > mail_driver = maildir mail_gid = vmail mail_home = /var/vmail/home/%{user} > > mail_path = ~/Maildir mail_uid = vmail protocols { imap = yes } passdb 0- > > global-dummy-passdb { driver = static } service imap-login { executable = > > imap- > > login protocol = imap inet_listener imap { haproxy = yes port = 143 ssl = no > > listen = 10.20.20.20 } inet_listener imap1443 { haproxy = no port = 1143 > > ssl = > > no listen = 10.20.20.20 } inet_listener imaps { port = 0 } } protocol imap > > { passdb 0-imap-passdb-passwd-file-cram-md5 { driver = passwd-file > > passwd_file_path = /etc/dovecot/userdb/passwd-file } userdb 0-imap-userdb- > > passwd-file { passwd_file_path = /etc/dovecot/userdb/passwd-file driver = > > passwd-file } } local 10.20.20.20 { namespace ns_private_inbox { inbox = yes > > prefix = INBOX/ separator = / } } > > Greets. > > I see you a local 10.20.20.20 statement there, which changes how the inbox > prefix behaves, and I'm guessing (?) you are testing from 10.20.20.20 as it's > local, not remote. > > Which would explain why. > > Aki >
Also to add a bit that the "local_ip" (not real_local_ip) gets updated with haproxy proxy protocol (when enabled), so it will remote haproxy's local IP. Aki _______________________________________________ dovecot mailing list -- [email protected] To unsubscribe send an email to [email protected]
