From owner-freebsd-questions@FreeBSD.ORG Wed Jan 12 11:02:42 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 EE28216A4CF for ; Wed, 12 Jan 2005 11:02:42 +0000 (GMT) Received: from male.aldigital.co.uk (male.thebunker.net [213.129.64.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id 650A443D2F for ; Wed, 12 Jan 2005 11:02:41 +0000 (GMT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from gravitas.thebunker.net (gateway.ash.thebunker.net [213.129.64.4]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (No client certificate requested) by male.aldigital.co.uk (Postfix) with ESMTP id 1B197977C9; Wed, 12 Jan 2005 11:02:40 +0000 (GMT) Received: from [127.0.0.1] (localhost [127.0.0.1])j0CB2WBs037762; Wed, 12 Jan 2005 11:02:39 GMT (envelope-from m.seaman@infracaninophile.co.uk) Message-ID: <41E503C0.1020502@infracaninophile.co.uk> Date: Wed, 12 Jan 2005 11:02:24 +0000 From: Matthew Seaman Organization: Infracaninophile User-Agent: Mozilla Thunderbird 1.0 (X11/20041229) X-Accept-Language: en-us, en MIME-Version: 1.0 To: pwd8jmr22w@me.point.ne.jp 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> <1105534339.2062.16.camel@localhost> In-Reply-To: <1105534339.2062.16.camel@localhost> X-Enigmail-Version: 0.89.5.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigAC6AEF0CBB668F1F663008B0" cc: freebsd-questions@freebsd.org Subject: Re: sendmail problem - Helo command rejected: Host not found 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: Wed, 12 Jan 2005 11:02:43 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigAC6AEF0CBB668F1F663008B0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Srot BULL wrote: > 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...? No -- what you've done so far is fine. However there are several possible ways for your ISP to control access to their mail server and you'll need to talk to them to find out exactly what you should do. How did you manage to send the e-mail I'm replying to? I see from your message headers you're using the Evolution mail client, so presumably you've configured it to speak SMTP directly to the ISPs mail servers? What settings did you have to put into Evolution to make it work? It should be possible to deduce from that how to configure sendmail to work similarly, although it may take someone more familiar with Evolution than I am to join up all the dots. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 8 Dane Court Manor School Rd PGP: http://www.infracaninophile.co.uk/pgpkey Tilmanstone Tel: +44 1304 617253 Kent, CT14 0JL UK --------------enigAC6AEF0CBB668F1F663008B0 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iQCVAwUBQeUDyJr7OpndfbmCAQIjSwP/Q6395KMVV0mFzeSCBffQg5hvIsMUcSzG BMhO/+7JN7RBpWHcw1Bmc7+uS4EcdO0+k1YgJDtc+ZaZ1sx5lR6ATg5OjYGboJF5 XfnepEMnOCjd4dgzt9Cnfzh9iA8rmgTiT702vzJTGf8rFUZzPMCr2/hAZ5SkoRlD HGX+uff7cPE= =NJeJ -----END PGP SIGNATURE----- --------------enigAC6AEF0CBB668F1F663008B0--