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/postconf.5.html#mail_spool_directory > > mail_spool_directory (default: see "postconf -d" output) > The directory where local(8) UNIX-style mailboxes are kept. The > default setting depends on the system type. Specify a name > ending in / for maildir-style delivery. ... Tan Mientras: > On the other hand, Ubuntu postconf -d output is > mail_spool_directory = /var/mail > but *mails aren't delivered to /home/vmail/user/Maildir but /var/mail* 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 = local This uses mail_spool_directory to locate mailboxes/maildirs. Wietse