[Postfixbuch-users] 'kleines' konfigurationsproblem

Andreas Winkelmann ml at awinkelmann.de
Di Jul 3 20:17:17 CEST 2007


On Tuesday 03 July 2007 18:31, Roland M. Kruggel wrote:

> ich drehe mich momentan fürchterlich im Kreis. Ich find es einfach
> nicht. Vllt. könnte mal jemand über diese konfiguration schauen und
> mir ein paar Tips geben.
>
> Postconf -n und Logfiles habe ich beigefügt.
>
> Die Konfiguration:
> ------------------
> Postfix, Amavis, clamav, spamassassin
>
> Die Mails werden per fetchmail von einem 1und1 Konto geholt. Jeder
> user hat bei 1und1 sein eigenes Mailkonto. -- funktioniert
>
> Übergabe an postfix und Einsortierung in die Einzelnen Mailkonton auf
> dem Mailserver -- funktioniert.
>
> jetzt aber:
> Wenn ich amavis aktiviere (default configuration) dann werden die
> eingehenden Mails nicht mehr zugestellt. status=deferred.
>
> Ich stehe hier etwas auf dem Schlauch. :(
>
> postconf -n
> -----------
> alias_database = hash:/etc/aliases
> alias_maps = hash:/etc/aliases
> biff = no
> body_checks = regexp:/etc/postfix/body_checks
> canonical_maps = hash:/etc/postfix/canonical
> command_directory = /usr/sbin
> config_directory = /etc/postfix
> daemon_directory = /usr/lib/postfix
> debug_peer_level = 1
> debug_peer_list =
> disable_dns_lookups = yes
> disable_vrfy_command = yes
> header_checks = regexp:/etc/postfix/header_checks
> helpful_warnings = yes
> home_mailbox = Maildir/
> local_destination_concurrency_limit = 2
> mail_name = Postfix
> mail_owner = postfix
> mailbox_command = /usr/bin/procmail -t -a $EXTENSION
> mailbox_size_limit = 0
> mailq_path = /usr/bin/mailq
> manpage_directory = /usr/share/man
> message_size_limit = 25000000
> mime_header_checks = regexp:/etc/postfix/mime_checks
> mydestination = $myhostname     localhost.
> $mydomain     $mydomain       localhost       klagebach.rutenbeck.de
> mydomain = rutenbeck.de
> myhostname = lxsrv0101.rutenbeck.de
> mynetworks = 192.168.50.0/24, 192.168.51.0/24, 192.168.52.0/24,
> 127.0.0.0/8
> myorigin = $mydomain
> newaliases_path = /usr/sbin/sendmail
> readme_directory = /usr/share/doc/packages/postfix/README_FILES
> recipient_canonical_maps = hash:/etc/postfix/recipient_canonical
> recipient_delimiter = +
> relay_domains = $mydestination
> relayhost = [smtp.1und1.com]
> sample_directory = /etc/postfix
> sender_canonical_maps = pcre:/etc/postfix/sender_canonical
> sendmail_path = /usr/sbin/sendmail
> setgid_group = postdrop
> smtp_sasl_auth_enable = yes
> smtp_sasl_password_maps = hash:/etc/postfix/secret_passwords
> smtp_sasl_security_options = noanonymous
> smtpd_banner = $myhostname ESMTP
> smtpd_client_restrictions =
> smtpd_helo_required = yes
> smtpd_helo_restrictions =
> smtpd_recipient_restrictions = check_sender_access
> hash:/etc/postfix/restricted_senders check_recipient_access
> hash:/etc/postfix/recipient_access       permit_mynetworks       reject_una
>uth_destination       permit  check_relay_domains smtpd_restriction_classes
> = local_only
> smtpd_sender_restrictions =
> hash:/etc/postfix/access    permit_mynetworks       reject_non_fqdn_sender 
> reject_unknown_sender_domain smtpd_use_tls = no
> strict_rfc821_envelopes = yes
> transport_maps = hash:/etc/postfix/transport

Hier wird kein amavis eingebunden. Zeig die master.cf.

> mail.log
> --------
> Jul  3 16:55:27 lxsrv0101 postfix/smtp[7703]: 8E90F407FB:
> to=<rkruggel at bbf7.de>, orig_to=<postmaster>,
> relay=smtp.1und1.com[212.227.15.129]:25, delay=23783,
> delays=23782/0.02/0.91/0.06, dsn=4.0.0, status=deferred (host
> smtp.1und1.com[212.227.15.129] said: 421 dns lookup failed for sender
> domain (in reply to MAIL FROM command))

# grep 8E90F407FB /path/to/mail.log

> Jul  3 16:55:27 lxsrv0101 postfix/smtp[7706]: B56E54083B:
> to=<rkruggel at bbf7.de>, orig_to=<postmaster>,
> relay=smtp.1und1.com[212.227.15.129]:25, delay=22678,
> delays=22677/0.05/0.9/0.06, dsn=4.0.0, status=deferred (host
> smtp.1und1.com[212.227.15.129] said: 421 dns lookup failed for sender
> domain (in reply to MAIL FROM command))

# grep B56E54083B /path/to/mail.log

> Jul  3 16:55:28 lxsrv0101 postfix/smtp[7704]: 8016E4088A:
> to=<rkruggel at bbf7.de>, orig_to=<postmaster>,
> relay=smtp.1und1.com[212.227.15.129]:25, delay=23022,
> delays=23021/0.03/1.1/0.06, dsn=4.0.0, status=deferred (host
> smtp.1und1.com[212.227.15.129] said: 421 dns lookup failed for sender
> domain (in reply to MAIL FROM command))

...

> Jul  3 16:55:31 lxsrv0101 postfix/smtp[7705]: BA3D33FD1D: host
> smtp.1und1.com[212.227.15.145] said: 421 dns lookup failed for sender
> domain (in reply to MAIL FROM command)

...

> Jul  3 16:55:31 lxsrv0101 postfix/smtp[7705]: BA3D33FD1D:
> to=<rkruggel at bbf7.de>, orig_to=<postmaster>,
> relay=smtp.1und1.com[212.227.15.129]:25, delay=23858,
> delays=23854/0.04/4.6/0.06, dsn=4.0.0, status=deferred (host
> smtp.1und1.com[212.227.15.129] said: 421 dns lookup failed for sender
> domain (in reply to MAIL FROM command))

Alle Zeilen sagen das selbe aus. Der empfangende Server mag den Absender 
nicht. Leider fehlt in den Logschnippseln der Absender, daher ist es 
Zeitverschwendung zu mutmassen was alles falsch sein könnte.

> amavis.log
> ----------
> Jul  3 10:30:13 lxsrv0101.rutenbeck.de /usr/sbin/amavisd-new[13727]:
> (13727-01) FWD via SMTP: <rinck at rutenbeck.de> ->
> <schoefer at rutenbeck.de>, 451 4.6.0 Failed, id=13727-01, from
> MTA([127.0.0.1]:10025): 451 4.3.5 Failed, id=13727-01, from
> MTA([127.0.0.1]:10025): 451 4.3.5 Server configuration error

Sieht merkwürdig aus, zeig die Logeinträge von Postfix zu dem Zeitpunkt.

> Jul  3 10:30:13 lxsrv0101.rutenbeck.de /usr/sbin/amavisd-new[13727]:
> (13727-01) Blocked TEMPFAIL, LOCAL [192.168.50.176] [192.168.50.176]
> <rinck at rutenbeck.de> -> <schoefer at rutenbeck.de>, Message-ID:
> <468A0926.4080209 at rutenbeck.de>, mail_id: aXxpRhI+snri,
> Hits: -1.44-15.003, 178 ms
> Jul  3 10:31:00 lxsrv0101.rutenbeck.de /usr/sbin/amavisd-new[13728]:
> (13728-01) mail_via_smtp: DATA skipped, no valid recips, 1
> Jul  3 10:31:00 lxsrv0101.rutenbeck.de /usr/sbin/amavisd-new[13728]:
> (13728-01) FWD via SMTP: <fmtqs at rutenbeck.de> ->
> <wessels at rutenbeck.de>, 451 4.6.0 Failed, id=13728-01, from
> MTA([127.0.0.1]:10025): 451 4.3.5 Failed, id=13728-01, from
> MTA([127.0.0.1]:10025): 451 4.3.5 Server configuration error
> Jul  3 10:31:00 lxsrv0101.rutenbeck.de /usr/sbin/amavisd-new[13728]:
> (13728-01) Blocked TEMPFAIL, LOCAL [192.168.52.120] [192.168.52.120]
> <fmtqs at rutenbeck.de> -> <wessels at rutenbeck.de>, Message-ID:
> <!&!AAAAAAAAAAAYAAAAAAAAALgzCtVCVQ9JmbHe4m1UL4zCgAAAEAAAAE5AiLTWLhhInYuVlTM
>gDTsBAAAAAA==@rutenbeck.de>, mail_id: VqA5n+uZ0x6a, Hits: -1.313-15.003, 295
> ms



-- 
	Andreas



Mehr Informationen über die Mailingliste Postfixbuch-users