Question

Postfix IMAP/SMTP problem on Roundcube - (Ubuntu 18.04)

Hello,

I installed postfix from this address for my server: https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-postfix-on-ubuntu-18-04

I can send and receive mail with SSH. There is no problem in this part.

Then i installed the Roundcube. All settings look green on Roundcube Webmail Installer and i can see my email address and password, and the field I will enter.

My problem starts here.

I cannot login to this field with my information. (Failed to connect to IMAP server) I also get an error when I enter this information on Roundcube Webmail Installer (Test SMTP config and Test IMAP config)

I made the settings like this; Server: localhost SMTP Port: 25 IMAP Port: 143

Where am I making mistakes. Please help me. Thanks.


Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hi @incegozmuratcan,

The Issues that you couldn’t be experiencing with Roundcube could be a lot. It’s gonna be best if we try and pinpoint it by enabling Roundcube’s debug function. To actually do so, you can add the following two lines in your config.inc.php file

$config['debug_level'] = 4;
$config['imap_debug'] = true;

Additionally, I noticed you were checking the tutorial without Dovecot. Without Dovecot, your Roundcube instance won’t be able to connect to your Postfix service. I’ll recommend checking the following tutorial as well :

https://www.digitalocean.com/community/tutorials/how-to-set-up-a-postfix-e-mail-server-with-dovecot

It will provide you with a way to configure Dovecotwith your Postfix service which will by my account fix the current experienced issues.

Regards, KDSys