Latest dovecot does not work with latest MUA (thunderbird)

gmail ljakku77 at gmail.com
Wed Mar 17 17:21:08 EET 2021


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 at 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 at dovecot.org> On Behalf Of gmail
>> Sent: 14 March 2021 23:30
>> To: dovecot at 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 at koti <lja at 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
>> }


More information about the dovecot mailing list