I've been looking for an answer to this all over the internet, and sadly I've come nowhere near one.
Today I decided to write a SMTP server for sending/recieving emails from my RPi. I wanted to do it from scratch, so switching to Postfix is not an option. I've wrote my code on Java and all the connections are handled with sockets.
My server works like -as I understood- most SMTP servers work: - Email sender connets to my server on port 25. - I say "220 Hello, welcome to my server" - They then reply HELO or EHLO and so the communication goes on.
This has worked great so far with GMail, some anonymous email sending websites, mail.com, etc, but I can't make it work with Hotmail and Yahoo. They connect, I send them the "220 Hello, etc" line, but they don't reply HELO nor EHLO nor anything at all.
Yahoo has been trying to connect for a while now, but they don't reply anything at all. Neither does, again, Hotmail.
Do you know if they work in some special way, if I am messing something up with the protocol, or what could be happening?
Thank you very much.
EDIT Some other things: - I'm using a No-ip address. - I'm listening to ports 25, 465 and 587, and all of them have been opened in my router.