Latest dovecot does not work with latest MUA (thunderbird)
Hi,
Latest dovecot does not work with latest thunderbird. It does not react to sent emails.
They are put to maildir by postfix a-ok.
The version of thunderbird that works ok: 68.12.1
Distro:
Distributor ID: Ubuntu Description: Ubuntu 20.04.2 LTS Release: 20.04 Codename: focal
$ dovecot -n # 2.3.7.2 (3c910f64b): /etc/dovecot/dovecot.conf # Pigeonhole version 0.5.7.2 () # OS: Linux 5.9.0-rc5 x86_64 Ubuntu 20.04.2 LTS # Hostname: superman.sillywalk.org auth_debug = yes auth_debug_passwords = yes auth_mechanisms = plain login auth_verbose = yes auth_verbose_passwords = plain debug_log_path = /var/log/dovecot-debug.log info_log_path = /var/log/dovecot-info.log log_path = /var/log/dovecot.log mail_debug = yes mail_location = maildir:~/Maildir/ mbox_write_locks = fcntl 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 pop3 service auth { unix_listener /var/spool/postfix/private/auth { group = mail mode = 0660 user = postfix } } ssl_cert = </etc/letsencrypt/live/lja.fi/fullchain.pem ssl_dh = # hidden, use -P to show it ssl_key = # hidden, use -P to show it userdb { driver = passwd } protocol imap { imap_metadata = yes } local_name paxsudos.fi { ssl_cert = </etc/letsencrypt/live/somethingB.fi/fullchain.pem ssl_dh = # hidden, use -P to show it ssl_key = # hidden, use -P to show it } local_name paxsudos.com { ssl_cert = </etc/letsencrypt/live/somethingB.com/fullchain.pem ssl_dh = # hidden, use -P to show it ssl_key = # hidden, use -P to show it } local_name lja.fi { ssl_cert = </etc/letsencrypt/live/somethingA.fi/fullchain.pem ssl_dh = # hidden, use -P to show it ssl_key = # hidden, use -P to show it }
,-- Information -------------------------------------------------------- ------ --- -- - | Lauri Jakku | Contact: | Phone: +358 40 220 3910 | Address: Puusepänkatu 1 A 3, 90130 Oulu, Finland '--------------- -------- ----- ----- ------- ---- --- --
Firmani, Paxsudos IT, kautta olen jättämässä oman, vaikka pienen, jäljen ympäristötekoina, että tulevaisuudessakin voimme nauttia luonnosta.
Ympäristö ja luonto on sellaista joita otamme itsestäänselvyyksinä, tuon takia on käymässä niin että havahdumme kun on tilanne erittäin huono.
We offset our carbon footprint via Ecologi
<https://ecologi.com/paxsudosit>
,-- Virus scan done for content -------------------------------------------------------- ------ --- -- - | Known viruses: 10722370 | Engine version: 0.102.4 | Scanned directories: 0 | Scanned files: 1 | Infected files: 0 | Data scanned: 0.01 MB | Data read: 0.01 MB (ratio 1.00:1) | Time: 16.864 sec (0 m 16 s) '--------------- -------- ----- ----- ------- ---- --- --
Stuart Henderson kirjoitti 14.3.2021 klo 23.38:
On 2021-03-14, lja@koti <lja@lja.fi> wrote:
# 2.3.7.2 (3c910f64b): /etc/dovecot/dovecot.conf That's nowhere near the latest Dovecot.
Updated dovecot to bleeding edge, and still got same issue.
# 2.4.devel (b0f498b69): /usr/local/etc/dovecot/dovecot.conf # OS: Linux 5.9.0-rc5 x86_64 Ubuntu 20.04.2 LTS # Hostname: superman.sillywalk.org auth_debug = yes auth_debug_passwords = yes auth_mechanisms = plain login auth_verbose = yes auth_verbose_passwords = plain debug_log_path = /var/log/dovecot-debug.log info_log_path = /var/log/dovecot-info.log log_path = /var/log/dovecot.log mail_debug = yes mail_location = maildir:~/Maildir/ mbox_write_locks = fcntl 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 pop3 service auth { unix_listener /var/spool/postfix/private/auth { group = mail mode = 0660 user = postfix } } ssl_cert = </etc/letsencrypt/live/maindomain.fi/fullchain.pem ssl_key = # hidden, use -P to show it userdb { driver = passwd } protocol imap { imap_metadata = yes } local_name businessdomain.fi { ssl_cert = </etc/letsencrypt/live/businessdomain.fi/fullchain.pem ssl_key = # hidden, use -P to show it } local_name businessdomain.com { ssl_cert = </etc/letsencrypt/live/businessdomain.com/fullchain.pem ssl_key = # hidden, use -P to show it } local_name maindomain.fi { ssl_cert = </etc/letsencrypt/live/maindomain.fi/fullchain.pem ssl_key = # hidden, use -P to show it }
I assume you are refering to incomming mail. I had sometimes similar issues with mbox and having sendmail deliver straight to the mbox file. When I switched to delivering to lmtp, I never encountered it anymore. Just put this lmtp inbetween.
-----Original Message----- From: dovecot <dovecot-bounces@dovecot.org> On Behalf Of gmail Sent: 14 March 2021 23:30 To: dovecot@dovecot.org Subject: Re: Latest dovecot does not work with latest MUA (thunderbird)
Stuart Henderson kirjoitti 14.3.2021 klo 23.38:
On 2021-03-14, lja@koti <lja@lja.fi> wrote:
# 2.3.7.2 (3c910f64b): /etc/dovecot/dovecot.conf That's nowhere near the latest Dovecot.
Updated dovecot to bleeding edge, and still got same issue.
# 2.4.devel (b0f498b69): /usr/local/etc/dovecot/dovecot.conf # OS: Linux 5.9.0-rc5 x86_64 Ubuntu 20.04.2 LTS # Hostname: superman.sillywalk.org auth_debug = yes auth_debug_passwords = yes auth_mechanisms = plain login auth_verbose = yes auth_verbose_passwords = plain debug_log_path = /var/log/dovecot-debug.log info_log_path = /var/log/dovecot-info.log log_path = /var/log/dovecot.log mail_debug = yes mail_location = maildir:~/Maildir/ mbox_write_locks = fcntl 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 pop3 service auth { unix_listener /var/spool/postfix/private/auth { group = mail mode = 0660 user = postfix } } ssl_cert = </etc/letsencrypt/live/maindomain.fi/fullchain.pem ssl_key = # hidden, use -P to show it userdb { driver = passwd } protocol imap { imap_metadata = yes } local_name businessdomain.fi { ssl_cert = </etc/letsencrypt/live/businessdomain.fi/fullchain.pem ssl_key = # hidden, use -P to show it } local_name businessdomain.com { ssl_cert = </etc/letsencrypt/live/businessdomain.com/fullchain.pem ssl_key = # hidden, use -P to show it } local_name maindomain.fi { ssl_cert = </etc/letsencrypt/live/maindomain.fi/fullchain.pem ssl_key = # hidden, use -P to show it }
I think i found cultpir: PAM is not compiled in, now i'm compiling new version that has PAM in.
Marc kirjoitti 15.3.2021 klo 10.43:
I assume you are refering to incomming mail. I had sometimes similar issues with mbox and having sendmail deliver straight to the mbox file. When I switched to delivering to lmtp, I never encountered it anymore. Just put this lmtp inbetween.
-----Original Message----- From: dovecot <dovecot-bounces@dovecot.org> On Behalf Of gmail Sent: 14 March 2021 23:30 To: dovecot@dovecot.org Subject: Re: Latest dovecot does not work with latest MUA (thunderbird)
Stuart Henderson kirjoitti 14.3.2021 klo 23.38:
On 2021-03-14, lja@koti <lja@lja.fi> wrote:
# 2.3.7.2 (3c910f64b): /etc/dovecot/dovecot.conf That's nowhere near the latest Dovecot.
Updated dovecot to bleeding edge, and still got same issue.
# 2.4.devel (b0f498b69): /usr/local/etc/dovecot/dovecot.conf # OS: Linux 5.9.0-rc5 x86_64 Ubuntu 20.04.2 LTS # Hostname: superman.sillywalk.org auth_debug = yes auth_debug_passwords = yes auth_mechanisms = plain login auth_verbose = yes auth_verbose_passwords = plain debug_log_path = /var/log/dovecot-debug.log info_log_path = /var/log/dovecot-info.log log_path = /var/log/dovecot.log mail_debug = yes mail_location = maildir:~/Maildir/ mbox_write_locks = fcntl 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 pop3 service auth { unix_listener /var/spool/postfix/private/auth { group = mail mode = 0660 user = postfix } } ssl_cert = </etc/letsencrypt/live/maindomain.fi/fullchain.pem ssl_key = # hidden, use -P to show it userdb { driver = passwd } protocol imap { imap_metadata = yes } local_name businessdomain.fi { ssl_cert = </etc/letsencrypt/live/businessdomain.fi/fullchain.pem ssl_key = # hidden, use -P to show it } local_name businessdomain.com { ssl_cert = </etc/letsencrypt/live/businessdomain.com/fullchain.pem ssl_key = # hidden, use -P to show it } local_name maindomain.fi { ssl_cert = </etc/letsencrypt/live/maindomain.fi/fullchain.pem ssl_key = # hidden, use -P to show it }
Running and working installation by following:
# 2.3.7.2 (3c910f64b): /etc/dovecot/dovecot.conf # Pigeonhole version 0.5.7.2 () # OS: Linux 5.9.0-rc5-lja-tv+ x86_64 Ubuntu 20.04.2 LTS # Hostname: superman.sillywalk.org auth_debug = yes auth_debug_passwords = yes auth_mechanisms = plain login auth_username_format = %Ln auth_verbose = yes auth_verbose_passwords = plain debug_log_path = /var/log/dovecot-debug.log info_log_path = /var/log/dovecot-info.log log_path = /var/log/dovecot.log mail_debug = yes mail_location = maildir:~/Maildir/ mbox_write_locks = fcntl 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 pop3 lmtp service auth { unix_listener /var/spool/postfix/private/auth { group = mail mode = 0660 user = postfix } } service lmtp { unix_listener /var/spool/postfix/private/dovecot-lmtp { group = mail mode = 0660 user = postfix } } ssl_cert = </etc/letsencrypt/live/lja.fi/fullchain.pem ssl_dh = # hidden, use -P to show it ssl_key = # hidden, use -P to show it userdb { args = username_format=%Ln driver = passwd } protocol lmtp { postmaster_address = postmaster@localhost } protocol imap { imap_metadata = yes } local_name paxsudos.fi { ssl_cert = </etc/letsencrypt/live/paxsudos.fi/fullchain.pem ssl_dh = # hidden, use -P to show it ssl_key = # hidden, use -P to show it } local_name paxsudos.com { ssl_cert = </etc/letsencrypt/live/paxsudos.com/fullchain.pem ssl_dh = # hidden, use -P to show it ssl_key = # hidden, use -P to show it } local_name lja.fi { ssl_cert = </etc/letsencrypt/live/lja.fi/fullchain.pem ssl_dh = # hidden, use -P to show it ssl_key = # hidden, use -P to show it }
Postfix condifuration:
alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases append_dot_mydomain = no biff = no compatibility_level = 2 inet_interfaces = all inet_protocols = ipv4 mailbox_size_limit = 51200000 mailbox_transport = lmtp:unix:private/dovecot-lmtp mydestination = $myhostname $mydomain paxsudos.fi paxsudos.com localhost.$mydomain localhost.localdomain localhost mydomain = lja.fi myhostname = mail.lja.fi mynetworks = 127.0.0.0/8 192.168.1.0/24 myorigin = lja.fi recipient_delimiter = + relayhost = [smtp.dnainternet.net]:465 smtp_tls_ciphers = high smtp_tls_security_level = encrypt smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache smtp_tls_wrappermode = yes smtp_use_tls = yes smtpd_sasl_auth_enable = yes smtpd_sasl_path = private/auth smtpd_sasl_type = dovecot smtpd_tls_CAfile = /etc/letsencrypt/live/lja.fi/chain.pem smtpd_tls_cert_file = /etc/letsencrypt/live/lja.fi/fullchain.pem smtpd_tls_ciphers = high smtpd_tls_key_file = /etc/letsencrypt/live/lja.fi/privkey.pem smtpd_tls_loglevel = 2 virtual_maps = hash:/etc/postfix/virtual virtual_transport = lmtp:unix:private/dovecot-lmtp
WORKS LIKE A CHARM :) ... thank you for pointing me the lmtp :) ..
Works with Thunderbird 78.8.1 (latest release)
-- Lauri Jakku
Marc kirjoitti 15.3.2021 klo 10:43:
I assume you are refering to incomming mail. I had sometimes similar issues with mbox and having sendmail deliver straight to the mbox file. When I switched to delivering to lmtp, I never encountered it anymore. Just put this lmtp inbetween.
-----Original Message----- From: dovecot <dovecot-bounces@dovecot.org> On Behalf Of gmail Sent: 14 March 2021 23:30 To: dovecot@dovecot.org Subject: Re: Latest dovecot does not work with latest MUA (thunderbird)
Stuart Henderson kirjoitti 14.3.2021 klo 23.38:
On 2021-03-14, lja@koti <lja@lja.fi> wrote:
# 2.3.7.2 (3c910f64b): /etc/dovecot/dovecot.conf That's nowhere near the latest Dovecot.
Updated dovecot to bleeding edge, and still got same issue.
# 2.4.devel (b0f498b69): /usr/local/etc/dovecot/dovecot.conf # OS: Linux 5.9.0-rc5 x86_64 Ubuntu 20.04.2 LTS # Hostname: superman.sillywalk.org auth_debug = yes auth_debug_passwords = yes auth_mechanisms = plain login auth_verbose = yes auth_verbose_passwords = plain debug_log_path = /var/log/dovecot-debug.log info_log_path = /var/log/dovecot-info.log log_path = /var/log/dovecot.log mail_debug = yes mail_location = maildir:~/Maildir/ mbox_write_locks = fcntl 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 pop3 service auth { unix_listener /var/spool/postfix/private/auth { group = mail mode = 0660 user = postfix } } ssl_cert = </etc/letsencrypt/live/maindomain.fi/fullchain.pem ssl_key = # hidden, use -P to show it userdb { driver = passwd } protocol imap { imap_metadata = yes } local_name businessdomain.fi { ssl_cert = </etc/letsencrypt/live/businessdomain.fi/fullchain.pem ssl_key = # hidden, use -P to show it } local_name businessdomain.com { ssl_cert = </etc/letsencrypt/live/businessdomain.com/fullchain.pem ssl_key = # hidden, use -P to show it } local_name maindomain.fi { ssl_cert = </etc/letsencrypt/live/maindomain.fi/fullchain.pem ssl_key = # hidden, use -P to show it }
Stuart Henderson kirjoitti 14.3.2021 klo 23.38:
On 2021-03-14, lja@koti <lja@lja.fi> wrote: >> # 2.3.7.2 (3c910f64b): /etc/dovecot/dovecot.conf > That's nowhere near the latest Dovecot. > > Updated dovecot to bleeding edge, and still got same issue.
# 2.4.devel (b0f498b69): /usr/local/etc/dovecot/dovecot.conf # OS: Linux 5.9.0-rc5 x86_64 Ubuntu 20.04.2 LTS # Hostname: superman.sillywalk.org auth_debug = yes auth_debug_passwords = yes auth_mechanisms = plain login auth_verbose = yes auth_verbose_passwords = plain debug_log_path = /var/log/dovecot-debug.log info_log_path = /var/log/dovecot-info.log log_path = /var/log/dovecot.log mail_debug = yes mail_location = maildir:~/Maildir/ mbox_write_locks = fcntl 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 pop3 service auth { unix_listener /var/spool/postfix/private/auth { group = mail mode = 0660 user = postfix } } ssl_cert = </etc/letsencrypt/live/maindomain.fi/fullchain.pem ssl_key = # hidden, use -P to show it userdb { driver = passwd } protocol imap { imap_metadata = yes } local_name businessdomain.fi { ssl_cert = </etc/letsencrypt/live/businessdomain.fi/fullchain.pem ssl_key = # hidden, use -P to show it } local_name businessdomain.com { ssl_cert = </etc/letsencrypt/live/businessdomain.com/fullchain.pem ssl_key = # hidden, use -P to show it } local_name maindomain.fi { ssl_cert = </etc/letsencrypt/live/maindomain.fi/fullchain.pem ssl_key = # hidden, use -P to show it }
postconf -n:
Stuart Henderson kirjoitti 14.3.2021 klo 23.38:
On 2021-03-14, lja@koti <lja@lja.fi> wrote:
# 2.3.7.2 (3c910f64b): /etc/dovecot/dovecot.conf That's nowhere near the latest Dovecot.
Updated dovecot to bleeding edge, and still got same issue.
# 2.4.devel (b0f498b69): /usr/local/etc/dovecot/dovecot.conf # OS: Linux 5.9.0-rc5 x86_64 Ubuntu 20.04.2 LTS # Hostname: superman.sillywalk.org auth_debug = yes auth_debug_passwords = yes auth_mechanisms = plain login auth_verbose = yes auth_verbose_passwords = plain debug_log_path = /var/log/dovecot-debug.log info_log_path = /var/log/dovecot-info.log log_path = /var/log/dovecot.log mail_debug = yes mail_location = maildir:~/Maildir/ mbox_write_locks = fcntl 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 pop3 service auth { unix_listener /var/spool/postfix/private/auth { group = mail mode = 0660 user = postfix } } ssl_cert = </etc/letsencrypt/live/maindomain.fi/fullchain.pem ssl_key = # hidden, use -P to show it userdb { driver = passwd } protocol imap { imap_metadata = yes } local_name businessdomain.fi { ssl_cert = </etc/letsencrypt/live/businessdomain.fi/fullchain.pem ssl_key = # hidden, use -P to show it } local_name businessdomain.com { ssl_cert = </etc/letsencrypt/live/businessdomain.com/fullchain.pem ssl_key = # hidden, use -P to show it } local_name maindomain.fi { ssl_cert = </etc/letsencrypt/live/maindomain.fi/fullchain.pem ssl_key = # hidden, use -P to show it }
On 15/03/2021 00:33 gmail <ljakku77@gmail.com> wrote:
Stuart Henderson kirjoitti 14.3.2021 klo 23.38:
On 2021-03-14, lja@koti <lja@lja.fi> wrote: >> # 2.3.7.2 (3c910f64b): /etc/dovecot/dovecot.conf > That's nowhere near the latest Dovecot. > >Updated dovecot to bleeding edge, and still got same issue.
# 2.4.devel (b0f498b69): /usr/local/etc/dovecot/dovecot.conf
Some basic debug things to do:
Check your /var/log/dovecot*.log to see what happens with that folder.
Also check the filesystem if "postfix" is really delivering mail to the Sent folder. Although normally MUA stores sent mails.
Aki
I think i found cultpir: PAM is not compiled in, now i'm compiling new version that has PAM in.
Aki Tuomi kirjoitti 15.3.2021 klo 9.18:
On 15/03/2021 00:33 gmail <ljakku77@gmail.com> wrote:
Stuart Henderson kirjoitti 14.3.2021 klo 23.38:
On 2021-03-14, lja@koti <lja@lja.fi> wrote: >> # 2.3.7.2 (3c910f64b): /etc/dovecot/dovecot.conf > That's nowhere near the latest Dovecot. > >Updated dovecot to bleeding edge, and still got same issue.
# 2.4.devel (b0f498b69): /usr/local/etc/dovecot/dovecot.conf
Some basic debug things to do:
Check your /var/log/dovecot*.log to see what happens with that folder.
Also check the filesystem if "postfix" is really delivering mail to the Sent folder. Although normally MUA stores sent mails.
Aki
participants (5)
-
Aki Tuomi
-
gmail
-
lja@koti
-
Marc
-
Stuart Henderson