I installed osTicket v1.14.1 on my dedicated Windows 2012 R2 server. It is setup and everything except email seems to be working. On the email front, I have spent the past 2 days searching Google and the osTicket forum for any information that could help get this to work. I have tried every suggestion and have run out of things to try. I am hoping starting this thread that someone may have seen this before and can help me get this running. Any help is appreciated.

I’m trying to get the email settings page to save my settings. I want to use IMAP to retrieve emails and SMTP to send emails. Both of these protocols are active and setup with TLS on my mail server. Following is the information you request to be given for a new post.

Ran phpinfo.php and it shows IMAP in PHP is active:

We are using Smartermail 16 and TLS has been setup using our system SSL certificate which includes our mail.adjusterportal.com domain. Ports 25, 143, 465, 993 are all using TLS.

Clicked ‘Save Changes’ on the email settings page for my support@adjusterportal.com email and got this for port number SMTP port 25 TLS.

Tried it again using SMTP port 465 TLS

Tried it again for IMAP using port 143 TLS as well as port 993 and got same responses.

I then tested the mail server at https://www.checktls.com/ and TLS on port 25 works fine.


I then tested our IMAP service at https://pingability.com/mailtest.jsp and it worked as well.

For some unknown reason to me, osTicket seems unable to communicate with my mail server which I have verified is working properly.

Again, any help or suggestions would be greatly appreciated.

Are you seeing the connection attempts on the mailserver in the logs?
Are you running any firewall software on the webserver itself that might be blocking the connections?
Does the mailserver have any firewalls or connection restrictions for the webserver?

No connection attempts in the mailserver logs.
Have a firewall appliance in front of the server and Windows Firewall is also active. All noted ports are open on both.
I can't see this being a firewall issue as I am able to get to SMTP via checktls.com and to IMAP from pingability.

Rich

I tried to connect to ur server SMTP port 465 using telnet, it said failed.

Microsoft Telnet> open
( to ) mail.adjusterportal.com 465
Connecting To mail.adjusterportal.com...Could not open connection to the host, on port 465: Connect failed

Check ur firewall log.

And your IMAP configuration is oke.

Added port 465 to Smartermail for TLS on SMTP.

Was able to successfully Telnet into it.

Then tried osTicket and got:

Thanks

have u tried restart the httpd service of ur osticket server?
also, can u capture the traceroute result from ur osticket server to ur mail server?

I also suggest u to tried another mail server, to check where's the problem, is it ur mail server, firewall or ur installation.

Have restarted the service - No Change.
No need for a tracert - osTicket server and the mail Server are on the same box running in the same domain.
I don't think it is the mail server. I can actually pull IMAP mail from the mail server using other email clients - same with SMTP. The only one I can't even connect with is osTicket.

Thanks

do u have iptables rules installed?
try this :
#iptables --flush

This is a Windows 2012 R2 server
Thanks

Finally figured this one out. Since both the mail server and the osTicket server reside on the same box behind an external firewall which issues a non-public IP address for the box, I needed to set the 'HostName' of the mail server in osTicket email setup to the actual internal IP address. After that, it immediately started working.

Thanks for the help. You can close this ticket as Resolved!!

ntozier changed the title to [resolved] New installation v1.14.1 cannot get SMTP or IMAP to work..
Write a Reply...