/|\

Welcome to the Slackware Documentation Project

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
howtos:network_services:postfix_dovecot_mysql:uid_gid [2015/02/15 22:19 (UTC)]
astrogeek
howtos:network_services:postfix_dovecot_mysql:uid_gid [2015/03/08 09:35 (UTC)] (current)
astrogeek Sources and links
Line 1: Line 1:
-===== Creating Required Users and Groups ===== +====== Creating Required Users and Groups =====
-<note important>This article is under construction and not complete! Please return later...</note>+ 
 +This page is supplemental to main article: [[howtos:network_services:postfix_dovecot_mysql|Creating a Virtual Mail Server with Postfix, Dovecot and MySQL]] 
 You will need to create a few special users and groups to be able to build and/or run your mail server components. You will need to create a few special users and groups to be able to build and/or run your mail server components.
  
 We will use the SBo assigned uid and gid for each user and group. We will use the SBo assigned uid and gid for each user and group.
  
-To prepare to build or run postfix, execute the following commands on the target machine:+To prepare to build or install postfix, execute the following commands on the target machine:
  
 <code> <code>
Line 13: Line 15:
 </code> </code>
  
-To prepare to build or run dovecot, execute the following commands on the target machine:+To prepare to build or install dovecot, execute the following commands on the target machine:
  
 <code> <code>
Line 22: Line 24:
 </code> </code>
  
-Additionally, to create the user, group and target directory for the virtual mail functions, execute the following commands on the install machine (these are not necessary when building):+Additionally, we must create user, group and target directory for the virtual mail functions. There is no recommended uid/gid for these but a common choice for both is 5000. You may wish to change these to suit your own environment. 
 + 
 +Execute the following commands on the install machine (these are not necessary when building):
  
 <code> <code>
-groupadd -g 303 vmail +groupadd -g 5000 vmail 
-useradd -d /var/vmail -s /bin/false -u 303 -g 303 vmail+useradd -d /var/vmail -s /bin/false -u 5000 -g 5000 vmail
 mkdir -p /var/vmail/vhosts mkdir -p /var/vmail/vhosts
 chown -R vmail:vmail /var/vmail chown -R vmail:vmail /var/vmail
Line 42: Line 46:
  
 [[howtos:network_services:postfix_dovecot_mysql|Return to main article page]] [[howtos:network_services:postfix_dovecot_mysql|Return to main article page]]
 +====== Sources ======
 +  * Originally written by [[wiki:user:astrogeek | astrogeek]]
 {{tag>howtos email postfix dovecot}} {{tag>howtos email postfix dovecot}}

In Other Languages
QR Code
QR Code howtos:network_services:postfix_dovecot_mysql:uid_gid (generated for current page)