Hi,

if I commented out port= settings neither pop3d nor imapd listen
anything.

I guess problem is somewhere in server.c near

evsock = g_new0(struct event *, total);
for (i = 0; i < conf->socketcount; i++) {
          TRACE(TRACE_DEBUG, "Adding event for plain socket [%d] [%d/%d]", 
conf->listenSockets[i], i+1, total);
          evsock[i] = event_new(evbase, conf->listenSockets[i], EV_READ, 
server_sock_cb, NULL);
          event_assign(evsock[i], evbase, conf->listenSockets[i], EV_READ, 
server_sock_cb, evsock[i]);
          event_add(evsock[i], NULL);
}
k = i+1;
for (k = i, i = 0; i < conf->ssl_socketcount; i++, k++) {
        TRACE(TRACE_DEBUG, "Adding event for ssl socket [%d] [%d/%d]", 
conf->ssl_listenSockets[i], k+1, total);
        evsock[k] = event_new(evbase, conf->ssl_listenSockets[i], EV_READ, 
server_sock_ssl_cb, NULL);
        event_assign(evsock[k], evbase, conf->ssl_listenSockets[i], EV_READ, 
server_sock_ssl_cb, evsock[k]);
        event_add(evsock[k], NULL);
}

total should be 1, because of only 1 ssl socket created, but in 2nd
loop k = 1.

Not sure if I am right, did not check it...

Anyway, steps to reproduce are comment out port and leave tls_port in
pop3d or imapd. Restart pop3d or imapd, check netstat -tlnp output.
_______________________________________________
Dbmail-dev mailing list
Dbmail-dev@dbmail.org
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail-dev

Reply via email to