[Dovecot] Slackware 14 config
I am trying to install dovecot 2.2.12 from source on slackware 14.0 Compilation and install work without error. doveconf -n # 2.2.12: /usr/local/etc/dovecot/dovecot.conf # OS: Linux 3.2.45 x86_64 Slackware 14.0 auth_mechanisms = plain login auth_socket_path = /var/run/dovecot/auth-userdb base_dir = /var/run/dovecot/ mail_location = mbox:~/mail:INBOX=/var/spool/mail/%u namespace inbox { inbox = yes location = mailbox Drafts { special_use = \Drafts } mailbox Junk { special_use = \Junk } mailbox Sent { special_use = \Sent } mailbox "Sent Messages" { special_use = \Sent } mailbox Trash { special_use = \Trash } prefix = } passdb { driver = shadow } protocols = imap lmtp pop3 service imap-login { inet_listener imap { port = 143 } inet_listener imaps { port = 993 ssl = yes } } service pop3-login { inet_listener pop3 { port = 110 } inet_listener pop3s { port = 995 ssl = yes } } ssl_cert = </etc/ssl/certs/dovecot.pem ssl_key = </etc/ssl/private/dovecot.pem userdb { driver = passwd }
Seems to start ok. No errors reported in logs. Checked location of logs with "doveadm log find"
telnet localhost 143 Connected to localhost. Escape character is '^]'
No imap prompt. Still no errors. Tried doveadm bash-4.2# doveadm auth test fulford Password: doveadm(root): Error: Timeout waiting for handshake from auth server. my pid=8881, input bytes=0 doveadm(root): Fatal: Couldn't connect to auth socket bash-4.2# ls -l /var/run/dovecot/aut* srw------- 1 dovecot root 0 Mar 9 01:01 /var/run/dovecot/auth-client srw------- 1 dovecot root 0 Mar 9 01:01 /var/run/dovecot/auth-login srw------- 1 root root 0 Mar 9 01:01 /var/run/dovecot/auth-master srw-rw-rw- 1 dovecot root 0 Mar 9 01:01 /var/run/dovecot/auth-userdb srw------- 1 dovecot root 0 Mar 9 01:01 /var/run/dovecot/auth-worker
I can't find anyone else having this problem. What am I doing wrong?
Clifford
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Sun, 9 Mar 2014, Clifford W Fulford wrote:
Seems to start ok. No errors reported in logs. Checked location of logs with "doveadm log find"
Did you've verified that a Dovecot process is running and which ports it is listening to?
telnet localhost 143 Connected to localhost. Escape character is '^]'
No imap prompt. Still no errors.
Do you have SELinux or some protection system running?
Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux)
iQEVAwUBUx25fXD1/YhP6VMHAQJ4lggAoiIk8A42SOkEfDd6Q0pxAL4+KZ/45tVj oixb9lJ3EiFCJJlUl9Fv2HZnek/hQ46grQ4AC2M44h4z/ZB6EwGj1koHIVrqOsOx q2pK1O601UbQ2/Ht2UDoeevCpbZZ1WxXHesRZJeP0gZTW4eeZU9Y/5yT57eSsCrw xpcGoKxXaua/4Y8yAb23m4InjdFxZuF5Ob4K77pm6Z3CWvAVgcMF2TIJpH6+KIzG rhn6VKLGeSQZ54SkATmfvNSqj3tL7fzKWhVih9xtNEH/rwzXo+16j0tOUmGREZD7 zsOTu0qo48cZu7ES/PCUMXUzl+MJ+u5ac6Tkt59CzSf9es0nonDmcA== =cJuq -----END PGP SIGNATURE-----
Yes it is running and its listending on ports 143 and 193 but I only get the response shown in my post. No imap capability message and no response to any input.
Clifford
On Mon, 10 Mar 2014, Steffen Kaiser wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Sun, 9 Mar 2014, Clifford W Fulford wrote:
Seems to start ok. No errors reported in logs. Checked location of logs with "doveadm log find"
Did you've verified that a Dovecot process is running and which ports it is listening to?
telnet localhost 143 Connected to localhost. Escape character is '^]'
No imap prompt. Still no errors.
Do you have SELinux or some protection system running?
- -- Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux)
iQEVAwUBUx25fXD1/YhP6VMHAQJ4lggAoiIk8A42SOkEfDd6Q0pxAL4+KZ/45tVj oixb9lJ3EiFCJJlUl9Fv2HZnek/hQ46grQ4AC2M44h4z/ZB6EwGj1koHIVrqOsOx q2pK1O601UbQ2/Ht2UDoeevCpbZZ1WxXHesRZJeP0gZTW4eeZU9Y/5yT57eSsCrw xpcGoKxXaua/4Y8yAb23m4InjdFxZuF5Ob4K77pm6Z3CWvAVgcMF2TIJpH6+KIzG rhn6VKLGeSQZ54SkATmfvNSqj3tL7fzKWhVih9xtNEH/rwzXo+16j0tOUmGREZD7 zsOTu0qo48cZu7ES/PCUMXUzl+MJ+u5ac6Tkt59CzSf9es0nonDmcA== =cJuq -----END PGP SIGNATURE-----
Sorry just seen my typo I meant ports 143 and 993.
-- On Mon, 10 Mar 2014, Steffen Kaiser wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Sun, 9 Mar 2014, Clifford W Fulford wrote:
Seems to start ok. No errors reported in logs. Checked location of logs with "doveadm log find"
Did you've verified that a Dovecot process is running and which ports it is listening to?
telnet localhost 143 Connected to localhost. Escape character is '^]'
No imap prompt. Still no errors.
Do you have SELinux or some protection system running?
- -- Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux)
iQEVAwUBUx25fXD1/YhP6VMHAQJ4lggAoiIk8A42SOkEfDd6Q0pxAL4+KZ/45tVj oixb9lJ3EiFCJJlUl9Fv2HZnek/hQ46grQ4AC2M44h4z/ZB6EwGj1koHIVrqOsOx q2pK1O601UbQ2/Ht2UDoeevCpbZZ1WxXHesRZJeP0gZTW4eeZU9Y/5yT57eSsCrw xpcGoKxXaua/4Y8yAb23m4InjdFxZuF5Ob4K77pm6Z3CWvAVgcMF2TIJpH6+KIzG rhn6VKLGeSQZ54SkATmfvNSqj3tL7fzKWhVih9xtNEH/rwzXo+16j0tOUmGREZD7 zsOTu0qo48cZu7ES/PCUMXUzl+MJ+u5ac6Tkt59CzSf9es0nonDmcA== =cJuq -----END PGP SIGNATURE-----
Sorry just seen my typo I meant ports 143 and 993.
Irrelevant. Take a step back and think about it logically. The error messages did not say that you could not connect to these ports. In fact, it seems you can, so clearly, this is not your problem.
A "netstat -nat" will show if something is listening on these ports.
doveadm(root): Error: Timeout waiting for handshake from auth server. my pid=8881, input bytes=0 doveadm(root): Fatal: Couldn't connect to auth socket
This is what you should be looking into -> "Timeout waiting for handshake from auth server"
The second message "cannot connect ..." is the generic error if the entire connect fails. However, the primary error is the timeout error. That is the key. It is not getting a response from the other end of the socket. What is supposed to be connecting to the other end? Are you using SASL or something else to do authentication? What does "lsof | grep auth-userdb" show? Two things should have that file open. If not, there is your problem. A pipe, named or otherwise, is like a chatroom. It is very lonely when you are the only one.
Standard problem solving techniques. All the information you need is right in front of you.
Dem
participants (3)
-
Clifford W Fulford
-
Professa Dementia
-
Steffen Kaiser