LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 10-07-2008, 04:32 AM   #1
extasic
LQ Newbie
 
Registered: Oct 2008
Posts: 7

Rep: Reputation: 0
Dovecot - TLS doesnt work while SSL does


Hi,

I'm using Debian Etch with Postfix 2.3 and Dovecot 1.0.rc15.
I can use POP3 and IMAP4 without any problem, and even can use POP3S or IMAPS, but I really can't get IMAP + TLS to work. When trying to connect using Outlook or Thunderbird the mail.log says:

Code:
Oct  6 09:45:13 hostname dovecot: imap-login: Disconnected: Inactivity: rip=(my IP), lip=(Server IP), TLS handshake
Outlook works and finally crashes. Thunderbird just reports a timeout.

This is my dovecont.conf:

Code:
disable_plaintext_auth = no
log_timestamp = "%Y-%m-%d %H:%M:%S "
ssl_disable = no
ssl_cert_file = /etc/lighttpd/webs/mail.my-domain.de/mail.my-domain.de.pem
ssl_key_file =  /etc/lighttpd/webs/mail.my-domain.de/mail.my-domain.de.pem
ssl_ca_file =  /etc/lighttpd/webs/mail.my-domain.de/mail.my-domain.de.ca
mail_location = maildir:/home/vmail/%d/%n
mail_privileged_group = mail

protocol imap {
imap_client_workarounds = outlook-idle
}
  
protocol pop3 {
pop3_client_workarounds = outlook-no-nuls oe-ns-eoh
}

protocol lda {
  log_path = /home/vmail/dovecot-deliver.log
    auth_socket_path = /var/run/dovecot/auth-master
    postmaster_address = postmaster@my-domain.de
    mail_plugins = cmusieve
    global_script_path = /home/vmail/globalsieverc
}
auth default {
  mechanisms = plain login
  passdb pam {
  }
  passdb sql {
		args = /etc/dovecot/dovecot-sql.conf
	}
  userdb passwd {
  }
  userdb static {
		args = uid=5000 gid=5000 home=/home/vmail/%d/%n allow_all_users=yes
	}
  user = root
  socket listen {
  	master {
		path = /var/run/dovecot/auth-master
	        mode = 0600
        	user = vmail
    }
	client {
	path = /var/spool/postfix/private/auth
	mode = 0660
	user = postfix
	group = postfix
    }
}

}
plugin {
}
any ideas?

thank you in advance!
 
Old 10-07-2008, 08:33 AM   #2
halvorls
Member
 
Registered: Jun 2008
Posts: 78

Rep: Reputation: 15
Quote:
disable_plaintext_auth = no
log_timestamp = "%Y-%m-%d %H:%M:%S "
ssl_disable = no
ssl_cert_file = /etc/lighttpd/webs/mail.my-domain.de/mail.my-domain.de.pem
ssl_key_file = /etc/lighttpd/webs/mail.my-domain.de/mail.my-domain.de.pem
ssl_ca_file = /etc/lighttpd/webs/mail.my-domain.de/mail.my-domain.de.ca
mail_location = maildir:/home/vmail/%d/%n
mail_privileged_group = mail

protocol imap {
imap_client_workarounds = outlook-idle
}

protocol pop3 {
pop3_client_workarounds = outlook-no-nuls oe-ns-eoh
}

protocol lda {
log_path = /home/vmail/dovecot-deliver.log
auth_socket_path = /var/run/dovecot/auth-master
postmaster_address = postmaster@my-domain.de
mail_plugins = cmusieve
global_script_path = /home/vmail/globalsieverc
}
auth default {
mechanisms = plain login
passdb pam {
}
passdb sql {
args = /etc/dovecot/dovecot-sql.conf
}
userdb passwd {
}
userdb static {
args = uid=5000 gid=5000 home=/home/vmail/%d/%n allow_all_users=yes
}
user = root
socket listen {
master {
path = /var/run/dovecot/auth-master
mode = 0600
user = vmail
}
client {
path = /var/spool/postfix/private/auth
mode = 0660
user = postfix
group = postfix
}
}

} (delete this.)
plugin {
}
Use this file:

disable_plaintext_auth = no
log_timestamp = "%Y-%m-%d %H:%M:%S "
ssl_disable = no
ssl_cert_file = /etc/lighttpd/webs/mail.my-domain.de/mail.my-domain.de.pem
ssl_key_file = /etc/lighttpd/webs/mail.my-domain.de/mail.my-domain.de.pem
ssl_ca_file = /etc/lighttpd/webs/mail.my-domain.de/mail.my-domain.de.ca
mail_location = maildir:/home/vmail/%d/%n
mail_privileged_group = mail

protocol imap {
imap_client_workarounds = outlook-idle
}

protocol pop3 {
pop3_client_workarounds = outlook-no-nuls oe-ns-eoh
}

protocol lda {
log_path = /home/vmail/dovecot-deliver.log
auth_socket_path = /var/run/dovecot/auth-master
postmaster_address = postmaster@my-domain.de
mail_plugins = cmusieve
global_script_path = /home/vmail/globalsieverc
}
auth default {
mechanisms = plain login
passdb pam {
}
passdb sql {
args = /etc/dovecot/dovecot-sql.conf
}
userdb passwd {
}
userdb static {
args = uid=5000 gid=5000 home=/home/vmail/%d/%n allow_all_users=yes
}
user = root
socket listen {
master {
path = /var/run/dovecot/auth-master
mode = 0600
user = vmail
}
client {
path = /var/spool/postfix/private/auth
mode = 0660
user = postfix
group = postfix
}
}
plugin {
}

Halvor.
 
Old 10-07-2008, 05:57 PM   #3
extasic
LQ Newbie
 
Registered: Oct 2008
Posts: 7

Original Poster
Rep: Reputation: 0
I tried your config, but it's still the same behavior

Any other ideas?
 
  


Reply

Tags
dovecot, tls


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with Dovecot & TLS nukoso Linux - Server 1 06-09-2008 05:20 PM
FTP TLS / SSL Issue -- It works, but doesn't work. poweredbydodge Linux - Networking 0 10-31-2006 12:27 PM
FTP via SSL (TLS) embsupafly Linux - Security 2 03-02-2005 08:47 PM
SSL doesnt work on slow connection? cuboctahedron Linux - General 3 07-19-2003 09:36 AM
SSL vs. TLS X11 Linux - Security 8 12-17-2002 03:39 PM


All times are GMT -5. The time now is 10:19 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration