Hallo ich habe hier im Forum Support gehabt, um meinen Postfix Mailserver zum laufen zu bringen. Das funktionierte auch noch bis gestern.
Ich habe heute meinen Domainnamen in "sulix" geändert und diese Änderung auch in der main.cf eingetragen. Aber das Problem hab ich eigentlich seit dieser Änderung.
Nach absenden einer Mail gibt mir der Befehl: "tail -f /var/log/mail" folgende Fehlermeldung:
--------------------------------------------------------------------------------------------------------------------------------------------
Jun 19 20:16:18 amd2000 postfix/smtp[5390]: D6DE5682DF: to=<gidlicht@gmx.de>, relay=smtp.1und1.de[212.227.15.167], delay=17, status=deferred (host smtp.1und1.de[212.227.15.167] said: 421 dns lookup failed for sender domain (in reply to MAIL FROM command))
--------------------------------------------------------------------------------------------------------------------------------------------
Meine main.cf sieht so aus:
--------------------------------------------------------------------------------------------------------------------------------------------
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
biff = no
mail_spool_directory = /var/mail
canonical_maps = hash:/etc/postfix/canonical
virtual_maps = 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_classes = envelope_sender, header_sender, header_recipient
#so heisst mein Rechner wie bei der Konfiguration der Netzwerkkarte vergeben
myhostname = amd2000
mydomain = sulix
mydestination = $myhostname,$mydomain, localhost, localhost.$mydomain
#Dieser Eintrag deckt den Bereich von 192.168.0.0 - 192.168.0.255,
#also könen jetzt alle Rechner in diesem Bereich Mails ber unseren Server per SMTP senden.
#Sonst bitte an euer Netzwerk anpassen! z.B. 192.168.1.0/24
mynetworks = 192.168.178.20/24, 127.0.0.1/8
smtpd_banner = $myhostname ESMTP
#IP vom Router
proxy_interfaces = 192.168.178.1
program_directory = /usr/lib/postfix
inet_interfaces = all
masquerade_domains = $mydomain
masquerade_exceptions = root
defer_transports =
disable_dns_lookups = yes
#mein smtp Ausgang smtp Server vom Internetdienstanbieter
relayhost = smtp.1und1.de
mailbox_command =
mailbox_transport =
strict_rfc821_envelopes = no
smtp_use_tls = no
smtp_sasl_auth_enable = yes
smtp_sasl_security_options = noanonymous
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtpd_sasl_auth_enable = yes
smtpd_tls_auth_only = no
#smtpd_sender_restrictions = hash:/etc/postfix/access
smtpd_client_restrictions =
smtpd_helo_required = no
smtpd_helo_restrictions =
#Wer darf senden?
smtpd_recipient_restrictions = permit_mynetworks,permit_sasl_authenticated,reject_unauth_destination
smtpd_use_tls = no
broken_sasl_auth_clients = yes
#SMTPD Sicherheit
smtpd_junk_command_limit = 100
smtpd_sasl_security_options = noanonymous
smtpd_sasl_local_domain = $myhostname
smtpd_recipient_limit = 50
smtpd_timeout = 300s
alias_maps = hash:/etc/aliases
bounce_size_limit = 100000
# max. Groesse einer Mail 10MB
message_size_limit = 10000000
# max. Groesse einer Mailqueue 200MB
mailbox_size_limit = 200000000
# 100MB - mindestens freier Plattenplatz
queue_minfree = 100000000
append_dot_mydomain = yes
queue_directory = /var/spool/postfix
mail_owner = postfix
double_bounce_sender = 3394-927@online.de
empty_address_recipient = 3394-927@online.de
relay_domains = $mydestination
relay_domains_reject_code = 554
-------------------------------------------------------------------------------------------------------------------------------------------
Also bin zur Zeit ziemlich ratlos.
Gruß Sid1968
Ich habe heute meinen Domainnamen in "sulix" geändert und diese Änderung auch in der main.cf eingetragen. Aber das Problem hab ich eigentlich seit dieser Änderung.
Nach absenden einer Mail gibt mir der Befehl: "tail -f /var/log/mail" folgende Fehlermeldung:
--------------------------------------------------------------------------------------------------------------------------------------------
Jun 19 20:16:18 amd2000 postfix/smtp[5390]: D6DE5682DF: to=<gidlicht@gmx.de>, relay=smtp.1und1.de[212.227.15.167], delay=17, status=deferred (host smtp.1und1.de[212.227.15.167] said: 421 dns lookup failed for sender domain (in reply to MAIL FROM command))
--------------------------------------------------------------------------------------------------------------------------------------------
Meine main.cf sieht so aus:
--------------------------------------------------------------------------------------------------------------------------------------------
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
biff = no
mail_spool_directory = /var/mail
canonical_maps = hash:/etc/postfix/canonical
virtual_maps = 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_classes = envelope_sender, header_sender, header_recipient
#so heisst mein Rechner wie bei der Konfiguration der Netzwerkkarte vergeben
myhostname = amd2000
mydomain = sulix
mydestination = $myhostname,$mydomain, localhost, localhost.$mydomain
#Dieser Eintrag deckt den Bereich von 192.168.0.0 - 192.168.0.255,
#also könen jetzt alle Rechner in diesem Bereich Mails ber unseren Server per SMTP senden.
#Sonst bitte an euer Netzwerk anpassen! z.B. 192.168.1.0/24
mynetworks = 192.168.178.20/24, 127.0.0.1/8
smtpd_banner = $myhostname ESMTP
#IP vom Router
proxy_interfaces = 192.168.178.1
program_directory = /usr/lib/postfix
inet_interfaces = all
masquerade_domains = $mydomain
masquerade_exceptions = root
defer_transports =
disable_dns_lookups = yes
#mein smtp Ausgang smtp Server vom Internetdienstanbieter
relayhost = smtp.1und1.de
mailbox_command =
mailbox_transport =
strict_rfc821_envelopes = no
smtp_use_tls = no
smtp_sasl_auth_enable = yes
smtp_sasl_security_options = noanonymous
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtpd_sasl_auth_enable = yes
smtpd_tls_auth_only = no
#smtpd_sender_restrictions = hash:/etc/postfix/access
smtpd_client_restrictions =
smtpd_helo_required = no
smtpd_helo_restrictions =
#Wer darf senden?
smtpd_recipient_restrictions = permit_mynetworks,permit_sasl_authenticated,reject_unauth_destination
smtpd_use_tls = no
broken_sasl_auth_clients = yes
#SMTPD Sicherheit
smtpd_junk_command_limit = 100
smtpd_sasl_security_options = noanonymous
smtpd_sasl_local_domain = $myhostname
smtpd_recipient_limit = 50
smtpd_timeout = 300s
alias_maps = hash:/etc/aliases
bounce_size_limit = 100000
# max. Groesse einer Mail 10MB
message_size_limit = 10000000
# max. Groesse einer Mailqueue 200MB
mailbox_size_limit = 200000000
# 100MB - mindestens freier Plattenplatz
queue_minfree = 100000000
append_dot_mydomain = yes
queue_directory = /var/spool/postfix
mail_owner = postfix
double_bounce_sender = 3394-927@online.de
empty_address_recipient = 3394-927@online.de
relay_domains = $mydestination
relay_domains_reject_code = 554
-------------------------------------------------------------------------------------------------------------------------------------------
Also bin zur Zeit ziemlich ratlos.
Gruß Sid1968