PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Postfix liebert nicht an Maildrop / Hostname Fehler etc



recon88
23.03.10, 17:36
Habe ein altbekanntes Problem mit Postfix, Courier etc.

mail.log

Mar 23 17:31:09 85-31-186-121 postfix/local[2950]: warning: valid_hostname: numeric hostname: 85-31-186-121
Mar 23 17:31:09 85-31-186-121 postfix/local[2950]: fatal: unable to use my own hostname
Mar 23 17:31:09 85-31-186-121 postfix/smtpd[2942]: disconnect from mail.gmx.net[213.165.64.20]
Mar 23 17:31:10 85-31-186-121 postfix/qmgr[2748]: warning: premature end-of-input on private/local socket while reading input attribute name
Mar 23 17:31:10 85-31-186-121 postfix/qmgr[2748]: warning: private/local socket: malformed response
Mar 23 17:31:10 85-31-186-121 postfix/qmgr[2748]: warning: transport local failure -- see a previous warning/fatal/panic logfile record for the problem description
Mar 23 17:31:10 85-31-186-121 postfix/master[2741]: warning: process /usr/lib/postfix/local pid 2950 exit status 1
Mar 23 17:31:10 85-31-186-121 postfix/master[2741]: warning: /usr/lib/postfix/local: bad command startup -- throttling
Mar 23 17:31:10 85-31-186-121 postfix/qmgr[2748]: AD16A5628900: to=<nice2p1@www.nsh-admin.de>, orig_to=<info@nice-serverhost.de>, relay=none, delay=1.1, delays=0.12/1/0/0, dsn=4.3.0, status=deferred (unknown mail transport error)



mail.warn

Mar 23 17:24:22 85-31-186-121 postfix/local[2761]: warning: valid_hostname: numeric hostname: 85-31-186-121
Mar 23 17:24:22 85-31-186-121 postfix/local[2761]: fatal: unable to use my own hostname
Mar 23 17:24:23 85-31-186-121 postfix/qmgr[2748]: warning: premature end-of-input on private/local socket while reading input attribute name
Mar 23 17:24:23 85-31-186-121 postfix/qmgr[2748]: warning: private/local socket: malformed response
Mar 23 17:24:23 85-31-186-121 postfix/qmgr[2748]: warning: transport local failure -- see a previous warning/fatal/panic logfile record for the problem description
Mar 23 17:24:23 85-31-186-121 postfix/master[2741]: warning: process /usr/lib/postfix/local pid 2761 exit status 1
Mar 23 17:24:23 85-31-186-121 postfix/master[2741]: warning: /usr/lib/postfix/local: bad command startup -- throttling
Mar 23 17:29:50 85-31-186-121 postfix/smtpd[2942]: warning: 77.31.89.19: hostname 77.31.89.19.dynamic.saudi.net.sa verification failed: Name or service not known
Mar 23 17:31:09 85-31-186-121 postfix/local[2950]: warning: valid_hostname: numeric hostname: 85-31-186-121
Mar 23 17:31:09 85-31-186-121 postfix/local[2950]: fatal: unable to use my own hostname
Mar 23 17:31:10 85-31-186-121 postfix/qmgr[2748]: warning: premature end-of-input on private/local socket while reading input attribute name
Mar 23 17:31:10 85-31-186-121 postfix/qmgr[2748]: warning: private/local socket: malformed response
Mar 23 17:31:10 85-31-186-121 postfix/qmgr[2748]: warning: transport local failure -- see a previous warning/fatal/panic logfile record for the problem description
Mar 23 17:31:10 85-31-186-121 postfix/master[2741]: warning: process /usr/lib/postfix/local pid 2950 exit status 1
Mar 23 17:31:10 85-31-186-121 postfix/master[2741]: warning: /usr/lib/postfix/local: bad command startup -- throttling
Mar 23 17:32:15 85-31-186-121 postfix/smtpd[2942]: warning: 190.27.247.122: hostname corporat190-027192122.sta.etb.net.co verification failed: Name or service not known


master.cf

