Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Jan 2005 22:21:01 -0600
From:      Eric F Crist <ecrist@secure-computing.net>
To:        pwd8jmr22w@me.point.ne.jp
Cc:        freebsd-questions@freebsd.org
Subject:   Re: sendmail problem - Helo command rejected: Host not found
Message-ID:  <5DE83C55-6451-11D9-AA96-000D9333E43C@secure-computing.net>
In-Reply-To: <1105534339.2062.16.camel@localhost>
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>

next in thread | previous in thread | raw e-mail | index | archive | help

--Apple-Mail-2-494926320
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII; format=flowed

On Jan 12, 2005, at 6:52 AM, Srot BULL wrote:
>
> 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 -----
> <srotbull@yahoo.com>
>     (reason: 554 <srotbull@yahoo.com>: Relay access denied)
>
>    ----- Transcript of session follows -----
> ... while talking to vc.point.ne.jp.:
>>>> DATA
> <<< 554 <srotbull@yahoo.com>: 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...?

Try editing the /etc/mail/sendmail.cf file and search for a line that 
starts with LogLevel.  By default, IIRC, it's set to 9.  Change this to 
25, and from /etc/mail type make restart. (Don't make/make install as 
you're loglevel will be reset.

Try sending an email.  As soon as you're client is done, go to the 
server and type:

# tail -n 50 /var/log/maillog

You should see some information regarding the authentication and if 
there were any errors or not.

HTH
_______________________________________________________
Eric F Crist                  "I am so smart, S.M.R.T!"
Secure Computing Networks              -Homer J Simpson

--Apple-Mail-2-494926320
content-type: application/pgp-signature; x-mac-type=70674453;
	name=PGP.sig
content-description: This is a digitally signed message part
content-disposition: inline; filename=PGP.sig
content-transfer-encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iEYEARECAAYFAkHkpa0ACgkQRAAY9knOW+r7NwCeKPDtlMuyHQTNnNCnSivxAF13
rw8An0x4ay+sT2USIDTBXqHl/QsuyvuU
=SeXV
-----END PGP SIGNATURE-----

--Apple-Mail-2-494926320--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5DE83C55-6451-11D9-AA96-000D9333E43C>