• This forum has a zero tolerance policy regarding spam. If you register here to publish advertising, your user account will be deleted without further questions.

Postfix Paketinstallation schlägt fehl

dicke_nudel

New Member
Hallo an alle,

ich habe Probleme bei der Installation von Postfix mit Aptitude. Seit 2 Tagen kämpfe ich nun mit diesem Fall und komme nicht dahinter woran es liegt.

Code:
 aptitude install postfix
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
The following NEW packages will be installed:
  postfix
The following packages will be REMOVED:
  xmail{a}
0 packages upgraded, 1 newly installed, 1 to remove and 38 not upgraded.
Need to get 0B/1301kB of archives. After unpacking 2429kB will be used.
Do you want to continue? [Y/n/?] y
Writing extended state information... Done
Preconfiguring packages ...
dpkg: xmail: dependency problems, but removing anyway as you request:
 bsd-mailx depends on exim4 | mail-transport-agent; however:
  Package exim4 is not installed.
  Package mail-transport-agent is not installed.
  Package postfix which provides mail-transport-agent is not installed.
  Package exim4-daemon-light which provides mail-transport-agent is not installed.
  Package xmail which provides mail-transport-agent is to be removed.
(Reading database ... 24319 files and directories currently installed.)
Removing xmail ...
Stopping XMail server: XMail.
Processing triggers for man-db ...
Selecting previously deselected package postfix.
(Reading database ... 24252 files and directories currently installed.)
Unpacking postfix (from .../postfix_2.5.5-1.1_amd64.deb) ...
Processing triggers for man-db ...
Setting up postfix (2.5.5-1.1) ...

Postfix configuration was not changed.  If you need to make changes, edit
/etc/postfix/main.cf (and others) as needed.  To view Postfix configuration
values, see postconf(1).

After modifying main.cf, be sure to run '/etc/init.d/postfix reload'.

Running newaliases
newaliases: fatal: file /etc/postfix/main.cf: parameter default_privs: unknown user name value: nobody
dpkg: error processing postfix (--configure):
 subprocess post-installation script returned error exit status 75
Errors were encountered while processing:
 postfix
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Setting up postfix (2.5.5-1.1) ...

Postfix configuration was not changed.  If you need to make changes, edit
/etc/postfix/main.cf (and others) as needed.  To view Postfix configuration
values, see postconf(1).

After modifying main.cf, be sure to run '/etc/init.d/postfix reload'.

Running newaliases
newaliases: fatal: file /etc/postfix/main.cf: parameter default_privs: unknown user name value: nobody
dpkg: error processing postfix (--configure):
 subprocess post-installation script returned error exit status 75
Errors were encountered while processing:
 postfix
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done

Eigentlich kommt immer ein Installationsscript nach erfolgreicher Paketinstallation. Bei mir bricht die Installation leider ab.

Irgend eine Idee?

Viele Dank für eure Zeit

Gruß
 
Code:
id: nobody: No such user

Habe jetzt einfach mal mein Apache user verwendet. Danach gings.

:eek:
"nobody" wird nicht einfach so von Postfix benutzt, sondern deswegen, weil er so wenige Rechte im System hat wie kein anderer User.
Durch das leichtfertige Benutzen des Apache-Users (der deutlich mehr Rechte als "nobody" hat!) hast Du Dir meiner Meinung nach ein unsicheres System gebaut. Selbst wenns funktioniert, würde ich das System so nicht benutzen!
 
Back
Top