Dobrý den, Omlouvám se za mírný OT, ale potřeboval bych drobné nakopnutí. "Hraji" si s postfixem a mám problém s odesíláním emailů na externí domény. Takže mám ve VM nainstalovaný systém, na něm funkční postfix. Dále mám v systému vlastní dns server, který má jednu zónu "test.cz" (vím, že v internetu test.cz existuje, ale pro moje pokusy by to nemělo vadit). V lokální zóně test.cz jsou vytvořeny základní záznamy A server.test.cz, MX server.test.cz, NS server.test.cz. DNS má nastavený forwarding na reálný a funkční DNS server (překlady probíhají OK) Všechno vypadá funkčně (tedy ping do internetu třeba na www.seznam.cz probíhá OK), odesílání mailů postfixem lokálně vypadá OK, ale v okamžiku, kdy chci odeslat email do existující internetové domény, dostávám chybové hlášení "Diagnostic-Code: X-Postfix; epark.cz: Name or service not known". Jako by smtp klient postfixu nemohl najít mx záznam pro cílovou doménu. Ovšem, pokud postfixu nastavím přenos do domény epark.cz "natvrdo" pošta normálně projde. Ping na epark.cz je OK, dig epark.cz mx je ok. Má někdo prosím nápad, kam se podívat?
Díky RaT
alias_maps = hash:/etc/aliases, ldap:/etc/postfix/ldapalias_maps_member.cf, ldap:/etc/postfix/ldapalias_maps.cf append_dot_mydomain = no biff = no canonical_maps = hash:/etc/postfix/canonical command_directory = /usr/sbin config_directory = /etc/postfix daemon_directory = /usr/lib/postfix debug_peer_list = test.cz defer_transports = disable_dns_lookups = yes disable_mime_output_conversion = no home_mailbox = html_directory = /usr/share/doc/packages/postfix/html inet_interfaces = all inet_protocols = all local_recipient_maps = $alias_maps, ldap:/etc/postfix/ldaplocal_recipient_maps.cf mail_spool_directory = /var/spool/mail mailbox_command = mailbox_size_limit = 0 mailbox_transport = mailq_path = /usr/bin/mailq manpage_directory = /usr/share/man masquerade_classes = envelope_sender, header_sender, header_recipient masquerade_domains = ldap:/etc/postfix/ldapmasquerade_domains.cf masquerade_exceptions = root message_size_limit = 10240000 mydestination = $myhostname, localhost.$mydomain, $mydomain, ldap:/etc/postfix/ldapmydestination.cf myhostname = sles.test.cz mynetworks = 127.0.0.0/8, 10.221.34.0/24, [::1]/128, [fe80::]/64 myorigin = test.cz newaliases_path = /usr/bin/newaliases readme_directory = /usr/share/doc/packages/postfix/README_FILES relocated_maps = hash:/etc/postfix/relocated sample_directory = /usr/share/doc/packages/postfix/samples sender_canonical_maps = hash:/etc/postfix/sender_canonical sendmail_path = /usr/sbin/sendmail setgid_group = maildrop smtp_enforce_tls = no smtp_sasl_auth_enable = no smtp_sasl_security_options = noanonymous smtp_tls_enforce_peername = no smtp_tls_per_site = smtp_use_tls = no smtpd_banner = $myhostname ESMTP $mail_name smtpd_client_restrictions = ldap:/etc/postfix/ldapaccess.cf smtpd_helo_required = no smtpd_helo_restrictions = smtpd_recipient_restrictions = permit_auth_destination, permit_mynetworks, reject_unauth_destination, reject smtpd_sasl_auth_enable = no smtpd_sender_restrictions = ldap:/etc/postfix/ldapaccess.cf smtpd_tls_CApath = /etc/ssl/certs smtpd_tls_auth_only = no smtpd_tls_cert_file = /etc/ssl/servercerts/servercert.pem smtpd_tls_key_file = /etc/ssl/servercerts/serverkey.pem smtpd_use_tls = yes strict_8bitmime = no strict_rfc821_envelopes = no swap_bangpath = no transport_maps = unknown_local_recipient_reject_code = 550 virtual_alias_domains = hash:/etc/postfix/virtual virtual_alias_maps = ldap:/etc/postfix/ldapvirtual_alias_maps.cf, ldap:/etc/postfix/ldaplocal_recipient_maps.cf
-- FreeBSD mailing list ([email protected]) http://www.freebsd.cz/listserv/listinfo/users-l
