[Dovecot] Getting Director Proxy Working
Hi All,
I can't get directory proxying of pop3 and imap working. The director stuff appears to be OK - see below. The ldap authentication is working on the backend mail server. I just get connection refused when I telnet to the proxy on the pop3 and imap ports. Nothing appears to be running on the pop3 and imap ports despite the lines in the config below. I am not sure what to do from here as nothing is showing up in the logs. Some assistance would be greatly appreciated.
Thanks
Murray
doveadm director status
mail server ip vhosts users x.x.x.x 100 0
doveadm director map
user mail server ip expire time
doveconf -n
2.1.7: /etc/dovecot/dovecot.conf
OS: Linux 3.2.0-4-amd64 x86_64 Debian 7.1
auth_cache_size = 32 M auth_cache_ttl = 2 hours auth_debug = yes auth_mechanisms = plain login auth_verbose = yes base_dir = /var/run/dovecot/ director_mail_servers = x.x.x.x director_servers = y.y.y.y disable_plaintext_auth = no mail_debug = yes passdb { args = nopassword=y proxy=y driver = static } service director { fifo_listener login/proxy-notify { mode = 0666 user = $default_login_user } inet_listener { port = 9090 } unix_listener director-userdb { mode = 0600 } unix_listener login/director { mode = 0666 } } service imap-login { executable = imap-login director inet_listener imap { port = 143 } } service pop3-login { executable = pop3-login director inet_listener pop3 { port = 110 } } ssl_cert =
----- Original Message ----- From: "Murray Trainer" To: Cc: Sent:Wed, 12 Feb 2014 09:25:24 +0800 Subject:[Dovecot] Getting Director Proxy Working
Hi All,
I can't get directory proxying of pop3 and imap working. The director stuff appears to be OK - see below. The ldap authentication is working on the backend mail server. I just get connection refused when I telnet to the proxy on the pop3 and imap ports. Nothing appears to be running on the pop3 and imap ports despite the lines in the config below. I am not sure what to do from here as nothing is showing up in the logs. Some assistance would be greatly appreciated.
Thanks
Murray
doveadm director status
mail server ip vhosts users x.x.x.x 100 0
doveadm director map
user mail server ip expire time
doveconf -n
2.1.7: /etc/dovecot/dovecot.conf
OS: Linux 3.2.0-4-amd64 x86_64 Debian 7.1
auth_cache_size = 32 M auth_cache_ttl = 2 hours auth_debug = yes auth_mechanisms = plain login auth_verbose = yes base_dir = /var/run/dovecot/ director_mail_servers = x.x.x.x director_servers = y.y.y.y disable_plaintext_auth = no mail_debug = yes passdb { args = nopassword=y proxy=y driver = static } service director { fifo_listener login/proxy-notify { mode = 0666 user = $default_login_user } inet_listener { port = 9090 } unix_listener director-userdb { mode = 0600 } unix_listener login/director { mode = 0666 } } service imap-login { executable = imap-login director inet_listener imap { port = 143 } } service pop3-login { executable = pop3-login director inet_listener pop3 { port = 110 } } ssl_cert =
Sorry, full dovecot config below:
2.1.7: /etc/dovecot/dovecot.conf
OS: Linux 3.2.0-4-amd64 x86_64 Debian 7.1
auth_cache_size = 32 M auth_cache_ttl = 2 hours auth_debug = yes auth_mechanisms = plain login auth_verbose = yes base_dir = /var/run/dovecot/ director_mail_servers = x.x.x.x director_servers = y.y.y.y disable_plaintext_auth = no mail_debug = yes passdb { args = nopassword=y proxy=y driver = static } service director { fifo_listener login/proxy-notify { mode = 0666 user = $default_login_user } inet_listener { port = 9090 } unix_listener director-userdb { mode = 0600 } unix_listener login/director { mode = 0666 } } service imap-login { executable = imap-login director inet_listener imap { port = 143 } } service pop3-login { executable = pop3-login director inet_listener pop3 { port = 110 } } ssl_cert =
Finally got it working. I eventually realized I needed to install dovecot-pop3d and dovecot-imapd for it to work :-)
Murray
-------- Original Message -------- From: Murray Trainer <mtrainer@westnet.com.au> Sent: 12 February 2014 12:51:00 PM AWST To: dovecot@dovecot.org Subject: Re: [Dovecot] Getting Director Proxy Working
----- Original Message ----- From: "Murray Trainer" To: Cc: Sent:Wed, 12 Feb 2014 09:25:24 +0800 Subject:[Dovecot] Getting Director Proxy Working
Hi All,
I can't get directory proxying of pop3 and imap working. The director stuff appears to be OK - see below. The ldap authentication is working on the backend mail server. I just get connection refused when I telnet to the proxy on the pop3 and imap ports. Nothing appears to be running on the pop3 and imap ports despite the lines in the config below. I am not sure what to do from here as nothing is showing up in the logs. Some assistance would be greatly appreciated.
Thanks
Murray
doveadm director status
mail server ip vhosts users x.x.x.x 100 0
doveadm director map
user mail server ip expire time
doveconf -n
2.1.7: /etc/dovecot/dovecot.conf
OS: Linux 3.2.0-4-amd64 x86_64 Debian 7.1
auth_cache_size = 32 M auth_cache_ttl = 2 hours auth_debug = yes auth_mechanisms = plain login auth_verbose = yes base_dir = /var/run/dovecot/ director_mail_servers = x.x.x.x director_servers = y.y.y.y disable_plaintext_auth = no mail_debug = yes passdb { args = nopassword=y proxy=y driver = static } service director { fifo_listener login/proxy-notify { mode = 0666 user = $default_login_user } inet_listener { port = 9090 } unix_listener director-userdb { mode = 0600 } unix_listener login/director { mode = 0666 } } service imap-login { executable = imap-login director inet_listener imap { port = 143 } } service pop3-login { executable = pop3-login director inet_listener pop3 { port = 110 } } ssl_cert =
Sorry, full dovecot config below:
2.1.7: /etc/dovecot/dovecot.conf
OS: Linux 3.2.0-4-amd64 x86_64 Debian 7.1
auth_cache_size = 32 M auth_cache_ttl = 2 hours auth_debug = yes auth_mechanisms = plain login auth_verbose = yes base_dir = /var/run/dovecot/ director_mail_servers = x.x.x.x director_servers = y.y.y.y disable_plaintext_auth = no mail_debug = yes passdb { args = nopassword=y proxy=y driver = static } service director { fifo_listener login/proxy-notify { mode = 0666 user = $default_login_user } inet_listener { port = 9090 } unix_listener director-userdb { mode = 0600 } unix_listener login/director { mode = 0666 } } service imap-login { executable = imap-login director inet_listener imap { port = 143 } } service pop3-login { executable = pop3-login director inet_listener pop3 { port = 110 } } ssl_cert =
-- Sent from my Android phone with K-9 Mail. Please excuse my brevity.
participants (1)
-
Murray Trainer