Postfix

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

Postfix

Post by hello_world » 3. May 2011, 23:32

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: 3096
Joined: 25. May 2010, 17:02
Contact:

Re: Postfix

Post by mimosa » 4. May 2011, 02:45

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 » 4. May 2011, 11:13

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 » 4. May 2011, 11:24

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 » 4. May 2011, 11:39

Thank you
Checking evening at home
Freedom for all

User avatar
mimosa
Salix Warrior
Posts: 3096
Joined: 25. May 2010, 17:02
Contact:

Re: Postfix

Post by mimosa » 4. May 2011, 12:45

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 » 4. May 2011, 14:37

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 » 4. May 2011, 19:56

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

Greetings from Polish
Freedom for all

Post Reply