Pages

Sunday, February 8, 2015

Sending mail from Linux server via putty



login as: listeruser
listeruser@10.106.20.241's password:
Welcome to Ubuntu 12.04.4 LTS (GNU/Linux 3.11.0-20-generic x86_64)
 * Documentation:  https://help.ubuntu.com/
  System information as of Mon Feb  9 12:02:30 IST 2015
  System load:  0.02               Processes:           107
  Usage of /:   11.4% of 35.31GB   Users logged in:     0
  Memory usage: 32%                IP address for eth0: 10.106.20.241
  Swap usage:   3%
  => There is 1 zombie process.

  Graph this data and manage this system at:
    https://landscape.canonical.com/

New release '14.04.1 LTS' available.
Run 'do-release-upgrade' to upgrade to it.
You have mail.
Last login: Fri Jan 30 10:40:35 2015 from lt-pc-389.lister.lan
$ telnet 10.106.20.253 25
Trying 10.106.20.253...
Connected to 10.106.20.253.
Escape character is '^]'.
220 l-intra.lister.lan ESMTP Postfix (Ubuntu)
ehlo srv1.lister.net
250-l-intra.lister.lan
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-STARTTLS
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
MAIL FROM:rathinasamy.raju@domain.com
250 2.1.0 Ok
RCPT TO:rathinasamy.raju@domain.com
250 2.1.5 Ok
data
354 End data with <CR><LF>.<CR><LF>
This is the test messsage from console..
250 2.0.0 Ok: queued as 2871F440A7B
bye
502 5.5.2 Error: command not recognized
quit
221 2.0.0 Bye
Connection closed by foreign host.
$

2 comments: