Hi, all

I have tried below

  echo "this is my testing email" | mail -s "1st mail" [EMAIL PROTECTED]

but no luck. /var/log/maillog show me that 

[EMAIL PROTECTED], ctladdr=pjn (1001/1001), delay=00:00:00, xdelay=00:00:00,
mailer=relay, pri=30040, relay=localhost.mytestdomain.com [],
dsn=4.0.0, stat=Deferred: Connection refused by localhost.mytestdomain.com

My question are
1. Is it possible for sending emails from the host that hasn't run "sendmail"
on it.
2. It seem "mail" try to connect SMTP on localhost.mytestdomain.com.  If I want
"mail" connect to SMTP on the remote host (@mydomain.com's mail server),  or
say I want to change my "outgoing mail host". How can I do this ?

Thanks in advance,

Want to chat instantly with your online friends?  Get the FREE Yahoo!
Messenger http://uk.messenger.yahoo.com/
[EMAIL PROTECTED] mailing list
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to