[Postfixbuch-users] parameter default_privs: unknown user name value: nobody
Christian Friedli
christian.friedli at id.unibe.ch
Di Jul 29 12:18:36 CEST 2008
Hallo Leute,
Ich erhalte seit einiger Zeit die Fehlermeldung
server postfix/sendmail[20286]: fatal: file /etc/postfix/main.cf:
parameter default_privs: unknown user name value: nobody
Postfix kann aus dem CHROOT den User nobody nicht sehen. Somit kann
Procmail sendmail nicht starten um Mails weiterzuleiten.
Nach einem Neustadt des Systems funktioniert das Forwarding für eine
Weile. Danach erscheint wieder die Meldung ...unknown user name value:
nobody ;-(
Ich bin im Moment noch ratlos. Habe das Problem gegooglet aber noch
nichts gefunden. :-(
Für jeden Tipp bin ich sehr dankbar.
Liebe Grüsse
Christian
Mein Setup inc. Konfiguration
- Ubuntu 8.04 LTS, Postfix Installation nach https://help.ubuntu.com/community/Postfix
- postfix/hardy 2.5.1-2ubuntu1
- procmail/hardy 3.22-16ubuntu3
- amavisd-new-2.6.1
- clamav/hardy 0.92.1~dfsg2-1.1ubuntu0.2
Meine main.cf:
root at server:~# postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
allow_min_user = yes
bounce_size_limit = 25000
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
content_filter = amavisfeed:[127.0.0.1]:10024
daemon_directory = /usr/lib/postfix
home_mailbox = /home/$USER/Maildir/
inet_interfaces = all
mail_owner = postfix
mailbox_command = /usr/bin/procmail -a "$EXTENSION" DEFAULT=/home/
$USER/Maildir/ MAILDIR=/home/$USER/Maildir
mailbox_size_limit = 0
mailq_path = /usr/bin/mailq
message_size_limit = 20480000
mydestination = $myhostname, localhost.$mydomain, localhost,
$mydomain, mail.server.com
mydomain = smtp.server.com
myhostname = hostname.server.com
mynetworks = 100.21.0.0/16, 127.0.0.0/8
myorigin = mail.server.com
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
relayhost = mailrelay.server.com
sender_canonical_maps = hash:/etc/postfix/canonical/canonical,
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
smtp_sasl_security_options = noanonymous
smtp_tls_CAfile = /etc/postfix/certs/CA.pem
smtp_tls_cert_file = /etc/postfix/certs/smtp.server.com.pem
smtp_tls_key_file = /etc/postfix/certs/smtp.server.com.pem
smtp_tls_loglevel = 2
smtp_use_tls = yes
smtpd_client_restrictions =
smtpd_error_sleep_time = 1s
smtpd_hard_error_limit = 100
smtpd_recipient_restrictions = reject_non_fqdn_recipient,
check_client_access hash:/etc/postfix/client_checks/client_checks
permit_mynetworks, permit_sasl_authenticated,
reject_unauth_destination, reject
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
smtpd_sasl_security_options = noanonymous
smtpd_sasl_tls_security_options = noanonymous
smtpd_sender_restrictions = reject_non_fqdn_sender
smtpd_soft_error_limit = 50
smtpd_tls_CAfile = /etc/postfix/certs/server.pem
smtpd_tls_auth_only = yes
smtpd_tls_cert_file = /etc/postfix/certs/smtp.server.com.pem
smtpd_tls_key_file = /etc/postfix/certs/smtp.server.com.key
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
smtpd_use_tls = yes
soft_bounce = no
tls_random_source = dev:/dev/urandom
transport_maps = hash:/etc/postfix/transport/transport
unknown_local_recipient_reject_code = 550
virtual_alias_domains = hash:/etc/postfix/domain/domains
virtual_alias_maps = hash:/etc/postfix/virtual/virtual,
####################################################################
master.cf:
smtp inet n - - - - smtpd
submission inet n - - - - smtpd
pickup fifo n - - 60 1 pickup
cleanup unix n - - - 0 cleanup
qmgr fifo n - n 300 1 qmgr
#qmgr fifo n - - 300 1 oqmgr
tlsmgr unix - - - 1000? 1 tlsmgr
rewrite unix - - - - - trivial-rewrite
bounce unix - - - - 0 bounce
defer unix - - - - 0 bounce
trace unix - - - - 0 bounce
verify unix - - - - 1 verify
flush unix n - - 1000? 0 flush
proxymap unix - - n - - proxymap
smtp unix - - - - - smtp
relay unix - - - - - smtp
-o smtp_fallback_relay=
showq unix n - - - - showq
error unix - - - - - error
retry unix - - - - - error
discard unix - - - - - discard
local unix - n n - - local
virtual unix - n n - - virtual
lmtp unix - - - - - lmtp
anvil unix - - - - 1 anvil
scache unix - - - - 1 scache
amavisfeed unix - - n - 10 lmtp
-o lmtp_data_done_timeout=1200
-o lmtp_send_xforward_command=yes
-o lmtp_tls_note_starttls_offer=no
127.0.0.1:10025 inet n - n - - smtpd
-o content_filter=
-o smtpd_delay_reject=no
-o smtpd_client_restrictions=permit_mynetworks,reject
-o smtpd_helo_restrictions=
-o smtpd_sender_restrictions=
-o smtpd_recipient_restrictions=permit_mynetworks,reject
-o smtpd_data_restrictions=reject_unauth_pipelining
-o smtpd_end_of_data_restrictions=
-o smtpd_restriction_classes=
-o mynetworks=127.0.0.0/8
-o smtpd_error_sleep_time=0
-o smtpd_soft_error_limit=1001
-o smtpd_hard_error_limit=1000
-o smtpd_client_connection_count_limit=0
-o smtpd_client_connection_rate_limit=0
-o
receive_override_options
=no_header_body_checks,no_unknown_recipient_checks,no_milters
-o local_header_rewrite_clients=
-o smtpd_milters=
-o local_recipient_maps=
-o relay_recipient_maps=
maildrop unix - n n - - pipe
flags=DRhu user=vmail argv=/usr/bin/maildrop -d ${recipient}
uucp unix - n n - - pipe
flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail
($recipient)
ifmail unix - n n - - pipe
flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
bsmtp unix - n n - - pipe
flags=Fq. user=bsmtp argv=/usr/lib/bsmtp/bsmtp -t$nexthop -f$sender
$recipient
scalemail-backend unix - n n - 2 pipe
flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store $
{nexthop} ${user} ${extension}
mailman unix - n n - - pipe
flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py
${nexthop} ${user}
Postfix läuft in einem CHROOT.
server: /var/spool/postfix/
server: |-- active
server: |-- bounce
server: |-- corrupt
server: |-- defer
server: | |-- 0
server: | |-- 1
server: | |-- 2
server: | |-- 3
server: | |-- 4
server: | |-- 5
server: | |-- 6
server: | |-- 7
server: | |-- 8
server: | |-- 9
server: | |-- A
server: | |-- B
server: | |-- C
server: | |-- D
server: | |-- E
server: | `-- F
server: |-- deferred
server: | |-- 0
server: | |-- 1
server: | |-- 2
server: | |-- 3
server: | |-- 4
server: | |-- 5
server: | |-- 6
server: | |-- 7
server: | |-- 8
server: | |-- 9
server: | |-- A
server: | |-- B
server: | |-- C
server: | |-- D
server: | |-- E
server: | `-- F
server: |-- dev
server: | `-- log
server: |-- etc
server: | |-- hosts
server: | |-- localtime
server: | |-- nsswitch.conf
server: | |-- pam.d
server: | | `-- smtp
server: | |-- resolv.conf
server: | `-- services
server: |-- flush
server: | |-- mail_server_com
server: | `-- smtp_server_com
server: |-- hold
server: |-- incoming
server: | `-- CAFC578C07E
server: |-- lib
server: | |-- libnss_compat-2.7.so
server: | |-- libnss_compat.so.2 -> libnss_compat-2.7.so
server: | |-- libnss_dns-2.7.so
server: | |-- libnss_dns.so.2 -> libnss_dns-2.7.so
server: | |-- libnss_files-2.7.so
server: | |-- libnss_files.so.2 -> libnss_files-2.7.so
server: | |-- libnss_hesiod-2.7.so
server: | |-- libnss_hesiod.so.2 -> libnss_hesiod-2.7.so
server: | |-- libnss_ldap-2.7.so
server: | |-- libnss_ldap.so.2 -> libnss_ldap-2.7.so
server: | |-- libnss_nis-2.7.so
server: | |-- libnss_nis.so.2 -> libnss_nis-2.7.so
server: | |-- libnss_nisplus-2.7.so
server: | `-- libnss_nisplus.so.2 -> libnss_nisplus-2.7.so
server: |-- maildrop
server: |-- pid
server: | |-- inet.127.0.0.1:10025
server: | |-- inet.smtp
server: | |-- inet.submission
server: | |-- master.pid
server: | |-- unix.amavisfeed
server: | |-- unix.bounce
server: | |-- unix.cleanup
server: | |-- unix.defer
server: | |-- unix.error
server: | |-- unix.flush
server: | |-- unix.local
server: | |-- unix.retry
server: | |-- unix.showq
server: | |-- unix.smtp
server: | `-- unix.trace
server: |-- private
server: | |-- amavisfeed
server: | |-- anvil
server: | |-- bounce
server: | |-- bsmtp
server: | |-- defer
server: | |-- discard
server: | |-- error
server: | |-- ifmail
server: | |-- lmtp
server: | |-- local
server: | |-- maildrop
server: | |-- mailman
server: | |-- proxymap
server: | |-- relay
server: | |-- retry
server: | |-- rewrite
server: | |-- scache
server: | |-- scalemail-backend
server: | |-- smtp
server: | |-- tlsmgr
server: | |-- trace
server: | |-- uucp
server: | |-- verify
server: | `-- virtual
server: |-- public
server: | |-- cleanup
server: | |-- flush
server: | |-- pickup
server: | |-- qmgr
server: | `-- showq
server: |-- saved
server: |-- trace
server: |-- usr
server: | `-- lib
server: | |-- sasl2
server: | `-- zoneinfo
server: | `-- localtime -> /etc/localtime
server: `-- var
server: `-- run
server: `-- saslauthd
server: |-- cache.flock
server: |-- cache.mmap
server: |-- mux
server: `-- saslauthd.pid
server:
Mehr Informationen über die Mailingliste Postfixbuch-users