I use Ubuntu 14.04.3 LTS . How to change the location of the Mailbox /home/user/Maildir/ to /Location/Mail/?I don't have to create home directory for that user. I did some changes in the /etc/default/useradd file and /etc/login.defs but when I create a new user doesn't reflect(mail directory is created in /home/user/ directory).So I need to create a user of which its mail directory points to  /Location/Mail/ by default.   I also use postfix. If I can change default user mail directory in postfix, it is also okay for me.
Change user maildir to custom location upon creation of the user
linux;ubuntu;postfix;useradd
To change the location of Mailbox, include the below line in the file '/etc/postfix/main.cf' virtual_mailbox_base = /Location/Mail/If you don't want to create home directory(i.e non Unix Account user) then include the below line in the file '/etc/postfix/main.cf'virtual_alias_maps = hash:/etc/postfix/userlistOnce you added these files in Postfix, add the required user's you wish to configure the mailbox,In File /etc/postfix/userlist,user1@example.com   user1user2@example.com   user2...with your required no.of users...If you do need to create user's default maildir to /Location/Mail/ instead of /home then modify in the file '/etc/default/useradd'Home=/Location/MailThis will create Mailbox in the path /Location/Mail//Maildir/