How to create a new Postfix user account
April 1st, 2011
If you wonder how to create a new Postfix user account, this is how you do it, just type in:
useradd -s /sbin/nologin username
Then follow by setting up a user password:
passwd username
Then create Home Directory with appropriate permissions:
mkdir /home/username/Maildir
chown username:username /home/username/Maildir
chmod -R 700 /home/username/Maildir
And finally restart Postifx:
/etc/init.d/postfix restart
and other services you’re using, example:
/etc/init.d/dovecot restart
/etc/init.d/saslauthd restart
Entry Filed under: English Blog
Leave a Comment
Some HTML allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>
Trackback this post | Subscribe to the comments via RSS Feed