Nov 21, 2007
Hello, this is my first post here so I hope I do nothing wrong.

Recently I have a little situation here that I cann't resolve by myself and I cann't find information related on google.

I have configured some email accounts using only IMAP, well at least only for receive because for send I need to use ordinary port 25 (SMTP). If I use a gmail IMAP account I see that it is using port 587 for sending emails. So I have arrived to the conclusion that my cpanel/whm is not correctly configured because when I try to put this port says "not connected"

Also on cpanel webmail configuration page says that info :

Supported Incoming Mail Protocols: POP3, POP3S (SSL/TLS), IMAP, IMAPS (SSL/TLS)
Supported Outgoing Mail Protocols: SMTP, SMTPS (SSL/TLS)

Anyone can give me a hand on this to resolve that. I want to send emails thruu IMAP ports, because I need that the emails must be stored on the sent folder on the server.


Well-Known Member
Dec 14, 2005
Planet Earth
IMAP protocol is used for email receiving. For email sending, SMTP protocol is used. If gmail is using port 587 for sending emails and if its secure then it means that they have configured secure SMTP at that port and normal SMTP at port 25.

If you want to use Secure SMTP, change the outgoing port to 465 and change the outgoing mailserver to server.hostname.com (Replace it with your real hostname and make sure that it resolves) and turn the Secure Authentication ON in the email client.

Same is the case with Secure IMAP/POP that runs on Secure IMAP (port 993) or Secure POP3 (port 995).


Well-Known Member
Oct 4, 2007
ok thank you. but why my sent emails are not storing on the sent folder in the server.
Depends on what program you use. I use IMAP these days over POP so all my emails are accessible from anywhere - using Thunderbird is far better for handling IMAP and storing said emails in the correct folders (such as sent/trash/etc.) over Windows Mail/Outlook/Outlook Express.

In Outlook Express or Mail I believe you have to make it a message rule on all outgoing mail, move to folder "Sent".

Using webmail such as horde should automatically put it in your sent box when things are sent.