Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

osTicket v1.10 (stable) and Maintenance Release v1.9.15 are now available! Go get it now

SMTP SSL Issues

Hey there,

I have a huge problem with SMTP and SSL.


This is my config
osTicket-Versionv1.9.12 (19292ad) —  Up to date
Server-SoftwareApache
MySQL-Version5.6.17
PHP-Version5.6.18
My SMTP Provider is 1und1.de and doesnt allow plain auth
My configuration is
ssl://smtp.1und1.de
Port: 465
Auth: yes
No header spoofing

Mails get fetched over imap and ssl, no error message here.
SMTP Error Message: 
Failed to connect to ssl://smtp.1und1.de:465 [SMTP: Failed to connect socket: Connection timed out (code: -1, response: )]

I also tried to use tls://
I've tried to change that line in pear/net/smtp.php to 6.1.0
No way.

Thank you for your help in advance.
Tagged:

Comments

  • Well, unfortunatly that's not working.
    smtp.1und1.de is definitly the correct one.
    I am using it for years.

    There has been a change within 1und1 that they force you to use SSL.
    The Thread you are referencing is from Jan 2014 and their new SSL policy is valid since April 2014 or something.

    Any other suggestions?
  • edited March 2016
    The connection timed out means that you cannot reach the mail server. You should check your firewalls, and with your hosting provider to make sure that you are using the correct settings.


    After thought:
    Do you have command line access to the webserver?
    You could try to telnet smtp.1und1.de 465.  If you get a timeout as well its not osTicket or PHP.
  • You could also try downgrading to PHP 5.5 and seeing of that helps.
  • Same problem here. Using Strato as an provider I have to use SSL/TLS but osTicket can't connect. I get the error:
    authentication failure [SMTP: STARTTLS failed (code: 220, response: Ready to start TLS)]
  • @stephen1818 that is not even the same error message...  Please start your own thread. 

    Please help us to help you by reading and following the posting guidelines located in this thread: Please read before requesting assistance.  The more information you give us the better we will be able to assist you. Thank you.
  • @ntozier Shame on me. I beg your pardon. Was probably a little overzealous.
  • No worries. :)
  • The Webserver has a connection to the Mailserver.
    IMAP is working fine, only SMTP with SSL is struggeling.

    Everything is deployed at the same hosting company.

    Are there any other steps to get closer to the actual problem.
  • Did you try any of the step that I suggested to you in the last couple posts I made to you?

    Here they are again:
    The connection timed out means that you cannot reach the mail server.
    You should check your firewalls, and with your hosting provider to make
    sure that you are using the correct settings.

    After thought:
    Do you have command line access to the webserver?
    You could try to telnet smtp.1und1.de 465.  If you get a timeout as well its not osTicket or PHP.

    You could also try downgrading to PHP 5.5 and seeing of that helps.
Sign In or Register to comment.