View Single Post
  #1  
Old 14th July 2010, 06:03
Doles Doles is offline
Junior Member
 
Join Date: Jul 2010
Posts: 6
Thanks: 1
Thanked 0 Times in 0 Posts
Default Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail (Ubuntu 10.04

Hi there.
I have run through this Howto, and at the end result I get the following error from squirrelmail.
Code:
Error connecting to IMAP server: tls://localhost.
0 :
It is happening before any authentication is done because I've put bogus details in and get the same result.

I've done everything according to the HowTo, and sent the Welcome email with mailx. This didn't work :/ I tried to send an email to my gmail from mailx but no luck. Could that be a clue?

Squirrelmail configtest shows this at the end
Code:
Checking outgoing mail service....
    SMTP server OK (220 server1.example.com ESMTP Postfix (Ubuntu))
Checking IMAP service....

    ERROR: Error connecting to IMAP server "localhost:143".Server error: (0)
So there is definitely something wrong with courier-imap

Code:
doles@server1:~$ sudo netstat -tap
[sudo] password for doles: 
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 *:www                   *:*                     LISTEN      3685/apache2    
tcp        0      0 *:cisco-sccp            *:*                     LISTEN      3535/asterisk   
tcp        0      0 *:32112                 *:*                     LISTEN      1209/sshd       
tcp        0      0 *:x11-1                 *:*                     LISTEN      3893/Xvnc4      
tcp        0      0 *:x11-2                 *:*                     LISTEN      3949/Xvnc4      
tcp        0      0 localhost:domain        *:*                     LISTEN      2896/dnsmasq    
tcp        0      0 server1:domain           *:*                     LISTEN      2896/dnsmasq    
tcp        0      0 localhost:ipp           *:*                     LISTEN      3627/cupsd      
tcp        0      0 *:smtp                  *:*                     LISTEN      19029/master    
tcp        0      0 *:microsoft-ds          *:*                     LISTEN      566/smbd        
tcp        0      0 localhost:imaps         *:*                     LISTEN      17671/couriertcpd
tcp        0      0 *:nfs                   *:*                     LISTEN      -               
tcp        0      0 *:4002                  *:*                     LISTEN      3401/rpc.mountd 
tcp        0      0 localhost:10024         *:*                     LISTEN      17891/amavisd (mast
tcp        0      0 localhost:10025         *:*                     LISTEN      19029/master    
tcp        0      0 *:33641                 *:*                     LISTEN      -               
tcp        0      0 *:mysql                 *:*                     LISTEN      1246/mysqld     
tcp        0      0 *:netbios-ssn           *:*                     LISTEN      566/smbd        
tcp        0      0 *:57772                 *:*                     LISTEN      1249/rpc.statd  
tcp        0      0 localhost:5038          *:*                     LISTEN      3535/asterisk   
tcp        0      0 *:sunrpc                *:*                     LISTEN      1220/portmap    
tcp6       0      0 localhost:domain        [::]:*                  LISTEN      2896/dnsmasq    
tcp6       0      0 fe80::219:d1ff:f:domain [::]:*                  LISTEN      2896/dnsmasq    
tcp6       0      0 localhost:ipp           [::]:*                  LISTEN      3627/cupsd      
tcp6       0      0 [::]:smtp               [::]:*                  LISTEN      19029/master    
tcp6       0      0 [::]:pop3s              [::]:*                  LISTEN      17733/couriertcpd
tcp6       0      0 [::]:5900               [::]:*                  LISTEN      3953/vino-server
tcp6       0      0 [::]:5901               [::]:*                  LISTEN      3893/Xvnc4      
tcp6       0      0 [::]:pop3               [::]:*                  LISTEN      17700/couriertcpd
tcp6       0      0 [::]:5902               [::]:*                  LISTEN      3949/Xvnc4      
tcp6       0      0 [::]:imap2              [::]:*                  LISTEN      19371/couriertcpd
tcp6       0      0 server1:5901             192.168.0.139%150:34759 ESTABLISHED 3893/Xvnc4
Any ideas?

I've tried dovecot as a replacement, but got a different error, still IMAP related but error:111. I'm unsure how to set up dovecot to replace courier like this

Thanks for any help
Reply With Quote
Sponsored Links