After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 541188 - Evolution can't connect POP3 or IMAP server on Solaris in non-ssl Mode
Evolution can't connect POP3 or IMAP server on Solaris in non-ssl Mode
Status: RESOLVED DUPLICATE of bug 538074
Product: evolution
Classification: Applications
Component: Mailer
2.24.x (obsolete)
Other All
: Normal blocker
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2008-07-02 07:40 UTC by Jeff Cai
Modified: 2013-09-13 01:01 UTC
See Also:
GNOME target: ---
GNOME version: 2.23/2.24



Description Jeff Cai 2008-07-02 07:40:10 UTC
Please describe the problem:
Evolution can't connect to POP3 or IMAP server on Solaris in non-ssl mode

Steps to reproduce:
1. Configure a IMAP or POP3 account
2. In "Secure connection", choose "No encryption"
3. 


Actual results:
Evolution can't connect the servers successfully

Expected results:
Evolution should connect the servers successfully

Does this happen every time?
Yes.

Other information:
Since Evolution 2.22 can work well on gnome 2.23, we can know that it is not the base library caused the problem.
Comment 1 Jeff Cai 2008-07-02 07:44:17 UTC
In camel-tcp-stream-raw.c:socket_connect, connect returns -1 with errno 0. In normal case, connect should return -1 with errno 150. Please refer to the following code:

        int fdmax, status;
        fd_set rdset, wrset;

#ifndef G_OS_WIN32
        flags = fcntl (fd, F_GETFL);
        fcntl (fd, F_SETFL, flags | O_NONBLOCK);
#else
        {
            u_long yes = 1;
            ioctlsocket (fd, FIONBIO, &yes);
        }
#endif
        if (connect (fd, h->ai_addr, h->ai_addrlen) == 0) {
#ifndef G_OS_WIN32
            fcntl (fd, F_SETFL, flags);
#else
            {
                u_long no = 0;
                ioctlsocket (fd, FIONBIO, &no);
            }
#endif
            return fd;
        }

        if (!SOCKET_ERROR_IS_EINPROGRESS ()) {
            errnosav = errno;
            SOCKET_CLOSE (fd);
            errno = errnosav;
            return -1;
        }

Comment 2 Tobias Mueller 2008-07-02 14:34:40 UTC
This has already been reported as bug 538074, thus marking it as such.

*** This bug has been marked as a duplicate of 538074 ***