Mr_Roboto

Well-Known Member
Feb 26, 2016
47
0
56
Toronto
cPanel Access Level
Website Owner
Hi, I want to have my NAS access IMAP, I'm informed that I have to open my IMAP port as there is no option within the NAS software to do this. I would like to know how to open the port so the NAS which has it's own email client can access the same IMAP port etc as is with cPanel ?
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
12,481
1,966
363
cPanel Access Level
Root Administrator
Hey there! By default, all ports for email are open on a cPanel server, and the Exim service is listening on that for mail delivery. By default this is port 993 for secure IMAP, and we can see that running with this command:

Code:
# netstat -lpn | grep 993
tcp        0      0 0.0.0.0:993             0.0.0.0:*               LISTEN      1627803/dovecot     
tcp6       0      0 :::993                  :::*                    LISTEN      1627803/dovecot
Can you check your server and see if that port is running? If so, I'd expect any system with a functional mailserver to be able to connect with no modifications to cPanel or the server necessary.
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
12,481
1,966
363
cPanel Access Level
Root Administrator
You would need to check both machines to ensure they are open, as if it is blocked in either location it won't work properly.

If you're not familiar with SSH, you can use the WHM >> Terminal application for the cPanel server as that is a browser-based interface for an SSH connection. You may need to speak with your hosting provider or datacenter to find out how you can access SSH on the NAS machine.
 

Mr_Roboto

Well-Known Member
Feb 26, 2016
47
0
56
Toronto
cPanel Access Level
Website Owner
I was able to SSH the server and everything is good. Therefore how do I setup mail server plus so that it will retrieve all emails from my server by means of IMAP ?
My attempts at setting up my IMAP server in mail server plus for mail plus are not working.
 

Mr_Roboto

Well-Known Member
Feb 26, 2016
47
0
56
Toronto
cPanel Access Level
Website Owner
I want to connect all emails on the server. Within Mail plus there is mail migration which I have setup which is a task and its setup as an IMAP server; as well as the server address and the port. Although none of the email accounts when starting mail plus are showing the emails on the server by means of IMAP ?
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
12,481
1,966
363
cPanel Access Level
Root Administrator
I'm not aware of a tool that would be able to download all server emails over an IMAP connection. I'm not finding much when I search for "mail server plus" - do you have a link to that tool so I could see the documentation?
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
12,481
1,966
363
cPanel Access Level
Root Administrator
It's not completely clear to me from reading that, but looking at the details here where they talk about licensing (Synology MailPlus Quick Start Guide for administrators - Synology Knowledge Center) it is designed to use IMAP on a user basis, so each email account gets configured separately.

It would be best to reach out to MailPlus directly to get clarification. I can confirm that if the tool uses standard SMTP and IMAP, cPanel works out of the box with those configurations.