From owner-freebsd-questions@FreeBSD.ORG Wed Jun 25 21:03:17 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 732B937B401 for ; Wed, 25 Jun 2003 21:03:17 -0700 (PDT) Received: from web40613.mail.yahoo.com (web40613.mail.yahoo.com [66.218.78.150]) by mx1.FreeBSD.org (Postfix) with SMTP id 0AA9E43FEA for ; Wed, 25 Jun 2003 21:03:17 -0700 (PDT) (envelope-from pjn0211@yahoo.com) Message-ID: <20030626040316.24118.qmail@web40613.mail.yahoo.com> Received: from [202.183.248.166] by web40613.mail.yahoo.com via HTTP; Thu, 26 Jun 2003 05:03:16 BST Date: Thu, 26 Jun 2003 05:03:16 +0100 (BST) From: =?iso-8859-1?q?Supote=20Leelasupphakorn?= To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: Help: can't send email from my box. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jun 2003 04:03:17 -0000 Hi, all I have tried below echo "this is my testing email" | mail -s "1st mail" me@mydomain.com but no luck. /var/log/maillog show me that to=me@mydomain.com, 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/