Originally Posted by falko
First you have to tell Postfix to deliver emails to a user's Maildir:
postconf -e 'home_mailbox = Maildir/'
postconf -e 'mailbox_command ='
Then you have to create a system user and a password:
useradd -d /home/sample_user -g users sample_user
postconf -e 'virtual_maps = hash:/etc/postfix/virtusertable'
postconf -e 'mydestination = /etc/postfix/local-host-names'
/etc/postfix/local-host-names should contain all domains that you want to accept emails for, e.g.:
/etc/postfix/virtusertable looks like this:
Emails for email@example.com
will now arrive in the mailbox of sample_user.
Everytime you change /etc/postfix/virtusertable you have to run the following command:
Now restart Postfix:
and you're done!
Ok I orginally created the users mailboxes in webmin
and then created them in
when I ran /etc/init.d/postfix restart
I got a error/warning saying duplicate -
however the users remained in
Should I expect any issue
If not then I will begin testing as I am done except for doing some Spam catching/filtering