Create the location for the IMAP mailboxes

This page is out of date, it has been replaced by a newer version which you can find here.

To be able to store the received e-mail in the correct mailbox for your users you have to setup a location that you will use on your servers harddisk. A very common location is /usr/local/virtual, but you can put it anywhere you want. Keep in mind that if you use a different location that you need to change several configuration files (I’ll try to put remarks on this at the proper locations)

If you are installing for the first time the directory isn’t there yet. You need to create it and setup the correct permissions. So login to the terminal session of your server and become root and create the directory:

mkdir /usr/local/virtual

Change the owner and group of the directory

chown -R postfix:postfix /usr/local/virtual

and setup the correct permissions

chmod 771 /usr/local/virtual

Next page ->, configuring SASL for authdaemond

Comments are closed, to find out why read this blogpost for the reason and directions to alternatives.