I just cant make smtp sending email in osticket.
I always get error
Failed to connect to 123.123.123.123:587 [SMTP: Failed to connect socket: Connection timed out (code: -1, response: )]
I think problem is because certificate is self signed.
any idea how to solve this I use osticket 1.14.8

You would need to look at:

  • the firewall between your web server and the SMTP server to see if its getting blocked (most likely)
  • the logs on the SMTP server to see if they its getting blocked there.

I have already checked that. I have installed thunderbird and tested on it and it works, but not with osticket.

You installed Thunderbird on your web server and tested?

    ntozier
    yes
    whatever I tested it work but not on osticket. I have mailserver with self signed certificate and I think that is a problem.

      Dennism
      Dennism
      The error message you getting "SMTP: Failed to connect socket: Connection timed out" is something blocking on the firewall
      have you looked at logs to get a clue, is this a fresh install?
      can you try with an FQDN?
      check osTicket logs /scp/logs.php
      I am not sure SSL self-signed would cause that

      yes I tried all of that, setup the same email settings in other webapp and it work. Checked all logs and no usefull info. I solved a problem with installing postfix on the server where osticket is installed and setup port 25 localhost for outgoing emails. And now it work.

      Write a Reply...