muquit / mailsend

A program to send mail via SMTP from command line
Other
295 stars 68 forks source link

[getaddrinfo][ipv6]Issue about uClibc 0.9.30.2 and mailsend1.17 code #34

Closed muquit closed 10 years ago

muquit commented 10 years ago

From peter....@3spocketnet.com.tw on November 26, 2013 02:44:07

What steps will reproduce the problem? 1. Porting mailsend in the uClibc 0.9.30.2 environment.(ipv6 address will be returned first.)

  1. Device can't connect to IPV6 address.
  2. mailsend ver.1.17b14. What is the expected output? What do you see instead? For example, when entering: (mailsend -v -info -smtp smtp.gmail.com -port 587), it returns one ipv6 address and several ipv4 addresses back. If device failed to connect to first address(ipv6) returned, connection will fail to the rest of returned addresses(ipv4). What version of the product are you using? On what operating system? mailsend ver.1.17b14. Embedded Linux(on armv7). Please provide any additional information below. Problem solved: [mailsend/libs/libmsock/msock.c : clientSocket()] 366c366

    < rc = connect(sock_fd, res->ai_addr, res->ai_addrlen);

        rc = connect(sock_fd, cur->ai_addr, cur->ai_addrlen);

Original issue: http://code.google.com/p/mailsend/issues/detail?id=34

muquit commented 10 years ago

From muq...@gmail.com on November 27, 2013 07:38:57

This issue was closed by revision r170 .

Status: Fixed

muquit commented 10 years ago

From muq...@gmail.com on December 13, 2013 06:46:49

Issue 38 has been merged into this issue.