Postfix

Post Reply
hello_world
Posts: 25
Joined: 3. May 2011, 23:25
Location: Poland

Postfix

Post 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
Freedom for all
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

Re: Postfix

Post 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
hello_world
Posts: 25
Joined: 3. May 2011, 23:25
Location: Poland

Re: Postfix

Post by hello_world »

Installation of this tutorial
Documentation >User Documentation > How to set up a mail server
slapt-get -i postfix
Freedom for all
User avatar
thenktor
Salix Wizard
Posts: 2426
Joined: 6. Jun 2009, 14:47
Location: Franconia
Contact:

Re: Postfix

Post by thenktor »

As always see the README.Slackware file in /usr/doc:
less /usr/doc/postfix-2.6.5/README.Slackware
Image
burnCDDA (burns audio CDs)
geBIERt (German beer blog)
hello_world
Posts: 25
Joined: 3. May 2011, 23:25
Location: Poland

Re: Postfix

Post by hello_world »

Thank you
Checking evening at home
Freedom for all
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

Re: Postfix

Post 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!
User avatar
thenktor
Salix Wizard
Posts: 2426
Joined: 6. Jun 2009, 14:47
Location: Franconia
Contact:

Re: Postfix

Post by thenktor »

Yes, just take it as a hint that server packages usually come with such a README.Slackware file ;)
Image
burnCDDA (burns audio CDs)
geBIERt (German beer blog)
hello_world
Posts: 25
Joined: 3. May 2011, 23:25
Location: Poland

Re: Postfix

Post by hello_world »

@mimosa
bingo, work
Hurra
Time to configure Dovecot
@thenktor
I read :)

Greetings from Polish
Freedom for all
Post Reply