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 Maildir (/home/vmail/user/Maildir).*(While debian
> 6 is working correctly)
> Any suggestion or fix for the config file would be much appreciated.

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.

    Note: maildir delivery is done with the privileges of the
    recipient. If you use the mail_spool_directory setting for
    maildir style delivery, then you must create the top-level
    maildir directory in advance. Postfix will not create it.


Reply via email to