From owner-freebsd-questions@FreeBSD.ORG Wed Jan 12 03:52:45 2005 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 6E8D016A530 for ; Wed, 12 Jan 2005 03:52:45 +0000 (GMT) Received: from mta1p.point.ne.jp (mta1p.point.ne.jp [210.188.175.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id B54F043D31 for ; Wed, 12 Jan 2005 03:52:44 +0000 (GMT) (envelope-from pwd8jmr22w@me.point.ne.jp) Received: from vc12.point.ne.jp ([211.1.103.140]) by mta1p.point.ne.jp with ESMTP id <20050112035243.ETVI766.mta1p@vc12.point.ne.jp>; Wed, 12 Jan 2005 12:52:43 +0900 Received: from fvc2-p.point.ne.jp (fvc2.point.ne.jp [210.188.175.77]) by vc12.point.ne.jp (Scanmail) with ESMTP id 946042AA09; Wed, 12 Jan 2005 12:52:42 +0900 (JST) Received: from [192.168.0.3] ([218.230.55.49]) by fvc2-p.point.ne.jp with ESMTP id <20050112035242.FZNI178.fvc2-p@[218.230.55.49]>; Wed, 12 Jan 2005 12:52:42 +0900 From: Srot BULL To: freebsd-questions@freebsd.org In-Reply-To: <41E35380.90908@mac.com> References: <1105432346.638.31.camel@localhost> <41E314C0.1010502@mac.com> <1105435387.849.18.camel@localhost> <41E32005.2040403@mac.com> <20050111020445.GA3301@gothmog.gr> <41E35380.90908@mac.com> Content-Type: text/plain Date: Wed, 12 Jan 2005 12:52:19 +0000 Message-Id: <1105534339.2062.16.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.0.3 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Subject: Re: sendmail problem - Helo command rejected: Host not found X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: pwd8jmr22w@me.point.ne.jp List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Jan 2005 03:52:46 -0000 Hello again... On Mon, 2005-01-10 at 23:18 -0500, Chuck Swiger wrote: > Giorgos Keramidas wrote: > > On 2005-01-10 19:38, Chuck Swiger wrote: > [ ... ] > >>Go to /etc/mail. Edit freebsd.cf (look for SMART_HOST), point it at your > >>ISP's mail server. Do "make stop; make install; make start". > > > > FWIW, the file edited should be `freebsd.mc', not `freebsd.cf' otherwise > > a subsequent "make install" will overwrite the edited `freebsd.cf' file > > with a fresh copy generated from `freebsd.mc'. > > Err, yes, that's right. (I knew which file I meant. :-) > > Note that you can even copy freebsd.mc to hostname.mc, and the system will > find it for you so you don't have to change the default template file. The > Makefile explains this better than I did. I did edit the file /etc/mail/freebsd.mc and changed the line containing the SMART_HOST to define(`SMART_HOST', `me.point.ne.jp') and # cd /etc/mail/ # make stop # make install # make start Everything went well... I now have a r40e.point.ne.jp.mc and the all.. But, when I tried to send an Email to my yahoo.com account to test if it is working... Here is what came back to my InBox: The original message was received at Wed, 12 Jan 2005 12:34:41 GMT from localhost [127.0.0.1] ----- The following addresses had permanent fatal errors ----- (reason: 554 : Relay access denied) ----- Transcript of session follows ----- ... while talking to vc.point.ne.jp.: >>> DATA <<< 554 : Relay access denied 554 5.0.0 Service unavailable <<< 554 Error: no valid recipients It seems that I was not allowed to relay my email so I tried the archives and then I tried reading the README file at /usr/share/sendmail/cf/README and found something about: Providing SMTP AUTH Data when sendmail acts as Client ----------------------------------------------------- I read a little and did what I understood: 1) created a /etc/mail/authinfo file with the following AuthInfo:point.ne.jp "U:myusername" "I:myusername" "P:password" AuthInfo:me.point.ne.jp "U:myusername" "I:myusername" "P:password" Did a # cd /etc/mail/ # make stop # make install # make start No problems but still I can not send Emails using sendmail... Any hints...Or am I going the wrong direction here and probably messed my configuration badly now...?