How to add a user account in ubuntu3/16/2024 Virtual_alias_maps = hash:/etc/postfix/virtual_alias Virtual_mailbox_maps = hash:/etc/postfix/virtual_maps Virtual_mailbox_domains = /etc/postfix/virtual_domains Edit /etc/postfix/main.cf and add the following lines: $ sudo mkdir -p /home/vmail//aliceĪllow only the user vmail to access these files: Vmail:x:1001:1001::/home/vmail:/usr/bin/nologinĬreate a base directory layout for domains and users: I assume that you have completed your basic Postfix setup and that it is working properly.įollow these steps to add e-mail account: You will need access to a root account or an account with sudo privileges. We will create a virtual user setup so that we do not need to create user accounts for each e-mail user. ![]() ![]() Postfix will check for user accounts and deliver e-mails to respective users. The easiest way to add a new e-mail account to Postfix is to add a new user account on your server. In this recipe, we will learn how to add e-mail accounts to Postfix.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |