Thread: Postfix no route to host
hello all,
i've installed our new server under ubuntu 11.10. i've installed postfix (according docs https://help.ubuntu.com/community/postfix).
sending emails our server ok of destinations. destinations got "no route host".
i don't know why can't send emails 1 (with our previous server on freebsd, not configured me, went ok). can me ?code:server:~$ mailq -queue id- --size-- ----arrival time---- -sender/recipient------- 0c5f79a390 6592 thu may 3 10:13:52 ****@sender.com (connect asp-mxa.belnet.be[2001:6a8:3c80::155]:25: no route host) ***@receiver.com
!
here commands i've read on french , english ubuntu forums can help.
can ping domain "asp-mxa.belnet.be"
i can connect using telnet on port 25code:server:~$ ping asp-mxa.belnet.be ping asp-mxa.belnet.be (193.190.198.178) 56(84) bytes of data. 64 bytes asp-mxa.belnet.be (193.190.198.178): icmp_req=1 ttl=59 time=7.31 ms 64 bytes asp-mxa.belnet.be (193.190.198.178): icmp_req=2 ttl=59 time=7.46 ms 64 bytes asp-mxa.belnet.be (193.190.198.178): icmp_req=3 ttl=59 time=7.35 ms
here result of command "postconf -n" :code:server:~$ telnet asp-mxa.belnet.be 25 trying 193.190.198.178... connected asp-mxa.belnet.be. escape character '^]'. 220 asp-scan3.belnet.be esmtp canit-appliance helo asp-mxa.belnet.be 250 asp-scan3.belnet.be hello ******.ovh.net [***.**.***.***], pleased meet you
here resolv.conf:code:server:~$ postconf -n alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases append_dot_mydomain = no biff = no broken_sasl_auth_clients = yes config_directory = /etc/postfix home_mailbox = maildir/ inet_interfaces = inet_protocols = mailbox_command = procmail -a "$extension" mailbox_size_limit = 0 mydestination = mail2.****.eu, ****.eu, ****.ovh.net, localhost.ovh.net, localhost myhostname = *****.eu mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 myorigin = /etc/mailname readme_directory = no recipient_delimiter = + relayhost = smtp_tls_note_starttls_offer = yes smtp_tls_security_level = may smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache smtp_use_tls = yes smtpd_banner = $myhostname esmtp $mail_name (ubuntu) smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination smtpd_sasl_auth_enable = yes smtpd_sasl_local_domain = smtpd_sasl_security_options = noanonymous smtpd_tls_cafile = /etc/ssl/certs/cacert.pem smtpd_tls_auth_only = no smtpd_tls_cert_file = /etc/ssl/certs/smtpd.crt smtpd_tls_key_file = /etc/ssl/private/smtpd.key smtpd_tls_loglevel = 1 smtpd_tls_received_header = yes smtpd_tls_security_level = may smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache smtpd_tls_session_cache_timeout = 3600s smtpd_use_tls = yes tls_random_source = dev:/dev/urandom
here tracroute asp-mxa-belnet.becode:server:~$ sudo cat /etc/resolv.conf [sudo] password ****: nameserver 127.0.0.1 nameserver 213.186.33.99 search ovh.net
code:server:~$ sudo traceroute -t -p 25 asp-mxa.belnet.be traceroute asp-mxa.belnet.be (193.190.198.178), 30 hops max, 60 byte packets 1 vss-5a-6k.fr.eu (176.31.245.253) 0.760 ms * * 2 rbx-g2-a9.fr.eu (178.33.100.70) 1.856 ms 1.865 ms 1.861 ms 3 bru-1-6k.be.eu (94.23.122.138) 2.707 ms 2.708 ms 2.702 ms 4 10ge.cr2.brueve.belnet.net (194.53.172.65) 6.442 ms 6.153 ms 6.132 ms 5 10ge.cr1.brueve.belnet.net (193.191.16.21) 6.104 ms 6.119 ms 6.118 ms 6 belnetlan.cr1.brueve.belnet.net (193.191.2.30) 6.358 ms 6.222 ms 6.299 ms 7 asp-mxa.belnet.be (193.190.198.178) 7.270 ms 7.280 ms 7.082 ms
it looks it's using ipv6 address reach host. have no idea why be. fix problem creating entry in /etc/hosts machines ipv4 address.(connect asp-mxa.belnet.be[2001:6a8:3c80::155]:25: no route host)
Forum The Ubuntu Forum Community Ubuntu Specialised Support Ubuntu Servers, Cloud and Juju Server Platforms [ubuntu] Postfix no route to host
Ubuntu
Comments
Post a Comment