Re: Help: can't send email from my box.

2003-06-26 Thread Chuck Swiger
Supote Leelasupphakorn wrote:
[ ... ]
My question are
1. Is it possible for sending emails from the host that hasn't run sendmail
on it.
Sure, but you will have to use a program like pine or Mozilla, which lets you 
configure it to use a remote SMTP host.

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 ?
The command-line mail program expects sendmail to be working locally; I don't 
believe you can tell it not to connect to localhost.

To change your default mail host, look for the SMART_HOST directive in 
/etc/mail/freebsd.mc...

--
-Chuck
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Help: can't send email from my box.

2003-06-25 Thread Supote Leelasupphakorn
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 [127.0.0.1],
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
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]