[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionNext revisionBoth sides next revision | ||
howtos:network_services:postfix_dovecot_mysql:uid_gid [2015/02/15 08:15 (UTC)] – created astrogeek | howtos:network_services:postfix_dovecot_mysql:uid_gid [2015/02/16 00:23 (UTC)] – astrogeek | ||
---|---|---|---|
Line 22: | Line 22: | ||
</ | </ | ||
- | Additionally, | + | Additionally, |
+ | |||
+ | Execute | ||
< | < | ||
- | 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 / | mkdir -p / | ||
chown -R vmail:vmail /var/vmail | chown -R vmail:vmail /var/vmail | ||
</ | </ | ||
+ | |||
+ | To test whether these users or groups already exist on a machine, substitute the user or group names into the respective commands: | ||
+ | < | ||
+ | cat /etc/passwd |grep ^postfix | ||
+ | cat /etc/group |grep ^postdrop | ||
+ | </ | ||
+ | |||
+ | If the corresponding name exists it will be shown, otherwise you will see only an empty prompt in response. | ||
+ | |||
+ | For troubleshooting you should verify that each user and group is defined on your machine as shown here. | ||
[[howtos: | [[howtos: | ||
- | {{tag> | + | {{tag> |