Cyrus Imap + Thunderbird 3

Dan White dwhite at olp.net
Fri Nov 5 11:37:20 EDT 2010


On 05/11/10 16:06 +0100, Dominique Couot wrote:
>In reverse order
>
>TB3
>
>In TB3, I configured IMAP on port 143 (I'll work on SSL/TLS later, 
>when the basic version works). Connection is tried with full name: 
>username at solipym.net with no success. Although when connecting 
>through the IP it works. When trying with username only it does not 
>let me connect, even with the IP setup.
>
>Telnet:
>
>telnet solipym.net 143
>
>* BYE Cannot connect to IMAP server 88.25.37.109 (88.25.37.109:993), 
>connect err
>or 10061
>
>Connection to host lost.

I get a different response:

~$ telnet solipym.net 143
Trying 88.25.37.109...
Connected to solipym.net.
Escape character is '^]'.
* OK solipym Cyrus IMAP4 v2.2.13-Debian-2.2.13-19 server ready
c logout
* BYE LOGOUT received
c OK Completed
Connection closed by foreign host.

>telnet 192.168.1.50 143
>
>* OK solipym Cyrus IMAP4 v2.2.13-Debian-2.2.13-19 server ready
>
>Netstat
>
>The server is behind a router/firewall with port forwarding to the 
>server IP address.
>
>As far as virtual domains are concerned, I followed a tutorial... You 
>know for newbies. So some concepts are a bit confusing. I only know 
>that the current setup works well through a webmail client. Truth is 
>I should probaly read on, as I have several domains to add to the 
>server (solipym.net /.com and /.es)

I would stick to not using the full email address for you username, unless
you created you mailboxes with a domain name. How do you login from your
webmail client?

Also, you can try an authentication to the server like this (it will not be
encrypted though):

~$ telnet solipym.net 143
Trying 88.25.37.109...
Connected to solipym.net.
Escape character is '^]'.
* OK solipym Cyrus IMAP4 v2.2.13-Debian-2.2.13-19 server ready
c <user> <pass>


>On 05/11/2010 15:37, Dan White wrote:
>>On 05/11/10 15:03 +0100, Dominique Couot wrote:
>>>Ubuntu 10.04 lts server (headless)
>>>Postfix 2 (2.7.0-1)
>>>Cyrus 2.2 (2.2.13-19)
>>>
>>>cyrus.conf
>>
>>>   imap        cmd="imapd -U 30" listen="imap" prefork=0 maxchild=100
>>>   #imaps        cmd="imapd -s -U 30" listen="imaps" prefork=0 
>>>maxchild=100
>>
>>>   pop3        cmd="pop3d -U 30" listen="pop3" prefork=0 maxchild=50
>>>   #pop3s        cmd="pop3d -s -U 30" listen="pop3s" prefork=0 
>>>maxchild=50
>>
>>>I am not sure what you're refering to for the imapd.conf
>>
>>>configdirectory: /var/lib/cyrus
>>>defaultpartition: default
>>>partition-default: /var/spool/cyrus/mail
>>>altnamespace: no
>>>unixhierarchysep: yes
>>>admins: cyrus
>>>allowplaintext: yes
>>>sasl_mech_list: PLAIN LOGIN
>>>#loginrealms: example.com
>>>virtdomains: userid
>>>#defaultdomain:
>>>sasl_pwcheck_method: saslauthd
>>>tls_cert_file: /etc/ssl/certs/ssl-cert-snakeoil.pem
>>>tls_key_file: /etc/ssl/private/ssl-cert-snakeoil.key
>>>tls_ca_file: /etc/ssl/certs/ca-certificates.crt
>>>tls_ca_path: /etc/ssl/certs
>>>tls_session_timeout: 1440
>>>tls_cipher_list: TLSv1+HIGH:!aNULL:@STRENGTH
>>
>>You have virtdomains set to userid, which may or may not be an issue
>>depending on whether you're specifying a full qualified username in TB3.
>>If so, see:
>>
>>http://www.cyrusimap.org/docs/cyrus-imapd/2.2.13p1/install-virtdomains.php
>>
>>
>>>netstat
>>>
>>># netstat -an | grep LISTEN | grep 143
>>>tcp        0      0 0.0.0.0:143             0.0.0.0:*               
>>>LISTEN
>>>tcp6       0      0 :::143                  :::*                    
>>>LISTEN
>>
>>That looks right. You're listening on 143 or all interfaces. Do you have
>>a public interface on that server, or are you port forwarding from a
>>firewall?
>>
>>>telnet
>>>
>>>You might be on something there:
>>>
>>>telnet 192.168.1.50:143
>>>Connecting To 192.168.1.50:143...Could not open connection to the 
>>>host, on port
>>>23: Connect failed
>>>
>>>telnet solipym.net:143
>>>Connecting To solipym.net:143...Could not open connection to the 
>>>host, on port 2
>>>3: Connect failed
>>
>>Try:
>>
>>telnet solipym.net 143
>>
>>(no colon)
>>
>>What settings are you using on TB3? I assumed IMAP instead of POP, is
>>that right? What SSL/TLS settings do you have set? What username format
>>are you using (username, or full email address)?

-- 
Dan White


More information about the Info-cyrus mailing list