#
# Postfix master process configuration file. For details on the format
# of the file, see the master(5) manual page (command: "man 5 master").
#
# ================================================== ========================
# service type private unpriv chroot wakeup maxproc command + args
# (yes) (yes) (yes) (never) (100)
# ================================================== ========================
smtp inet n - - - - smtpd
#submission inet n - - - - smtpd
# -o smtpd_enforce_tls=yes
# -o smtpd_sasl_auth_enable=yes
# -o smtpd_client_restrictions=permit_sasl_authenticate d,reject
#smtps inet n - - - - smtpd
# -o smtpd_tls_wrappermode=yes
# -o smtpd_sasl_auth_enable=yes
# -o smtpd_client_restrictions=permit_sasl_authenticate d,reject
#628 inet n - - - - qmqpd
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
# When relaying mail as backup MX, disable fallback_relay to avoid MX loops
relay unix - - - - - smtp
-o fallback_relay=
# -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
showq unix n - - - - showq
error 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
#
# ================================================== ==================
# Interfaces to non-Postfix software. Be sure to examine the manual
# pages of the non-Postfix software to find out what options it wants.
#
# Many of the following services use the Postfix pipe(8) delivery
# agent. See the pipe(8) man page for information about ${recipient}
# and other message envelope options.
# ================================================== ==================
#
# maildrop. See the Postfix MAILDROP_README file for details.
# Also specify in main.cf: maildrop_destination_recipient_limit=1
#
maildrop unix - n n - - pipe
flags=DRhu user=vmail argv=/usr/bin/maildrop -d ${recipient}
#
# See the Postfix UUCP_README file for configuration details.
#
uucp unix - n n - - pipe
flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
#
# Other external delivery methods.
#
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}




main.cf

# See /usr/share/postfix/main.cf.dist for a commented, more complete version


# Debian specific: Specifying a file name will cause the first
# line of that file to be used as the name. The Debian default
# is /etc/mailname.
#myorigin = /etc/mailname

smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
biff = no

# appending .domain is the MUA's job.
append_dot_mydomain = no

# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h

# TLS parameters
smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
smtpd_use_tls = yes
smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache

# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
# information on enabling SSL in the smtp client.

myhostname = www.nsh-admin.de
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = $myhostname, $mydomain, localhost.$mydomain, localhost
relayhost =
mynetworks = 127.0.0.0/8
mailbox_command =
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
inet_protocols = all
smtpd_sasl_local_domain =
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject _unauth_destination
smtpd_tls_auth_only = no
smtp_use_tls = yes
smtp_tls_note_starttls_offer = yes
smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
tls_random_source = dev:/dev/urandom
home_mailbox = Maildir/

### PARALLELS CONFIXX POSTFIX ENTRY ###

virtual_maps = hash:/etc/postfix/confixx_virtualUsers, hash:/etc/postfix/confixx_localDomains

### /PARALLELS CONFIXX POSTFIX ENTRY ###



/etc/hosts

127.0.0.1 localhost
85.31.186.121 autoinstall.blue.kundencontroller.de autoinstall

# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts

honkstar
23.03.10, 18:51
Trag doch ein mal den richtigen Hostname unter
myhostname = ein.
Der lautet imho aktuell
ping nsh-admin.de
PING nsh-admin.de (85.31.186.121) 56(84) bytes of data.
64 bytes from 85-31-186-121.blue.kundencontroller.de (85.31.186.121): icmp_seq=1 ttl=55 time=85.1 ms

recon88
23.03.10, 20:37
Nun das hier

mail.log

Mar 23 20:36:00 85-31-186-121 postfix/smtpd[3802]: connect from mail.gmx.net[213.165.64.20]
Mar 23 20:36:00 85-31-186-121 postfix/smtpd[3802]: ADF005628132: client=mail.gmx.net[213.165.64.20]
Mar 23 20:36:00 85-31-186-121 postfix/cleanup[3806]: ADF005628132: message-id=<F959302411884CEC86800E79CAFC68E4@reiterpc>
Mar 23 20:36:00 85-31-186-121 postfix/qmgr[3786]: ADF005628132: from=<trade_free@gmx.de>, size=1787, nrcpt=1 (queue active)
Mar 23 20:36:00 85-31-186-121 postfix/smtp[3807]: ADF005628132: to=<nice2p1@www.nsh-admin.de>, orig_to=<info@nice-serverhost.de>, relay=none, delay=0.12, delays=0.12/0.01/0/0, dsn=5.4.6, status=bounced (mail for www.nsh-admin.de loops back to myself)
Mar 23 20:36:00 85-31-186-121 postfix/smtpd[3802]: disconnect from mail.gmx.net[213.165.64.20]
Mar 23 20:36:00 85-31-186-121 postfix/cleanup[3806]: C9BA756288F6: message-id=<20100323193600.C9BA756288F6@85-31-186-121.blue.kundencontroller.de>
Mar 23 20:36:00 85-31-186-121 postfix/qmgr[3786]: C9BA756288F6: from=<>, size=3842, nrcpt=1 (queue active)
Mar 23 20:36:00 85-31-186-121 postfix/bounce[3808]: ADF005628132: sender non-delivery notification: C9BA756288F6
Mar 23 20:36:00 85-31-186-121 postfix/qmgr[3786]: ADF005628132: removed


mail.warn ist leer




EDIT:

Fehler gelöst:
Hostname geändert (keine zahlen mehr)
Reverse DNS Eintrag geändert
Configs neu angepasst an die neuen einträge

Fertig :P

Scheint wohl ein gängiges Problem zu sein bei euserv, das die "xx-xx-xx-xx.blue.kundenblabla" nicht richtig gehen