Re: Mail is being delivered to /var/mail/*user* instead of Maildir

2022-04-07 Thread Viktor Dukhovni
On Thu, Apr 07, 2022 at 08:20:54AM -0500, Rob McGee wrote: > > IIUC, you are telling me to change local to virtual, in order to use > > virtual_mailbox_maps, so vmailbox_result_format => Maildir. > > "vmailbox_result_format" is not a setting, where did you see this > documented? Actually, it is

Re: Mail is being delivered to /var/mail/*user* instead of Maildir

2022-04-07 Thread Rob McGee
On 2022-04-07 01:25, Tan Mientras wrote: On Wed, Apr 6, 2022 at 3:34 PM Wietse Venema wrote: You have configured *the other Postfix* system to deliver mail with virtual_transport = virtual (which is the default) That uses virtual_mailbox_maps to locate mailboxes/maildirs. But here, you have

Re: Mail is being delivered to /var/mail/*user* instead of Maildir

2022-04-06 Thread Tan Mientras
On Wed, Apr 6, 2022 at 3:34 PM Wietse Venema wrote: > You have configured *the other Postfix* system to deliver mail with > >virtual_transport = virtual (which is the default) > > That uses virtual_mailbox_maps to locate mailboxes/maildirs. > > But here, you have: > > virtual_transport =

Re: Mail is being delivered to /var/mail/*user* instead of Maildir

2022-04-06 Thread Tan Mientras
On Wed, Apr 6, 2022 at 3:20 PM Matus UHLAR - fantomas wrote: > note that different behaviour can be caused by: > - destination domain in virtual_mailbox_domains > both equal - home_mailbox > not sent in config - mailbox_command > same command please, notice we're using the SAME configuration f

Re: Mail is being delivered to /var/mail/*user* instead of Maildir

2022-04-06 Thread Wietse Venema
Tan Mientras: > For some reason, in the new environment, *mail is being delivered to > /var/mail/user instead of Maildir (/home/vmail/user/Maildir).*(While > debian 6 is working correctly) > Any suggestion or fix for the config file would be much appreciated. Wietse: > https://www.postfix.org/post

Re: Mail is being delivered to /var/mail/*user* instead of Maildir

2022-04-06 Thread Matus UHLAR - fantomas
On 06.04.22 12:53, Tan Mientras wrote: Debian 6 postconf -d output: ... mail_spool_directory = /var/mail ... however, mail is sent to /home/vmail/user/Maildir instead. probably cause vmailbox_server_host = ldap.domain.com vmailbox_server_port = 389 vmailbox_bind = yes vmailbox_bind_dn = cn=admin,

Re: Mail is being delivered to /var/mail/*user* instead of Maildir

2022-04-06 Thread Tan Mientras
Debian 6 postconf -d output: ... mail_spool_directory = /var/mail ... however, mail is sent to /home/vmail/user/Maildir instead. probably cause vmailbox_server_host = ldap.domain.com vmailbox_server_port = 389 vmailbox_bind = yes vmailbox_bind_dn = cn=admin,dc=domain,dc=root vmailbox_bind_pw =

Re: Mail is being delivered to /var/mail/*user* instead of Maildir

2022-04-06 Thread Wietse Venema
Tan Mientras: > Hi > > We are migrating an old Debian 6 Postfix smarthost/relay server to a new > one, just copying the configuration files and some other files to a fresh > Ubuntu 20.04 system. > > For some reason, in the new environment, *mail is being delivered to > /var/mail/user instead of M

Re: Mail is being delivered to /var/mail/*user* instead of Maildir

2022-04-06 Thread Tan Mientras
In order to follow the guidelines, here's the postconf -n output: alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases append_dot_mydomain = no biff = no broken_sasl_auth_clients = yes default_destination_concurrency_limit = 10 default_destination_recipient_limit = 100 default_process