Hallo
traxanos schrieb:
Du brauchst auf so einem Server keinen eigenen DNS-Server. Es geht mehr darum woher kommt "smtp.msdat.local" Ist das ein interner Name? Sollte das der eigene lokale Emailserver sein (also der mit fetchmail und postfix), musst du die Domain dennoch auflösen. Die Frage ist woher die Domain msdat.local kommt. Ist das ein Name denn du einfach nur für deine Rechner erfunden hast (lokales Netz)? Wenn ja musst du diesen Hostnamen auch in der /etc/hosts eintragen. Zum Beispiel sieht das bei mir so aus.
127.0.0.1 localhost 192.168.10.XXX HOSTNAME HOSTNAME.DOMAIN.lanDer Rest meiner DOMAIN.lan wird dann vom lokalen Router aufgelöst der DNSMasq verwendet.
Hier ist mein hosts Datei inhalt:
127.0.0.1 localhost 192.168.25.2 lhsrv lhsrv.msdat.local # The following lines are desirable for IPv6 capable hosts ::1 ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters ff02::3 ip6-allhosts
und hier die 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/postfix.pem smtpd_tls_key_file = /etc/ssl/private/postfix.pem 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 = lhsrv.msdat.local #alias_maps = hash:/etc/aliases #alias_database = hash:/etc/aliases myorigin = /etc/mailname mydestination = lhsrv.msdat.local, localhost.msdat.local, localhost relayhost = msdat.local mynetworks = 192.168.25.0/24 mailbox_size_limit = 0 recipient_delimiter = + inet_interfaces = all virtual_mailbox_domains = mysql:/etc/postfix/mysql-virtual-mailbox-domains.cf virtual_mailbox_maps = mysql:/etc/postfix/mysql-virtual-mailbox-maps.cf virtual_alias_maps = mysql:/etc/postfix/mysql-virtual-alias-maps.cf,mysql:/etc/postfix/mysql-email2email.cf virtual_transport = dovecot dovecot_destination_recipient_limit = 1 smtpd_sasl_type = dovecot smtpd_sasl_path = private/auth smtpd_sasl_auth_enable = yes smtpd_recipient_restrictions = permit_mynetworks,permit_sasl_authenticated,reject_unauth_destination smtpd_tls_auth_only = yes content_filter = smtp-amavis:[127.0.0.1]:10024 receive_override_options = no_address_mappings
Da stand unter relayhost smtp.msdat.local das habe ich dann in msdat.local das geht aber auch nicht. Wenn ich es in lhsrv.msdat.local meckert der Postfix das die nicht identisch mit mydestination sein darf.
traxanos schrieb:
Nochwas aber die Empfängeradresse (also die vom POP3) ist dem Postfix auch bekannt. Entwerden über mydestination + aliases oder über virtual
Ja den Postfix muss der Empfänger bekannt sein. Wie gesagt erstaunlicher weise funktioniert es mit dem GMX Postfächern ohne Probleme nur mit dem Postfächern die auf diesen Root Server liegen geht es nicht.
Gruß
Sebastian