Monday 21 January 2019

SMTP Check on Linux

bash-2.05$ telnet <your mail server> 25
Trying 127.0.0.1...
Connected to server.
Escape character is '^]'.
220 server ESMTP Exim 3.35 #1 Wed, 07 May 2003 11:27:45 +0100


HELO eMonster
250 server Hello emonster [127.0.0.1]

MAIL From:<Sender email address>
250 <your email address> is syntactically correct

RCPT To:<Receiver email address>
250 <Receiver email address> is syntactically correct

DATA
354 Enter message, ending with "." on a line by itself
This is a test email

From,
Enter some text ....
.
250 OK id=19DMAH-0003tv-00
^]
telnet> quit
Connection to server closed.
bash-2.05$

No comments:

Post a Comment