Thunderbird Could not connect to server

My wife’s MacBook Pro running macOS 10.14.3 suddenly developed a problem with Thunderbird 60.7.0.

It cannot connect to any email server and produces an error “Could not connect to server” “The connection was ref…”

I have checked the email accounts, and can logon from Google Chrome on my iMac and on her computer.

What steps can we take to resolve this without losing existing emails?

Ubuntu, postfix, dovecot mail server cannot configure with Outlook or Thunderbird mail client

I have successfully configured my email server with digital-ocean ubuntu 18.04 LEMP droplet and everything work fine so far. I can send & receive email and also successfully configured with round-cube webmail client. I used Mailgun as an SMTP relay.

But when I tried to connect to a mailbox in my mail server through outlook or Thunderbird, it keep on saying that the client failed to find the settings for the account. I tried to do the configuration manually and still giving me the same error.

Any help or suggestion would be appreciable.

Output of postconf -n

alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases append_dot_mydomain = no biff = no compatibility_level = 2 dovecot_destination_recipient_limit = 1 inet_interfaces = all inet_protocols = all mailbox_size_limit = 0 mydestination = mail.myservername.com, localhost.localdomain, localhost myhostname = myservername.com mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 readme_directory = no recipient_delimiter = + relayhost = [smtp.mailgun.org]:587 smtp_sasl_auth_enable = yes smtp_sasl_password_maps = static:postmaster@mail.myservername.com:999999999-000000000000-9999999 smtp_sasl_security_options = noanonymous smtp_tls_note_starttls_offer = yes smtp_tls_security_level = may smtp_tls_session_cache_database = btree:$  {data_directory}/smtp_scache smtpd_banner = $  myhostname ESMTP $  mail_name (Ubuntu) smtpd_recipient_restrictions = permit_sasl_authenticated permit_mynetworks reject_unauth_destination smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated defer_unauth_destination smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key smtpd_tls_security_level = may smtpd_tls_session_cache_database = btree:$  {data_directory}/smtpd_scache smtpd_use_tls = yes virtual_mailbox_domains = myservername.com virtual_transport = dovecot 

Output of dovecot -n

mail_location = maildir:/var/mail/vmail/%d/%n/Maildir mail_privileged_group = mail managesieve_notify_capability = mailto managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date index ihave duplicate mime foreverypart extracttext 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 {   args = /etc/dovecot/dovecot-sql.conf.ext   driver = sql } plugin {   sieve = file:~/sieve;active=~/.dovecot.sieve } protocols = " imap sieve" service auth {   unix_listener /var/spool/postfix/private/auth {     group = postfix     mode = 0660     user = postfix   }   unix_listener auth-userdb {     mode = 0666     user = vmail   }   user = dovecot } service imap-login {   inet_listener imap {     port = 143   } } service imap {   process_limit = 1024 } ssl_cert = </etc/dovecot/private/dovecot.pem ssl_client_ca_dir = /etc/ssl/certs ssl_key =  # hidden, use -P to show it userdb {   args = uid=vmail gid=vmail home=/var/mail/vmail/%d/%n   driver = static } protocol lda {   mail_plugins = " sieve" } 

sudo nmap your-server-ip gives following output :

PORT    STATE  SERVICE 22/tcp  open   ssh 80/tcp  open   http 443/tcp closed https 587/tcp open   submission 

Configure postfix mail server with outlook or Thunderbird mail client

I have successfully configured and my email server with digital-ocean ubuntu 18.04 LEMP droplet and everything work fine so far. I can send & receive email and also successfully configured with round-cube webmail client. I used Mailgun as an SMTP relay.

But when I tried to connect to a mailbox in my mail server through outlook or Thunderbird keep on saying that the client failed to find the settings for the account. I tried to do the configuration manually and still giving me the same error.

Any help or suggestion would be helpful.

Output of postconf -n

alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases append_dot_mydomain = no biff = no compatibility_level = 2 dovecot_destination_recipient_limit = 1 inet_interfaces = all inet_protocols = all mailbox_size_limit = 0 mydestination = mail.myservername.com, localhost.localdomain, localhost myhostname = myservername.com mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 readme_directory = no recipient_delimiter = + relayhost = [smtp.mailgun.org]:587 smtp_sasl_auth_enable = yes smtp_sasl_password_maps = static:postmaster@mail.myservername.com:999999999-000000000000-9999999 smtp_sasl_security_options = noanonymous smtp_tls_note_starttls_offer = yes smtp_tls_security_level = may smtp_tls_session_cache_database = btree:$  {data_directory}/smtp_scache smtpd_banner = $  myhostname ESMTP $  mail_name (Ubuntu) smtpd_recipient_restrictions = permit_sasl_authenticated permit_mynetworks reject_unauth_destination smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated defer_unauth_destination smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key smtpd_tls_security_level = may smtpd_tls_session_cache_database = btree:$  {data_directory}/smtpd_scache smtpd_use_tls = yes virtual_mailbox_domains = myservername.com virtual_transport = dovecot 

Output of dovecot -n

mail_location = maildir:/var/mail/vmail/%d/%n/Maildir mail_privileged_group = mail managesieve_notify_capability = mailto managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date index ihave duplicate mime foreverypart extracttext 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 {   args = /etc/dovecot/dovecot-sql.conf.ext   driver = sql } plugin {   sieve = file:~/sieve;active=~/.dovecot.sieve } protocols = " imap sieve" service auth {   unix_listener /var/spool/postfix/private/auth {     group = postfix     mode = 0660     user = postfix   }   unix_listener auth-userdb {     mode = 0666     user = vmail   }   user = dovecot } service imap-login {   inet_listener imap {     port = 143   } } service imap {   process_limit = 1024 } ssl_cert = </etc/dovecot/private/dovecot.pem ssl_client_ca_dir = /etc/ssl/certs ssl_key =  # hidden, use -P to show it userdb {   args = uid=vmail gid=vmail home=/var/mail/vmail/%d/%n   driver = static } protocol lda {   mail_plugins = " sieve" } 

Thunderbird – unable to open email in inbox

I am running Thunderbird 60.6.1 on Bionic Beaver. The whole thing is a brand-new install a couple of days old.

The issue I have – which wasn’t there at the beginning – is that I do receive emails or RSS feeds in the inbox, but I cannot open them clicking or double-clicking.

If I right-click on a message and select ‘Open message in new tab’ that works fine. I tried to restart Thunderbird without add-ons but this does not seem to make any difference. Any idea?

Automatically remove old e-mail messages with Thunderbird (from IMAP server only, not locally)

Given

  • IMAP E-Mail provider/server with storage quota
  • Thunderbird e-mail client

I’d like to automatically remove the oldest messages from the server only (and keep them locally).

But Thunderbird only seems to allow removing old messages from both, the server and local copies. The following can be found in Account Settings > Synchronisation and Storage:

To recover disc space, old messages can be permanently deleted, both local copies and originals on the remote server.

partial screnshot

The same applies to Folder Properties > Retention Policy:

enter image description here

This post from 2010 suggests:

Set up a message filtersto move messages more than NN days old from the IMAP folders to folders under Local Folders created to receive them. Then right click on the name of the IMAP folder and select “Properties” from the context menu. Click on the “Retention Policy” tab and set the policy on that folder to delete messages more than NN days old.

but I have a feeling that what I would like to achieve would be a normal use case and as such there may be another solution. On the other hand, the archiving function apparently cannot be automated either while it would have to work in conjunction with the automatic deletion.

What am I missing?

This answer suggests using local folders which the Mozilla help / support search does not seem to be able find anything about (see http://kb.mozillazine.org/Local_Folders) and which I presume might cause complications when using several accounts.