Problems with connecting Thunderbird client to dovecot installed on Ubuntu

821

Solution 1

Troubleshoot your IMAP server first. Just beware, do it over a secure connection, because all your credentials are sent plaintext.

telnet your.mail.server.com 143

. login username password

. list "" "*"

. select INBOX

. fetch 1:* flags

To read the body of the first message in the current selected folder:

. fetch 1 rfc822.text

Or just see here for more examples:

Accessing IMAP email accounts using telnet

If that stuff doesn't work, that's proof positive that Dovecot is not correctly configured.

Solution 2

That mail is delivered to ~/Maildir does not mean Dovecot works at all – Dovecot only handles IMAP, not SMTP or delivery.

  • Fix your mail_location. You say that your mail is delivered to ~/Maildir, yet your Dovecot is configured to look in ~/mail and /var/mail/%u. Change mail_location to maildir:~/Maildir.

  • Make sure your PAM configuration in /etc/pam.d/dovecot is correct.

  • Look for any error messages in /var/log/syslog and /var/log/auth.log (authentication errors usually go to the latter).

Share:
821

Related videos on Youtube

Satheesh
Author by

Satheesh

Updated on September 18, 2022

Comments

  • Satheesh
    Satheesh over 1 year

    I am looking for way to assign output of a command to a batch variable, but the command internally uses another variable.

    When i use the solution specified in Assign Command output to Variable in Batch file

    I am getting error that the variable inside the command was not expected at this time.

    Please help

    • user1686
      user1686 almost 13 years
      Next time please post output of dovecot -n, rather than the entire config file.
    • Ryan Bemrose
      Ryan Bemrose about 9 years
      It would help to know what command you're trying to use, and exactly how it isn't working.
  • Michael Omer
    Michael Omer almost 13 years
    Thanks. I've tried configuring both maildir:~/Maildir and maildir:/home/%u/Maildir, with no success.
  • Michael Omer
    Michael Omer almost 13 years
    Sorry, for the garbled comments, This is the first time I use Super User. Added adding additional information above. Thanks.