I've been using OST for a while now and I love it! However, the emails being sent out by my installation all come from this email address when viewed in gmail: firstname.lastname@example.org
I am trying to set up SMTP for each email account to fix this. All of the email accounts are hosted within the same cPanel as the OST installation. I have double and triple checked the passwords / ports / server addresses and no matter what I get this error: Failed to connect to mail.mydomain.ext:465 [SMTP: Failed to connect socket: Connection refused (code: -1, response: )]
Things I have tried:
- Port 465 (SSL) and 587 (non-SSL)
- Authentication on and off (server requires authentication)
- tls:// and ssl:// before the mail.mydomain.ext
- With IMAP/POP3 enabled and disabled (Normally disabled as I use email piping)
- Variations of the above
- PHP 7
I have contacted my host and they don't see any security/firewall settings blocking the connection and have suggested that I come here.
Here are my OST settings:
osTicket Version: v1.10.4 (035fd0a)
Web Server Software: Apache
MySQL Version: 10.0.36
PHP Version: 5.6.38
Checking the logs I see almost entirely this line:
server ip - - [18/Nov/2018:13:35:01 -0500] "GET /api/cron.php HTTP/1.1" 200 68 "-" "Wget/1.12 (linux-gnu)"
But there are a few lines like these:
my ip - - [18/Nov/2018:13:39:24 -0500] "POST /scp/emails.php?id=4 HTTP/1.1" 200 3843 "https://mydomain.ext/scp/emails.php?id=4" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.102 Safari/537.36"
my ip - - [18/Nov/2018:13:39:26 -0500] "GET /scp/autocron.php HTTP/1.1" 200 45 "https://mydomain.ext/scp/emails.php?id=4" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.102 Safari/537.36"
Any and all help is greatly appreciated. Thanks so much for checking these forums.