On 06/05/2021 17.10, Mostapha Bouderka wrote: > Thanks Kasper, it works right now. > I changed the port to '587', and now it works perfectly. >
Good to hear. In case you or someone else are wondering, port 465 is used for TLS/SSL communication, whereas 587 is used for STARTTLS which is something slightly different. I can only assume that you tried to telnet to port 587 since you'll only get a welcome banner like the one you showed if the communication is initially plaintext. The communication will only be encrypted once you issue a STARTTLS command on that port. Using port 465 requires an initial SSL/TLS handshake (non-plaintext) similar to HTTPS, so you'll not get any human readable output there. To be honest I don't really understand why you would get a timeout error in the first place. Sending a command like "STARTTLS" or similar to a connection that expects a TLS handshake would most likely just make the server go "I have no idea what you're talking about, goodbye", ie. close the connection. Anyway, glad it worked out for you and hope my debugging tips helped a bit :-) Kind regards, Kasper Laudrup -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/955c8087-1e16-6c52-98b4-4cda7491789d%40stacktrace.dk.
OpenPGP_signature
Description: OpenPGP digital signature

