PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Postfix: connect to transport relay: Connection refused



Triob
16.05.05, 11:02
Hallo,
meine mail.log's sind voll von dieser Warnung:


May 16 10:38:24 localhost postfix/qmgr[3991]: warning: connect to transport relay: Connection refused

Trotzdem werden alle Mails richtig zugestellt und empfangen.

Leider weiß ich überhaupt nicht wo ich anfangen könnte nach dem Fehler zu suchen.

Hier sind die Konfigurationsdateien:
main.cf


myhostname = mail.foo.de
mydomain = foo.de

#Weitere Domains nicht hier eingeben sondern in der Virtuals Table
mydestination = $myhostname, $mydomain, localhost, localhost.$mydomain

relay_domains = $mydestination

inet_interfaces = all
mynetworks = 127.0.0.0/8
mail_owner = postfix
smtp_banner = $myhostname ESMTP

#Procmail als MDA
mailbox_command = /usr/bin/procmail -p -t

#Die einzelnen Tabellen
alias_maps = hash:/etc/aliases
virtual_maps = hash:/etc/postfix/virtual

#Received Header entfernen
header_checks = regexp:/etc/postfix/header_checks

smtpd_helo_required = yes
#Restrictions, Einige Regeln gegen Spam,..
smtpd_recipient_restrictions =
# Client muss auf Antworten von meinem Server warten
reject_unauth_pipelining,
#Blockt Hostnamen mit ungültiger Syntax
reject_invalid_hostname,
#Die Absendeadresse muss erreichbar sein (DNS Eintrag haben)
#reject_unknown_sender_domain,
#Blockt Absendehosts die keine FQDN haben
reject_non_fqdn_sender,

#TLS/SSL Relaying erlauben
permit_sasl_authenticated,

#RBLs
#reject_rbl_client relays.ordb.org,
#reject_rbl_client sbl-xbl.spamhaus.org,

#Lehnt Mails ab für die ich nicht zuständig bin
reject_unauth_destination

#SMTP-AUTH einschalten
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous

#TLS fuer smtpd aktivieren
smtpd_use_tls = yes
smtpd_tls_received_header = no

smtpd_tls_key_file = /etc/ssl/private/mailserver.pem
smtpd_tls_cert_file = /etc/ssl/certs/mailserver.pem
smtpd_tls_CAfile = /etc/ssl/demoCA/cacert.pem

#TLS fuer smtp aktivieren
smtp_use_tls = yes
smtp_tls_key_file = /etc/ssl/private/mailserver.pem
smtp_tls_cert_file = /etc/ssl/certs/mailserver.pem
smtp_tls_CAfile = /etc/ssl/demoCA/cacert.pem

#Einliefern von mails nur noch per TLS erlauben
smtpd_tls_auth_only = yes

#Pfade
daemon_directory = /usr/lib/postfix
command_directory = /usr/sbin
program_directory = /usr/lib/postfix


master.cf


# ================================================== ========================
# service type private unpriv chroot wakeup maxproc command + args
# (yes) (yes) (yes) (never) (50)
# ================================================== ========================
smtp inet n - - - - smtpd
#628 inet n - - - - qmqpd
pickup fifo n - - 60 1 pickup
cleanup unix n - - - 0 cleanup
qmgr fifo n - - 300 1 qmgr
#qmgr fifo n - - 300 1 nqmgr
rewrite unix - - - - - trivial-rewrite
bounce unix - - - - 0 bounce
defer unix - - - - 0 bounce
flush unix n - - 1000? 0 flush
smtp unix - - - - - smtp
showq unix n - - - - showq
error unix - - - - - error
local unix - n n - - local
virtual unix - n n - - virtual
lmtp unix - - n - - lmtp

#
# Interfaces to non-Postfix software. Be sure to examine the manual
# pages of the non-Postfix software to find out what options it wants.
# The Cyrus deliver program has changed incompatibly.
#
cyrus unix - n n - - pipe
flags=R user=cyrus argv=/usr/sbin/cyrdeliver -e -m ${extension} ${user}
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 -d -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}

# only used by postfix-tls
smtps inet n - n - - smtpd -o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes
587 inet n - n - - smtpd -o smtpd_enforce_tls=yes -o smtpd_sasl_auth_enable=yes
proxymap unix - - n - - proxymap
trace unix - - - - 0 bounce
verify unix - - - - 1 verify


Die Postfix Version:


ii postfix 2.1.5-9 A high-performance mail transport agent
ii postfix-pcre 2.1.5-9 PCRE map support for Postfix
ii postfix-tls 2.1.5-9 TLS and SASL support for Postfix