• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

Postfix Mailversand mit GMX-Account

Hallo,

beim Versenden von Mails über Postfix mit unserem GMX-Account bekomme wir folgenden Log-Buch Eintrag:

Mail ID Sent From To Size Status
1786EFF78 Tue Jul 22 17:55:08 wwwrun@unsersrv.info noname@gmx.net 736 bytes Host or domain name not found. Name service error for name=gmx.net type=MX: Host not found, try again
Select all. | Invert selection.

Wir arbeiten mit Suse 10.3, anbei unsere Konfiguration.

cu Carsten.

command_directory = /usr/sbin
daemon_directory = /usr/lib/postfix
unknown_local_recipient_reject_code = 550


debug_peer_level = 2
debugger_command =
PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
xxgdb $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/html
manpage_directory = /usr/share/man
sample_directory = /usr/share/doc/packages/postfix/samples
readme_directory = /usr/share/doc/packages/postfix/README_FILES
inet_protocols = all
biff = no
mail_spool_directory = /var/mail
canonical_maps = hash:/etc/postfix/canonical
virtual_alias_maps = hash:/etc/postfix/virtual
virtual_alias_domains = hash:/etc/postfix/virtual
relocated_maps = hash:/etc/postfix/relocated
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
myhostname = wikimail.vestamatic.info
program_directory = /usr/lib/postfix
inet_interfaces = localhost
masquerade_domains =
mydestination = $myhostname,localhost.$mydomain,$mydomain
defer_transports =
disable_dns_lookups = no
mailbox_command =
mailbox_transport =
strict_8bitmime = no
disable_mime_output_conversion = no
smtpd_sender_restrictions = hash:/etc/postfix/access
smtpd_helo_required = yes
strict_rfc821_envelopes = no
smtpd_recipient_restrictions = permit_mynetworks
smtp_sasl_auth_enable = no
smtp_sasl_security_options =
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtpd_sasl_auth_enable = yes
smtp_use_tls = no
alias_maps = hash:/etc/aliases
mailbox_size_limit = 0
message_size_limit = 10240000
allow_untrusted_routing = yes
myorigin = vestamatic.info
broken_sasl_auth_clients = yes
 
Du hast ein DNS Problem, dein Server kann den Mailexchanger von gmx.net nicht ermitteln. GMX hat aber einen entsprechenden Eintrag.

Abgesehen davon, was hast Du eigentlich genau vor. Willst Du Mails zu GMX schicken, oder soll Postfix GMX als Relayhost nehmen, oder ...?
 
Genau das ist unser Problem.
Unsere Zielsetzung ist GMX als Relayhost für ausgehende Mails zu nutzen.

Was können wir tun um den Fehler näher einzugrenzen??

cu Carsten.
 
Auf dem Server den DNS Resolver testen:

Code:
dig -t MX gmx.net

Allerdings habt ihr dann noch mehr Probleme. GMX aktzeptiert keine Mails ohne Username und Passwort. Da müsste als das da:

Code:
smtp_sasl_auth_enable = no

auf "yes" stehen. Das ist aber nicht alles, relayhost bzw. relayhost_maps müssten auch schon noch definiert sein. Außerdem muss noch Adressrewriting stattfinden. GMX akzeptiert keine Mails die beim "mail from:" nicht "username@gmx.irgendwas" stehen haben.
 

moenk

Administrator
Teammitglied
Man kann das alles auch komfortabel über Yast konfigurieren - ausgehender Mailserver mit Name und Passwort, auch die Abholung kann man hier gleich mit konfigurieren.
 
Oben