ostraaten
asked on
How to end my telnet test email using <CRLF>.<CRLF>
I'm trying to send an test email using telnet on a redhat Linux enterprise server.
I have started my telnet session with success. mail from, rcpt etc, all succesfull. The problem is that the servers tells met to end the email with <CRLF>.<CRLF>.
How can I do that. What buttons should I actually press to achieve this?
I have started my telnet session with success. mail from, rcpt etc, all succesfull. The problem is that the servers tells met to end the email with <CRLF>.<CRLF>.
How can I do that. What buttons should I actually press to achieve this?
[apps@src-root-as12 ~]$ telnet smtp.resultinfra.com 25
Trying 10.20.178.114...
Connected to smtp.resultinfra.com (10.20.178.114).
Escape character is '^]'.
220 src-root-dc02.rinfra.com Microsoft ESMTP MAIL Service, Version: 6.0.3790.1830 ready at Mon, 19 May 2008 15:01:43 +0200
ehlo test
250-src-root-dc02.rinfra.com Hello [10.20.176.30]
250-TURN
250-SIZE 2097152
250-ETRN
250-PIPELINING
250-DSN
250-ENHANCEDSTATUSCODES
250-8bitmime
250-BINARYMIME
250-CHUNKING
250-VRFY
250 OK
mail from: onno.van.der.straaten@logica.com
250 2.1.0 onno.van.der.straaten@logica.com....Sender OK
rcpt to: onno.van.der.straaten@logica.com
250 2.1.5 onno.van.der.straaten@logica.com
data
354 Start mail input; end with <CRLF>.<CRLF>
test
test
...
...
..
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
OK, thanks that worked, I get the message
250 2.6.0 <SRC-ROOT-DC02zFD4LX000023 f3@src-roo t-dc02.rin fra.com> Queued mail for delivery
Now I am not receiving my test email, this means that I should take a look at the configuration of the SMTP server?
250 2.6.0 <SRC-ROOT-DC02zFD4LX000023
Now I am not receiving my test email, this means that I should take a look at the configuration of the SMTP server?
Check the mail log... and the mail queue....
SMTP is for mail sending, POP or IMAP is for receiving.
To tell the mail server that you have completed the message enter a single "." on a line on it's own.
The mail server should reply with:
10.20.178.114???????? Message accepted for delivery
You can close the connection by issuing the QUIT command.
The mailserver should reply with something like:
221 2.0.0 mail.domain.ext closing connection
Connection closed by foreign host.
For more details you may see:
http://www.yuki-onna.co.uk/email/smtp.html