[GH-ISSUE #1142] How to connect to IMAP/SMTP after installation? #942

Open
opened 2026-02-27 11:14:23 +03:00 by kerem · 8 comments
Owner

Originally created by @brylie on GitHub (Jun 17, 2017).
Original GitHub issue: https://github.com/modoboa/modoboa/issues/1142

Impacted versions

  • Modoboa: 1.7.4
  • installer used: Yes

Steps to reproduce

  1. complete installer
  2. log in as admin user
  3. create domain
  4. create identity
  5. try to configure mail client

Current behavior

I cannot connect my mail client to the Modoboa server. I am also getting errors when running checks from MXtoolbox.

Thunderbird cannot seem to connect to the server via IMAP or SMTP, while MXtoolbox says it fails to connect to SMTP.

Expected behavior

There would be clear documentation about how to connect to the mail server with an IMAP/SMTP client.

Video/Screenshot link (optional)

The MX and DNSBL checks are currently passing:
screenshot_20170617_170852

However, Thunderbird cannot detect any settings for the domain:
screenshot_20170617_165528

Originally created by @brylie on GitHub (Jun 17, 2017). Original GitHub issue: https://github.com/modoboa/modoboa/issues/1142 # Impacted versions * Modoboa: 1.7.4 * installer used: Yes # Steps to reproduce 1. complete installer 2. log in as admin user 3. create domain 4. create identity 5. try to configure mail client # Current behavior I cannot connect my mail client to the Modoboa server. I am also getting errors when running checks from MXtoolbox. Thunderbird cannot seem to connect to the server via IMAP or SMTP, while MXtoolbox says it fails to connect to SMTP. # Expected behavior There would be clear documentation about how to connect to the mail server with an IMAP/SMTP client. # Video/Screenshot link (optional) The MX and DNSBL checks are currently passing: ![screenshot_20170617_170852](https://user-images.githubusercontent.com/17307/27253564-c18d9320-537f-11e7-9b8a-da52bcc74137.png) However, Thunderbird cannot detect any settings for the domain: ![screenshot_20170617_165528](https://user-images.githubusercontent.com/17307/27253467-c7265f3a-537d-11e7-9fc9-8aeba28381eb.png)
Author
Owner

@tonioo commented on GitHub (Jun 18, 2017):

Have you enabled automx during the installation? Try those settings:

  • SMTP: port 587, STARTTLS, normal auth
  • IMAP: port 143, STARTTLS, normal auth
<!-- gh-comment-id:309276441 --> @tonioo commented on GitHub (Jun 18, 2017): Have you enabled automx during the installation? Try those settings: * SMTP: port 587, STARTTLS, normal auth * IMAP: port 143, STARTTLS, normal auth
Author
Owner

@brylie commented on GitHub (Jun 18, 2017):

No, I didn't know to enable automx during the installation - although it sounds like a nice feature.

Thanks for the quick response. Would you consider adding these settings to some end-user facing screen or documentation, so there isn't any guesswork?

<!-- gh-comment-id:309277597 --> @brylie commented on GitHub (Jun 18, 2017): No, I didn't know to enable automx during the installation - although it sounds like a nice feature. Thanks for the quick response. Would you consider adding these settings to some end-user facing screen or documentation, so there isn't any guesswork?
Author
Owner

@tonioo commented on GitHub (Jun 18, 2017):

Yes, I can add something but I don't know where... FYI, automx is an auto configuration service.

<!-- gh-comment-id:309277689 --> @tonioo commented on GitHub (Jun 18, 2017): Yes, I can add something but I don't know where... FYI, automx is an auto configuration service.
Author
Owner

@brylie commented on GitHub (Jun 18, 2017):

FYI, automx is an auto configuration service.

Alright, cool. It seems that some of this could be ironed out by an installation 'wizard, which could explain various components to the end-user during the installation process.

I can add something but I don't know where

Full disclosure, I set up mail-in-a-box today, because I needed an SMTP server ASAP (we are deploying our service for usage tomorrow). mail-in-a-box has a full page of usage instructions, which are accessible from the user interface:

screen shot 2017-06-18 at 16 29 34-fullpage

<!-- gh-comment-id:309278014 --> @brylie commented on GitHub (Jun 18, 2017): > FYI, automx is an auto configuration service. Alright, cool. It seems that some of this could be ironed out by an installation 'wizard, which could explain various components to the end-user during the installation process. > I can add something but I don't know where Full disclosure, I set up *mail-in-a-box* today, because I needed an SMTP server ASAP (we are deploying our service for usage tomorrow). *mail-in-a-box* has a full page of usage instructions, which are accessible from the user interface: ![screen shot 2017-06-18 at 16 29 34-fullpage](https://user-images.githubusercontent.com/17307/27261047-d9155b44-5443-11e7-9f09-3679b9bc53df.png)
Author
Owner

@brylie commented on GitHub (Jun 18, 2017):

Perhaps usage instructions could be included on the domain detail page in a 'usage' panel?

<!-- gh-comment-id:309278297 --> @brylie commented on GitHub (Jun 18, 2017): Perhaps usage instructions could be included on the [domain detail](https://github.com/modoboa/modoboa/blob/master/modoboa/admin/templates/admin/domain_detail.html) page in a 'usage' panel?
Author
Owner

@tonioo commented on GitHub (Jun 19, 2017):

yes, that's one possible solution :)

<!-- gh-comment-id:309425182 --> @tonioo commented on GitHub (Jun 19, 2017): yes, that's one possible solution :)
Author
Owner

@Nodeswitch commented on GitHub (Jul 13, 2017):

We're having the same issue as above. We can connect to the web client for mail, but when I try to connect via Thunderbird, getting nothing.

Ports 25, 587, 143 and 993 are all set to listen and it looks like iptables is set to allow everything by default.

tcp        0      0 0.0.0.0:25              0.0.0.0:*               LISTEN      1616/master     
tcp        0      0 0.0.0.0:587             0.0.0.0:*               LISTEN      1616/master     
tcp        0      0 0.0.0.0:143             0.0.0.0:*               LISTEN      1309/dovecot    
tcp        0      0 0.0.0.0:993             0.0.0.0:*               LISTEN      1309/dovecot    

Automx was enabled at install. We've tried both automatic settings and using the open ports with different settings for authentication, but getting nowhere.

Running 1.8.1, but upgraded from a version installed back in April. Using a client has never worked, as far as we're aware.

<!-- gh-comment-id:315206980 --> @Nodeswitch commented on GitHub (Jul 13, 2017): We're having the same issue as above. We can connect to the web client for mail, but when I try to connect via Thunderbird, getting nothing. Ports 25, 587, 143 and 993 are all set to listen and it looks like iptables is set to allow everything by default. ``` tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 1616/master tcp 0 0 0.0.0.0:587 0.0.0.0:* LISTEN 1616/master tcp 0 0 0.0.0.0:143 0.0.0.0:* LISTEN 1309/dovecot tcp 0 0 0.0.0.0:993 0.0.0.0:* LISTEN 1309/dovecot ``` Automx was enabled at install. We've tried both automatic settings and using the open ports with different settings for authentication, but getting nowhere. Running 1.8.1, but upgraded from a version installed back in April. Using a client has never worked, as far as we're aware.
Author
Owner

@rebornweb commented on GitHub (Nov 11, 2019):

Modoboa does work on Thunderbird, just make sure you have open Inbound Port 993 open on your firewall/security for (IMAP/SMTP), that your username is: support@blah.com (email) and you have your Outbound ports open too! *So your security & ports are open both inbound and outbound correctly.

Peace

<!-- gh-comment-id:552328230 --> @rebornweb commented on GitHub (Nov 11, 2019): Modoboa does work on Thunderbird, just make sure you have open Inbound Port 993 open on your firewall/security for (IMAP/SMTP), that your username is: support@blah.com (email) and you have your Outbound ports open too! *So your security & ports are open both inbound and outbound correctly. Peace
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/modoboa-modoboa#942
No description provided.