[CentOS] Emailing from Command Line

Sat Jul 15 00:01:36 UTC 2006
Karanbir Singh <mail-lists at karan.org>

Mark Schoonover wrote:
> Karanbir Singh wrote:
>> Mark Schoonover wrote:
>>>    ----- Transcript of session follows -----
>>> 550 5.1.2 <admins at amgt.com>... Host unknown (Name server: amgt.com:
>>> no data +known) 
>> is sendmail aware of your actual manchine hostname and howto handle
>> emails for this domain ?
> Beats me, I'm a qmail guy, not sendmail. The part I'm confused about is
> ssmtp should handle things w/o an MTA running...

sendmail on the local machine should know what the hostname is. its
possible that ssmtp isnt where the problem is but the smtp hander on the
Rx end of things. Try sending emails elsewhere ? to an @gmail.com maybe ?

Alternatively, have you tried nut ? it should be available in most
repo's. Does a fairly good job of sending emails from the command line (
and is what I tend to use )

Karanbir Singh : http://www.karan.org/ : 2522219 at icq