[Postfixbuch-users] ... public/lmtp], delay=61906, delays=61600/0.16/305/0, dsn=4.4.2, status=deferred (conversation with mailhost1.abaqus.de[public/lmtp] timed out while receiving the initial server greeting)
KNOPS Manfred
Manfred.KNOPS at 3ds.com
Mi Mär 3 10:20:55 CET 2010
Hallo zusammen,
Ich wende mich das erste Mal an die Liste, mit dem obigen Problem.
Ich habe mit openSuSE 11.2 einen Mailserver aufgesetzt.
Der Mailserver ist virtualisiert in einem VMWare Server.
Der Server besteht aus der folgenden Kombination:
- Postfix als MTA
- Amavisd-new
- Cyrus-imapd als MUA
- Openldap2 zur Verwaltung der Userdaten und Aliastabellen.
Diesen Server in gleicher Kombination habe ich schon seit langem im Einsatz auf einer realen Maschine. Diese soll nun ersetzt werden durch eine virtuelle Maschine.
Den Server habe ich aufgesetzt, mit Hilfe des Postfix-Buches, und getestet soweit ich es konnte. Er hatte funktioniert. Ich konnte intern eine Mail einsenden. Diese wurde in mein Postfach eingeliefert.
Gestern nun habe ich den Switch vorgenommen. Ich habe also die Maildaten der User transferiert. Den realen Server vom Netz genommen und dem virtuellen Server die IP-Adresse des realen Servers gegeben.
Dann trafen die ersten Mails, von aussen, ein und ich erhielt die oben genannte Fehlermeldung. Hier der Header einer Mail die ich mir ueber einen freenet Account selber zugeschickt habe.
Return-Path: <manfred.knops at freenet.de>
Received: from localhost (localhost [127.0.0.1])
by mailhost1.abaqus.de (Postfix) with ESMTP id AA54E23D19
for <knops at abaqus.de>; Tue, 2 Mar 2010 13:20:17 +0100 (CET)
X-Virus-Scanned: amavisd-new at abaqus.de
Received: from mailhost1.abaqus.de ([127.0.0.1])
by localhost (mailhost1.abaqus.de [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id XalnEvltr7bE for <knops at abaqus.de>;
Tue, 2 Mar 2010 13:20:05 +0100 (CET)
Received: from cluster-b.mailcontrol.com (cluster-b.mailcontrol.com [85.115.56.190])
by mailhost1.abaqus.de (Postfix) with ESMTP id B866623CDC
for <knops at abaqus.de>; Tue, 2 Mar 2010 13:20:04 +0100 (CET)
Received: from mout3.freenet.de (mout3.freenet.de [195.4.92.93])
by rly32b.srv.mailcontrol.com (MailControl) with ESMTP id o22CK2x6003440
(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO)
for <knops at abaqus.de>; Tue, 2 Mar 2010 12:20:03 GMT
Received: from [195.4.92.26] (helo=16.mx.freenet.de)
by mout3.freenet.de with esmtpa (ID manfred.knops at freenet.de) (port 25) (Exim 4.72 #1)
id 1NmR50-00081i-El
for knops at abaqus.de; Tue, 02 Mar 2010 13:20:02 +0100
Received: from [XXX.XXX.XXX.XXX]
by 16.mx.freenet.de with esmtpsa (ID manfred.knops at freenet.de) (TLSv1:AES256-SHA:256) (port 587) (Exim 4.72 #2)
id 1NmR50-0003zZ-9x
for knops at abaqus.de; Tue, 02 Mar 2010 13:20:02 +0100
From: Manfred Knops <manfred.knops at freenet.de>
To: knops at abaqus.de
Subject: Testmail von aussen
Date: Tue, 2 Mar 2010 13:20:01 +0100
Demnach ist die Mail von Postfix angenommen worden, an amavisd weitergeleitet worden und von dort wieder zurueck gekommen.
Der naechste Schritt waere dann dass Postfix die Mail per lmtp an cyrus weitergibt. Und eben dieses scheint nicht zu funktionieren und die Mails gehen in die Queue.
Dafuer bekomme ich in /var/log/mail folgende Eintraege:
- Mar 2 15:49:17 mailhost1 postfix/lmtp[2681]: 2C0C023CDD: to=<info at abaqus.de>, relay=none, delay=9418, delays=9416/0.59/0.85/0, dsn=4.4.1, status=deferred (connect to mailhost1.abaqus.de[public/lmtp]: Connection refused)
- Mar 3 09:02:04 mailhost1 postfix/lmtp[1624]: 4FEFB23E1B: to=<info at abaqus.de>, relay=mailhost1.abaqus.de[public/lmtp], delay=70093, delays=69757/0.49/336/0, dsn=4.4.2, status=deferred (conversation with mailhost1.abaqus.de[public/lmtp] timed out while receiving the initial server greeting)
Die Konfiguration habe nun schon mehrmals ueberprueft, finde jedoch keinen Fehler. Hier die Daten.
mailhost1:/etc # egrep -v '#|^$' cyrus.conf
START {
recover cmd="ctl_cyrusdb -r"
idled cmd="idled"
}
SERVICES {
imap cmd="imapd" listen="imap" prefork=0
pop3 cmd="pop3d" listen="pop3" prefork=0
sieve cmd="timsieved" listen="sieve" prefork=0
lmtpunix cmd="lmtpd" listen="/var/spool/postfix/public/lmtp" prefork=1
}
EVENTS {
checkpoint cmd="ctl_cyrusdb -c" period=30
delprune cmd="cyr_expire -E 3" at=0400
tlsprune cmd="tls_prune" at=0400
}
mailhostmailhost1:/etc/postfix #
mailhostmailhost1:/etc/postfix #
mailhost1:/etc/sysconfig # egrep -v '^#|^$' postfix
POSTFIX_RELAYHOST=""
POSTFIX_LISTEN=""
POSTFIX_INET_PROTO=""
POSTFIX_MYHOSTNAME=""
POSTFIX_MASQUERADE_DOMAIN=""
POSTFIX_LOCALDOMAINS=""
POSTFIX_NULLCLIENT="no"
POSTFIX_DIALUP="no"
POSTFIX_NODNS="no"
POSTFIX_CHROOT="yes"
POSTFIX_UPDATE_CHROOT_JAIL="yes"
POSTFIX_WITH_MYSQL="no"
POSTFIX_LAPTOP="no"
POSTFIX_UPDATE_MAPS="yes"
POSTFIX_MAP_LIST="virtual transport access canonical sender_canonical relocated sasl_passwd:600 relay_ccerts helo_access relay"
POSTFIX_TRANSPORT_MAPS=""
POSTFIX_RBL_HOSTS=""
POSTFIX_BASIC_SPAM_PREVENTION="off"
POSTFIX_SMTPD_CLIENT_RESTRICTIONS=""
POSTFIX_SMTPD_HELO_RESTRICTIONS=""
POSTFIX_SMTPD_SENDER_RESTRICTIONS=""
POSTFIX_SMTPD_RECIPIENT_RESTRICTIONS=""
POSTFIX_MDA="local"
POSTFIX_SMTP_AUTH_SERVER="no"
POSTFIX_SMTP_AUTH="no"
POSTFIX_SMTP_AUTH_OPTIONS=""
POSTFIX_SMTP_TLS_SERVER="no"
POSTFIX_SMTP_TLS_SERVER_LEGACY_SUPPORT="no"
POSTFIX_SMTP_TLS_CLIENT="no"
POSTFIX_SSL_PATH="/etc/postfix/ssl"
POSTFIX_TLS_CAFILE="cacert.pem"
POSTFIX_TLS_CERTFILE="certs/postfixcert.pem"
POSTFIX_TLS_KEYFILE="certs/postfixkey.pem"
POSTFIX_SSL_COUNTRY="XX"
POSTFIX_SSL_STATE="Some state"
POSTFIX_SSL_LOCALITY="Some locality"
POSTFIX_SSL_ORGANIZATION="Some Organization"
POSTFIX_SSL_ORGANIZATIONAL_UNIT="Some Organizational Unit"
POSTFIX_SSL_COMMON_NAME="A common name"
POSTFIX_SSL_EMAIL_ADDRESS="postmaster"
POSTFIX_ADD_MAILBOX_SIZE_LIMIT="0"
POSTFIX_ADD_MESSAGE_SIZE_LIMIT="0"
POSTFIX_REGISTER_SLP="yes"
POSTFIX_ADD_MYNETWORKS_STYLE="subnet"
mailhost1:/etc/sysconfig #
mailhost1:/etc/sysconfig #
mailhostmailhost1:/etc/postfix # egrep -v '^#|^$' main.cf
queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/lib/postfix
data_directory = /var/lib/postfix
mail_owner = postfix
myhostname = mailhost1.abaqus.de
myorigin = $myhostname
inet_interfaces = all
proxy_interfaces = 172.17.131.4, 172.17.131.253, 172.17.131.254
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
unknown_local_recipient_reject_code = 550
mynetworks = 172.17.130.0/24, 172.17.131.0/24, 172.17.134.0/24, 127.0.0.0/8, 213.69.13.12
relay_domains = $mydestination, hash:/etc/postfix/relay
home_mailbox = Maildir/
mailbox_transport = lmtp:unix:public/lmtp
smtpd_banner = $myhostname ESMTP
debug_peer_level = 2
debugger_command =
PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
ddd $daemon_directory/$process_name $process_id & sleep 5
sendmail_path = /usr/sbin/sendmail
newaliases_path = /usr/bin/newaliases
mailq_path = /usr/bin/mailq
setgid_group = maildrop
html_directory = /usr/share/doc/packages/postfix-doc/html
manpage_directory = /usr/share/man
sample_directory = /usr/share/doc/packages/postfix-doc/samples
readme_directory = /usr/share/doc/packages/postfix-doc/README_FILES
virtual_alias_maps = hash:/etc/postfix/virtual, ldap:/etc/postfix/ldap-virtual.cf
relay_domains = $mydestination, hash:/etc/postfix/relay
inet_protocols = all
biff = no
mail_spool_directory = /var/mail
canonical_maps = hash:/etc/postfix/canonical
virtual_alias_domains = hash:/etc/postfix/virtual
relocated_maps = hash:/etc/postfix/relocated, ldap:/etc/postfix/ldap-relocated.cf
transport_maps = hash:/etc/postfix/transport
sender_canonical_maps = hash:/etc/postfix/sender_canonical
masquerade_exceptions = root
masquerade_classes = envelope_sender, header_sender, header_recipient
delay_warning_time = 1h
message_strip_characters = \0
program_directory = /usr/lib/postfix
disable_dns_lookups = no
content_filter = smtp-amavis:[127.0.0.1]:10024
strict_8bitmime = no
disable_mime_output_conversion = no
smtpd_client_restrictions =
reject_unauth_pipelining,
permit_mynetworks,
permit
smtpd_helo_restrictions =
reject_unauth_pipelining,
reject_unknown_hostname,
reject_non_fqdn_hostname,
permit_mynetworks,
permit
smtpd_sender_restrictions =
reject_unauth_pipelining,
reject_unknown_sender_domain,
reject_non_fqdn_sender,
permit_mynetworks,
permit
smtpd_recipient_restrictions =
reject_unauth_pipelining,
reject_unknown_recipient_domain,
reject_non_fqdn_recipient,
permit_mynetworks,
reject_unauth_destination,
permit
smtpd_helo_required = yes
strict_rfc821_envelopes = no
smtp_sasl_auth_enable = no
smtpd_sasl_auth_enable = no
smtpd_use_tls = no
smtp_use_tls = no
alias_maps = hash:/etc/aliases, ldap:/etc/postfix/ldap-aliases.cf
mailbox_size_limit = 0
message_size_limit = 0
body_checks = regexp:/etc/postfix/body_checks
header_checks = regexp:/etc/postfix/header_checks
mailhost1:/etc/postfix #
mailhostmailhost1:/etc/postfix #
mailhostmailhost1:/etc/postfix #
mailhost1:/etc/postfix # egrep -v '^#|^$' master.cf
smtp inet n - n - - smtpd
smtp-amavis unix - - n - 2 smtp
-o smtp_data_done_timeout=1200
-o smtp_send_xforward_command=yes
-o disable_dns_lookups=yes
-o max_use=20
pickup fifo n - n 60 1 pickup
cleanup unix n - n - 0 cleanup
qmgr fifo n - n 300 1 qmgr
rewrite unix - - n - - trivial-rewrite
bounce unix - - n - 0 bounce
defer unix - - n - 0 bounce
trace unix - - n - 0 bounce
verify unix - - n - 1 verify
flush unix n - n 1000? 0 flush
proxymap unix - - n - - proxymap
smtp unix - - n - - smtp
relay unix - - n - - smtp
-o fallback_relay=
showq unix n - n - - showq
error unix - - n - - error
discard unix - - n - - discard
local unix - n n - - local
virtual unix - n n - - virtual
lmtp unix - - n - - lmtp -D
anvil unix - - n - 1 anvil
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_address_mappings
-o local_header_rewrite_clients=
scache unix - - n - 1 scache
maildrop unix - n n - - pipe
flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient}
cyrus unix - n n - - pipe
user=cyrus argv=/usr/lib/cyrus/bin/deliver -e -r ${sender} -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=foo argv=/usr/local/sbin/bsmtp -f $sender $nexthop $recipient
procmail unix - n n - - pipe
flags=R user=nobody argv=/usr/bin/procmail -t -m /etc/procmailrc ${sender} ${recipient}
retry unix - - n - - error
proxywrite unix - - n - 1 proxymap
mailhost1:/etc/postfix #
In master.cf habe ich dem Modul lmtp schon die Option -D mitgegeben, fuer mehr Informationen. Leider geben mir die weiteren Infos aber keine Aufschluss.
mailhost1:/var/log # egrep '^Mar 3' mail | grep lmtp
Mar 3 08:56:28 mailhost1 postfix/lmtp[1537]: running: PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin? ddd /usr/lib/postfix/lmtp 1537 & sleep 5
Mar 3 08:56:33 mailhost1 postfix/lmtp[1581]: running: PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin? ddd /usr/lib/postfix/lmtp 1581 & sleep 5
Mar 3 08:56:38 mailhost1 postfix/lmtp[1585]: running: PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin? ddd /usr/lib/postfix/lmtp 1585 & sleep 5
Mar 3 08:56:43 mailhost1 postfix/lmtp[1599]: running: PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin? ddd /usr/lib/postfix/lmtp 1599 & sleep 5
Mar 3 08:56:49 mailhost1 postfix/lmtp[1603]: running: PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin? ddd /usr/lib/postfix/lmtp 1603 & sleep 5
Mar 3 08:56:54 mailhost1 postfix/lmtp[1609]: running: PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin? ddd /usr/lib/postfix/lmtp 1609 & sleep 5
Mar 3 08:56:59 mailhost1 postfix/lmtp[1624]: running: PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin? ddd /usr/lib/postfix/lmtp 1624 & sleep 5
Mar 3 08:57:04 mailhost1 postfix/lmtp[1640]: running: PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin? ddd /usr/lib/postfix/lmtp 1640 & sleep 5
Mar 3 08:57:09 mailhost1 postfix/lmtp[1648]: running: PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin? ddd /usr/lib/postfix/lmtp 1648 & sleep 5
Mar 3 08:57:14 mailhost1 postfix/lmtp[1652]: running: PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin? ddd /usr/lib/postfix/lmtp 1652 & sleep 5
Mar 3 08:57:19 mailhost1 postfix/lmtp[1664]: running: PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin? ddd /usr/lib/postfix/lmtp 1664 & sleep 5
Mar 3 08:57:24 mailhost1 postfix/lmtp[1668]: running: PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin? ddd /usr/lib/postfix/lmtp 1668 & sleep 5
Mar 3 08:57:29 mailhost1 postfix/lmtp[1675]: running: PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin? ddd /usr/lib/postfix/lmtp 1675 & sleep 5
Mar 3 08:59:52 mailhost1 postfix/lmtp[1776]: running: PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin? ddd /usr/lib/postfix/lmtp 1776 & sleep 5
Mar 3 09:01:33 mailhost1 postfix/lmtp[1537]: 78FD423E1F: to=<XXX at abaqus.de>, relay=mailhost1.abaqus.de[public/lmtp], delay=61906, delays=61600/0.16/305/0, dsn=4.4.2, status=deferred (conversation with mailhost1.abaqus.de[public/lmtp] timed out while receiving the initial server greeting)
Mar 3 09:01:38 mailhost1 postfix/lmtp[1581]: E20FB23CAF: to=< XXX @abaqus.de>, relay=mailhost1.abaqus.de[public/lmtp], delay=71827, delays=71517/0.2/310/0, dsn=4.4.2, status=deferred (conversation with mailhost1.abaqus.de[public/lmtp] timed out while receiving the initial server greeting)
Mar 3 09:01:44 mailhost1 postfix/lmtp[1585]: E9E7E23D15: to=< XXX @abaqus.de>, relay=mailhost1.abaqus.de[public/lmtp], delay=71074, delays=70759/0.27/315/0, dsn=4.4.2, status=deferred (conversation with mailhost1.abaqus.de[public/lmtp] timed out while receiving the initial server greeting)
Mar 3 09:01:49 mailhost1 postfix/lmtp[1599]: 5A6E923D18: to=< XXX @abaqus.de>, relay=mailhost1.abaqus.de[public/lmtp], delay=70933, delays=70612/0.3/320/0, dsn=4.4.2, status=deferred (conversation with mailhost1.abaqus.de[public/lmtp] timed out while receiving the initial server greeting)
Mar 3 09:01:54 mailhost1 postfix/lmtp[1603]: 6970823E1C: to=< XXX @abaqus.de>, relay=mailhost1.abaqus.de[public/lmtp], delay=69992, delays=69666/0.39/325/0, dsn=4.4.2, status=deferred (conversation with mailhost1.abaqus.de[public/lmtp] timed out while receiving the initial server greeting)
Mar 3 09:01:59 mailhost1 postfix/lmtp[1609]: 9352A23E1D: to=< XXX @abaqus.de>, relay=mailhost1.abaqus.de[public/lmtp], delay=69892, delays=69561/0.43/330/0, dsn=4.4.2, status=deferred (conversation with mailhost1.abaqus.de[public/lmtp] timed out while receiving the initial server greeting)
Mar 3 09:02:04 mailhost1 postfix/lmtp[1624]: 4FEFB23E1B: to=< XXX @abaqus.de>, relay=mailhost1.abaqus.de[public/lmtp], delay=70093, delays=69757/0.49/336/0, dsn=4.4.2, status=deferred (conversation with mailhost1.abaqus.de[public/lmtp] timed out while receiving the initial server greeting)
Mar 3 09:02:09 mailhost1 postfix/lmtp[1640]: 1D36B23E1A: to=< XXX z at abaqus.de>, relay=mailhost1.abaqus.de[public/lmtp], delay=70282, delays=69940/0.55/341/0, dsn=4.4.2, status=deferred (conversation with mailhost1.abaqus.de[public/lmtp] timed out while receiving the initial server greeting)
mailhost1:/var/log #
mailhost1:/var/log #
mailhost1:/etc/sysconfig # ifconfig
eth0 Link encap:Ethernet HWaddr 00:0C:29:9C:3F:A6
inet addr:172.17.131.8 Bcast:172.17.131.255 Mask:255.255.255.0
inet6 addr: fe80::20c:29ff:fe9c:3fa6/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:5950270 errors:4 dropped:5 overruns:0 frame:0
TX packets:6299378 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1621731433 (1546.6 Mb) TX bytes:3007363909 (2868.0 Mb)
Interrupt:19 Base address:0x2000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:98895 errors:0 dropped:0 overruns:0 frame:0
TX packets:98895 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:14875266 (14.1 Mb) TX bytes:14875266 (14.1 Mb)
mailhost1:/etc/sysconfig # host 172.17.131.8
8.131.17.172.in-addr.arpa domain name pointer mailhost1.abaqus.de.
mailhost1:/etc/sysconfig # host 127.0.0.1
1.0.0.127.in-addr.arpa domain name pointer localhost.
mailhost1:/etc/sysconfig #
Mails nach aussen gehen raus. Mails fuer cyrus gehen in die Queue wegen dem lmtp Problem.
Ich habe aktuell keine Idee woran das liegen koennte und hoffe dass mir jemand von Euch helfen kann.
Mit freundlichen Grüßen
Manfred
This email and any attachments are intended solely for the use of the individual or entity to whom it is addressed and may be confidential and/or privileged. If you are not one of the named recipients or have received this email in error, (i) you should not read, disclose, or copy it, (ii) please notify sender of your receipt by reply email and delete this email and all attachments, (iii) Dassault Systemes does not accept or assume any liability or responsibility for any use of or reliance on this email.For other languages, go to http://www.3ds.com/terms/email-disclaimer.
-------------- nächster Teil --------------
Ein Dateianhang mit HTML-Daten wurde abgetrennt...
URL: <https://listi.jpberlin.de/pipermail/postfixbuch-users/attachments/20100303/c5007d90/attachment.html>
Mehr Informationen über die Mailingliste Postfixbuch-users