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

Required

Required, hidden

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


Search

Calendar

April 2011
M T W T F S S
« Mar   May »
 123
45678910
11121314151617
18192021222324
252627282930  

Posts by Category

Posts by Month


Latest Posts

Interesting Websites:

Most Recent Posts

Syndication

Management

Stats:
eXTReMe Tracker