Page 1 of 1

Postfix

Posted: 3. May 2011, 23:32
by hello_world
Hi
I use postfix tutorial and I have a problem.
postfix: fatal: file / etc / postfix / main.cf: parameter mail_owner: unknown user name value: postfix
Why postfix installation did not start a group and user?
How to properly create a user for Postfix?
Thank you

Re: Postfix

Posted: 4. May 2011, 02:45
by mimosa
How did you install postfix? If you did so using src

Code: Select all

slapt-src -i postfix
the error messages should ask you to create the group, user, and then another for postdrop:

Code: Select all

#groupadd -g 200 postfix
#useradd -u 200 -d /dev/null -s /bin/false -g postfix postfix
#groupadd -g 201 postdrop
at least on my system.

If you don't have slapt-src:

Code: Select all

#slapt-get -i slapt-src
#slapt-src -u
#slapt-src -i postfix

Re: Postfix

Posted: 4. May 2011, 11:13
by hello_world
Installation of this tutorial
Documentation >User Documentation > How to set up a mail server
slapt-get -i postfix

Re: Postfix

Posted: 4. May 2011, 11:24
by thenktor
As always see the README.Slackware file in /usr/doc:
less /usr/doc/postfix-2.6.5/README.Slackware

Re: Postfix

Posted: 4. May 2011, 11:39
by hello_world
Thank you
Checking evening at home

Re: Postfix

Posted: 4. May 2011, 12:45
by mimosa
My previous post was based on trying it out on a machine running 13.37. On 13.1, a simple slapt-get -i does the job. The commands for adding groups and user are the same.

Good luck!

Re: Postfix

Posted: 4. May 2011, 14:37
by thenktor
Yes, just take it as a hint that server packages usually come with such a README.Slackware file ;)

Re: Postfix

Posted: 4. May 2011, 19:56
by hello_world
@mimosa
bingo, work
Hurra
Time to configure Dovecot
@thenktor
I read :)

Greetings from Polish