I'm trying to send an email establishing a telnet connection with the smtp server. I succeed to establish the connection with the port 587, the authentication works, I enter the
mail from: <>, the
rcpt to:<> and it works.
Finally, when I type the data, enter the dot and type enter, I receive a message saying :
550 5.5.0 Service refuse. Service refused, please try later. LPN105_510
I'm trying to understand why it doesn't accept to send my email. I tried by establishing a TLS connection, it didn't work. I'm thinking it might be because of the "domain" I'm giving after the
ehlo (localhost), but I have read that it was not important. If it was because of my IP address, I would not be allowed to get so far (connection + authentication). My ATM would do exactly the same operation, right ?
I really don't see what it can be. Here is the connection sequence :
Connected to smtp.laposte.net. Escape character is '^]'. 220 lpn-prd-vrin003 ESMTP Postfix (Ubuntu) ehlo localhost 250-lpn-prd-vrin003 250-PIPELINING 250-SIZE 26214400 250-VRFY 250-ETRN 250-STARTTLS 250-AUTH PLAIN LOGIN 250-ENHANCEDSTATUSCODES 250-8BITMIME 250 DSN auth login 334 VXNlcm5hbWU6 xxxxxxxxxxxxxxxx 334 UGFzc3dvcmQ6 xxxxxxxxxxxxxxxx 235 2.7.0 Authentication successful mail from: <firstname.lastname@example.org> 250 2.1.0 Ok rcpt to: <email@example.com> 250 2.1.5 Ok data 354 End data with <CR><LF>.<CR><LF> Test . 550 5.5.0 Service refuse ,service refused, please try later.