> postfix: fatal: default_privs: postfix: privileged group is not allowed
is the error message if I try to start postfix as root. I found several
threads about the problem on deja.com, but I'm not able to fix the problem at
all. Sometimes it was said, that this was an error in postfix for solaris,
but I'm using a Intel Linux PC.
But now everything step by step:
Today, I've downloaded the latest stable postfix release. After unpacking the
source, I did a make to build the source. Than I created a user and a group
postfix and backuped the old sendmail files like described in the install
doc. At the end I made a sh INSTALL.sh in the root dir of the source, without
changing any of the given values in the script.
Now I've configured postfix with the /etc/postfix/main.cf. I think the
following lines are most interesting:
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
defer_transports = smtp
disable_dns_lookups = yes
inet_interfaces = all
local_destination_concurrency_limit = 2
mail_owner = postfix
mail_spool_directory = /var/spool/mail
mydestination = $myhostname, localhost.$mydomain, localhost,
steinchen.winterberg.de
mydomain = hpfsc.de
myhostname = www.hpfsc.de
mynetworks = 192.168.0.0/20, 127.0.0.0/10
myorigin = $myhostname
queue_directory = /var/spool/postfix
relay_domains = $mydestination
relayhost = www.hpfsc.de
smtpd_banner = $myhostname ESMTP $mail_name ($mail_version)
#default_privs = nobody
I've also tried to start postfix with the last line uncommented, but it's
always the same error message when I try a postfix start.
I don't know where to look for the error, but I think the following
information are interesting as well:
/etc/group
postfix::25:postfix
nobody::98:nobody
nogroup::99:nobody
/etc/shadow
postfix:*:9797:0:::::
nobody:*:9797:0:::::
ls -al /var/spool/
drwxr-xr-x 3 root root postfix
drwxrwxrwt 2 root mail mail
ls -al /var/spool/postfix/
drwx-wx-wt 2 postfix root maildrop
my system: Slackware 8, Kernel 2.4.6, Intel PC, glibc 2.2
Ok, I hope there is someone out there, who can help me. I've read the FAQ and
some on the homepage linked documents as well.
Have a nice weekend!
Sebastian Stein
--
http://www.hpfsc.de/ - die Seite rund um:
Assembler, Bundeswehr, TFT LCDs, Halle/Saale, Fahrradtouren, Wanderstaat
Mauma, Raumschiff USS Nathan, Enemy Room, MLCAD Tutorial
-
To unsubscribe, send mail to majo...@postfix.org with content
(not subject): unsubscribe postfix-users
>> postfix: fatal: default_privs: postfix: privileged group is not allowed
>
> is the error message if I try to start postfix as root.
default_privs MUST NOT be set to root.
Check with
postconf default_privs
> mynetworks = 192.168.0.0/20, 127.0.0.0/10
/10?? Why not the usual /8 ??
> relayhost = www.hpfsc.de
Better use relayhost=[ip.of.www.hpfsc.de]
> /etc/group
> postfix::25:postfix
> nobody::98:nobody
> nogroup::99:nobody
>
> /etc/shadow
> postfix:*:9797:0:::::
Postfix is in the group 0?? Not the group 25 (postfix)??
--
ralf.hil...@innominate.com innominate AG
Technical Consultant Don't be afraid of what you see -
Diplom-Informatiker be afraid of what you don't see!
tel: +49.(0)7000.POSTFIX fax: +49.(0)30.308806-77
That was the error. In the passwd file was the wrong group as well.
Thanks,
Steinchen
--
http://www.hpfsc.de/ - die Seite rund um:
Assembler, Bundeswehr, TFT LCDs, Halle/Saale, Fahrradtouren, Wanderstaat
Mauma, Raumschiff USS Nathan, Enemy Room, MLCAD Tutorial
-