Report this

What is the reason for this report?

The email has been received locally, but I couldn't read it through POP3 / imap?

Posted on March 31, 2022

Maillog doesn’t show any errors. I see a new email in my / home / mail / domain / user / new. I just can’t read the email by using the client or telnet 110 / 143. Dovecot info The log doesn’t seem to show any errors. I don’t know what to do. Everything shows that there seems to be no problem.dovecot.conf have some configurations: mail_location = maildir:/home/mail/%u/ userdb { driver = sql args = /etc/dovecot/dovecot-sql.conf } dovecot-sql.conf have some configurations: user_query = SELECT ‘/home/mail/’ || maildir AS home, 200 as uid, 12 as gid FROM mailbox WHERE username = ‘%u’ AND active = ‘1’ Other configurations should be irrelevant.Can anyone help me, because all the information seems to indicate that they are normal, but I can’t get the expected results.Thanks.



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi there,

Here are a few things that you could try out in order to troubleshoot the problem further:

  1. Check the email client settings:
  • Ensure that your email client is configured correctly to access your email using POP3 or IMAP.
  • Make sure you are using the correct server address, port, and encryption settings.
  • Double-check your username and password for authentication.
  1. Test the connection using Telnet or OpenSSL:

For POP3:

# Plain
telnet your_server_address 110

# SSL/TLS
openssl s_client -connect your_server_address:995

For IMAP:

# Plain
telnet your_server_address 143

# SSL/TLS
openssl s_client -connect your_server_address:993

Replace your_server_address with your actual server address.

  1. Verify Dovecot authentication settings:
  • Check your /etc/dovecot/conf.d/10-auth.conf file and ensure that the disable_plaintext_auth setting is set to no if you want to allow plain text authentication.
  • Make sure the correct authentication mechanisms are enabled in the auth_mechanisms setting.
  1. Examine Dovecot logs:
  • Check /var/log/dovecot/dovecot.log or /var/log/mail.log for any error messages or issues related to authentication or connection problems. If needed, increase the verbosity of the log by adding mail_debug = yes to your /etc/dovecot/dovecot.conf file and restarting Dovecot.
  1. Check your firewall settings:
  • Ensure that the ports required for POP3 and IMAP are open and not blocked by your firewall.

After going through these steps, if you still experience issues, please provide more information about your email client, the exact error messages you receive, and any relevant logs!

Best,

Bobby

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.