I'm trying to send a mail with telnet. Everything seems to be OK but I don't receive the mail.
Here is what I do inside my terminal on Debian 8:
telnet localhost smtp
220 simon ESMTP Exim 4.84_2 Tue, 07 Jun 2016 18:45:24 +0200
HELO 85.170.206.70
250 simon Hello localhost [::1]
mail from: me@gmail.com
250 OK
rcpt to: simongarnier07@hotmail.fr
250 Accepted
data
354 Enter message, ending with "." on a line by itself
From: sender@example.com
To: recipient@example.com
Subject: Test message
content
.
250 OK id=1bAK8U-0002ej-DJ
QUIT
As you can see I get a SMTP status code 250 but I never receive any mail (even in the undesirable mails folder).
I also tested with RCPT to: <simongarnier07@hotmail.fr>
but without result.
What am I doing wrong?
/var/log/maillog
? – user1700494 Jun 07 '16 at 17:16exim -bp
might provide clues, too. – Stefan Schmiedl Jun 07 '16 at 17:30