mailx & "telnet localhost 25" syntax

sunhux G sunhux at gmail.com
Thu Feb 17 14:14:51 UTC 2011


I recall seeing somewhere but I've lost the commands / syntax:

I'm on a Linux box & would like to send a mail to another Linux box
using IP address (ie in the format
remote_recipient_id at IP_address_of_remote_box).

What's the full mailx command to do this (kindly include examples) ?


Also, I recall seeing someone issuing the following to send emails:
telnet localhost 25
HELO ...
..... TO:<...>
.........

What's the exact syntax/sequence of commands?


Thanks
U




More information about the redhat-list mailing list