Configuration is not working with Thunderbird
Hi, I'm new to the list (and postfix / dovecot), so if I mistakenly omit something, then please forgive me.
I cannot log into Thunderbird via IMAP with my configuration. However, I can check the mail of each user by logging into their user account & then using the "mail" command. Is there something that is wrong with my config to not allow me to log into Thunderbird (Version 52.1.1)? I'm using Postfix 3.1.0 if that helps. Any help would be greatly appreciated. Thanks!
Here is the output of "|dovecot -n"|:
# 2.2.22 (fe789d2): /etc/dovecot/dovecot.conf # Pigeonhole version 0.4.13 (7b14904) doveconf: Warning: NOTE: You can get a new clean config file with: doveconf -n > dovecot-new.conf doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:105: listen=..:port has been replaced by service { inet_listener { port } } doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:105: protocol { listen } has been replaced by service { inet_listener { address } } doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:106: ssl_listen=..:port has been replaced by service { inet_listener { port } } doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:106: protocol { ssl_listen } has been replaced by service { inet_listener { address } } # OS: Linux 4.4.0-77-generic x86_64 Ubuntu 16.04.2 LTS mail_location = maildir:~/Maildir 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 = pam } protocols = imap service imap-login { inet_listener imap { address = * port = 143 } inet_listener imaps { address = * port = 993 } } ssl_cert =
Also, I ran "strace dovecot" & got these lines at the end of the output:
open("/etc/letsencrypt/live/REDACTED/fullchain.pem", O_RDONLY) = -1 EACCES (Permission denied) close(14) = 0 write(2, "doveconf: Fatal: Error in config"..., 184doveconf: Fatal: Error in configuration file /etc/dovecot/conf.d/10-ssl.conf line 7: ssl_cert: Can't open file /etc/letsencrypt/live/REDACTED/fullchain.pem: Permission denied ) = 184 exit_group(89) = ? +++ exited with 89 +++
Could that be the problem?
However, I can telnet into port 993 using this command from within the server using this:
openssl s_client -connect mail.domain.ext:993
Then, I can do these commands: A1 LOGIN username password A2 LIST "" "*" A3 EXAMINE INBOX
From my research, this shows that everything is setup properly. I thought maybe this would help you guys help me better. Let me know what else you need to help me diagnose my problem.
Thanks,
Q
On 05/21/2017 01:48 PM, Quark wrote:
Hi, I'm new to the list (and postfix / dovecot), so if I mistakenly omit something, then please forgive me.
I cannot log into Thunderbird via IMAP with my configuration. However, I can check the mail of each user by logging into their user account & then using the "mail" command. Is there something that is wrong with my config to not allow me to log into Thunderbird (Version 52.1.1)?
I'm using Postfix 3.1.0 if that helps. Any help would be greatly appreciated. Thanks!Here is the output of "|dovecot -n"|:
# 2.2.22 (fe789d2): /etc/dovecot/dovecot.conf # Pigeonhole version 0.4.13 (7b14904) doveconf: Warning: NOTE: You can get a new clean config file with: doveconf -n > dovecot-new.conf doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:105: listen=..:port has been replaced by service { inet_listener { port } } doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:105: protocol { listen } has been replaced by service { inet_listener { address } } doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:106: ssl_listen=..:port has been replaced by service { inet_listener { port } } doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:106: protocol { ssl_listen } has been replaced by service { inet_listener { address } } # OS: Linux 4.4.0-77-generic x86_64 Ubuntu 16.04.2 LTS mail_location = maildir:~/Maildir 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 = pam } protocols = imap service imap-login { inet_listener imap { address = * port = 143 } inet_listener imaps { address = * port = 993 } } ssl_cert =
On 21.05.2017 20:48, Quark wrote:
Hi, I'm new to the list (and postfix / dovecot), so if I mistakenly omit something, then please forgive me.
I cannot log into Thunderbird via IMAP with my configuration. However, I can check the mail of each user by logging into their user account & then using the "mail" command. Is there something that is wrong with my config to not allow me to log into Thunderbird (Version 52.1.1)? I'm using Postfix 3.1.0 if that helps. Any help would be greatly appreciated. Thanks!
Please turn on
auth_debug=yes
and inspect your logs, such as /var/log/syslog or similar, and see what you can find or alternatively post them to list (not the whole log file, mind).
Aki
So, I have this error now:
May 22 08:54:30 ********** dovecot: imap-login: Aborted login (no auth attempts in 0 secs): user=<>, rip=***********, lip=***********, session=<***********>
I found this: https://wiki2.dovecot.org/WhyDoesItNotWork
I have this set in my dovecot.conf: disable_plaintext_auth=yes
Same error, even when I try to connect port 143 instead of ssl (993).
Any suggestions on what I can do now?
On 05/22/2017 02:00 AM, Aki Tuomi wrote:
On 21.05.2017 20:48, Quark wrote:
Hi, I'm new to the list (and postfix / dovecot), so if I mistakenly omit something, then please forgive me.
I cannot log into Thunderbird via IMAP with my configuration. However, I can check the mail of each user by logging into their user account & then using the "mail" command. Is there something that is wrong with my config to not allow me to log into Thunderbird (Version 52.1.1)? I'm using Postfix 3.1.0 if that helps. Any help would be greatly appreciated. Thanks!
Please turn on
auth_debug=yes
and inspect your logs, such as /var/log/syslog or similar, and see what you can find or alternatively post them to list (not the whole log file, mind).
Aki
On May 22, 2017 at 4:03 PM Quark zquark32@gmail.com wrote:
So, I have this error now:
May 22 08:54:30 ********** dovecot: imap-login: Aborted login (no auth attempts in 0 secs): user=<>, rip=***********, lip=***********, session=<***********>
I found this: https://wiki2.dovecot.org/WhyDoesItNotWork
I have this set in my dovecot.conf: disable_plaintext_auth=yes
Do you have auth_mechanisms set? That seems to indicate that the client wasn't happy about the provided authentication options, or you forgot to use STARTTLS with port 143.
Try setting auth_mechanisms = plain login and see if it helps.
Aki
Same error, even when I try to connect port 143 instead of ssl (993).
Any suggestions on what I can do now?On 05/22/2017 02:00 AM, Aki Tuomi wrote:
On 21.05.2017 20:48, Quark wrote:
Hi, I'm new to the list (and postfix / dovecot), so if I mistakenly omit something, then please forgive me.
I cannot log into Thunderbird via IMAP with my configuration. However, I can check the mail of each user by logging into their user account & then using the "mail" command. Is there something that is wrong with my config to not allow me to log into Thunderbird (Version 52.1.1)? I'm using Postfix 3.1.0 if that helps. Any help would be greatly appreciated. Thanks!
Please turn on
auth_debug=yes
and inspect your logs, such as /var/log/syslog or similar, and see what you can find or alternatively post them to list (not the whole log file, mind).
Aki
I did all this & it still gives the same error. I have connected with my android phone with no security with my current setup, however I still get the same error message from Dovecot.
May 22 08:54:30 ********** dovecot: imap-login: Aborted login (no auth ,attempts in 0 secs): user=<>, rip=***********, lip=***********, ,session=<***********>
I've tried to do all sorts of changes in the way that I attempt to login via Thunderbird & it gives me the same error.
Any suggestion on how to get Thunderbird to login?
On 05/22/2017 09:26 AM, Aki Tuomi wrote:
On May 22, 2017 at 4:03 PM Quark zquark32@gmail.com wrote:
So, I have this error now:
May 22 08:54:30 ********** dovecot: imap-login: Aborted login (no auth attempts in 0 secs): user=<>, rip=***********, lip=***********, session=<***********>
I found this: https://wiki2.dovecot.org/WhyDoesItNotWork
I have this set in my dovecot.conf: disable_plaintext_auth=yes
Do you have auth_mechanisms set? That seems to indicate that the client wasn't happy about the provided authentication options, or you forgot to use STARTTLS with port 143.
Try setting auth_mechanisms = plain login and see if it helps.
Aki
Same error, even when I try to connect port 143 instead of ssl (993). Any suggestions on what I can do now?
On 05/22/2017 02:00 AM, Aki Tuomi wrote:
On 21.05.2017 20:48, Quark wrote:
Hi, I'm new to the list (and postfix / dovecot), so if I mistakenly omit something, then please forgive me.
I cannot log into Thunderbird via IMAP with my configuration. However, I can check the mail of each user by logging into their user account & then using the "mail" command. Is there something that is wrong with my config to not allow me to log into Thunderbird (Version 52.1.1)? I'm using Postfix 3.1.0 if that helps. Any help would be greatly appreciated. Thanks!
Please turn on
auth_debug=yes
and inspect your logs, such as /var/log/syslog or similar, and see what you can find or alternatively post them to list (not the whole log file, mind).
Aki
participants (2)
-
Aki Tuomi
-
Quark