Moin,
ich versuche gerade, Postfix auf meinem Server einzurichten. Leider ist kein Mailversand möglich.
Ich poste mail meine /etc/postfix/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 (Ubuntu) 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 readme_directory = no # TLS parameters smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key smtpd_use_tls=yes smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache smtp_tls_session_cache_database = btree:${data_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 = server.local alias_maps = hash:/etc/aliases alias_database = hash:/etc/aliases myorigin = /etc/mailname mydestination = relayhost = smtp.mail.yahoo.de mailbox_command = mailbox_size_limit = 51200000 recipient_delimiter = inet_interfaces = all inet_protocols = ipv4 smtp_sasl_auth_enable = yes # noplaintext weglassen, wenn Passwörter im Klartext übertragen werden müssen: # (nicht empfohlen, nur wenn's anders nicht funktioniert) smtp_sasl_security_options = noplaintext noanonymous smtp_sasl_password_maps = hash:/etc/postfix/sasl_password sender_canonical_maps = hash:/etc/postfix/sender_canonical
Die Datenbanken: sasl_password:
smtp.mail.yahoo.de ''Yahoo!-Login''@yahoo.de:''Passwort''
sender_canonical:
www-data ''Yahoo!-Login''@yahoo.de administrator ''Yahoo!-Login''@yahoo.de
Ich hab dann versucht, eine Mail über mail -s ... zu versenden. Meine /var/log/mail.log sieht so aus:
Aug 17 13:56:44 server postfix/qmgr[29235]: B3065408FB: from=<''Yahoo!-Login''@yahoo.de>, size=317, nrcpt=1 (queue active) Aug 17 13:56:44 server postfix/smtp[29255]: warning: valid_hostname: empty hostname Aug 17 13:56:44 server postfix/smtp[29255]: warning: malformed domain name in resource data of MX record for smtp.mail.yahoo.de: Aug 17 13:56:44 server postfix/smtp[29255]: warning: valid_hostname: empty hostname Aug 17 13:56:44 server postfix/smtp[29255]: warning: malformed domain name in resource data of MX record for smtp2-de.mail.vip.ukl.yahoo.com: Aug 17 13:56:44 server postfix/smtp[29255]: warning: relayhost configuration problem Aug 17 13:56:44 server postfix/smtp[29255]: B3065408FB: to=<''Zieladresse''>, relay=none, delay=567, delays=567/0.01/0.06/0, dsn=4.3.5, status=deferred (Name service error for name=smtp2-de.mail.vip.ukl.yahoo.com type=MX: Malformed or unexpected name server reply)
Ich weiß nicht mehr weiter, kann mir da jemand helfen?
Simon